Add asynchronous executor service SPI
commitd8f386910481b8519d30ada78cec1369e51f1bfa
authorImran M Yousuf <imyousuf@smartitengineering.com>
Thu, 26 Aug 2010 03:49:52 +0000 (26 09:49 +0600)
committerImran M Yousuf <imyousuf@smartitengineering.com>
Thu, 26 Aug 2010 03:49:52 +0000 (26 09:49 +0600)
tree6a8f64a30805459b70bff9ec456ce34bd0e01a4e
parent6211a1dd72282f03468f778e79de7ce98bfc6f19
Add asynchronous executor service SPI

The main purpose of the SPI is to be able to execute HBase requests in a
background thread.

There are 2 implementations tagged along with the SPI,
AsynchronousExectuorServiceImpl - Does both execution in background thread
MixedExectorServiceImpl - Does execute synchronously and executeAsynchro..
  asynchronously.
They can be interchangeably.

Signed-off-by: Imran M Yousuf <imyousuf@smartitengineering.com>
smart-hbase-dao/src/main/java/com/smartitengineering/dao/impl/hbase/spi/AsyncExecutorService.java [new file with mode: 0644]
smart-hbase-dao/src/main/java/com/smartitengineering/dao/impl/hbase/spi/impl/AsynchronousExecutorServiceImpl.java [new file with mode: 0644]
smart-hbase-dao/src/main/java/com/smartitengineering/dao/impl/hbase/spi/impl/MixedExecutorServiceImpl.java [new file with mode: 0644]