org.multiverse.transactional.nonblocking
Class NonBlockingTaskThreadPoolExecutor
java.lang.Object
org.multiverse.transactional.nonblocking.NonBlockingTaskThreadPoolExecutor
- All Implemented Interfaces:
- NonBlockingTransactionExecutor
public class NonBlockingTaskThreadPoolExecutor
- extends java.lang.Object
- implements NonBlockingTransactionExecutor
Waarom zou je meer transacties willen? Ivm blocking van transaction. Atm heeft iedere transactie zijn eigen thread
nodig. Maar kan een thread ook meerdere transacties verwerken?
Problems
-
- Author:
- Peter Veentjer.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NonBlockingTaskThreadPoolExecutor
public NonBlockingTaskThreadPoolExecutor(int threadCount)
NonBlockingTaskThreadPoolExecutor
public NonBlockingTaskThreadPoolExecutor(TransactionSelector selector,
int threadCount)
isShutdown
public boolean isShutdown()
isTerminated
public boolean isTerminated()
start
public void start()
shutdown
public void shutdown()
execute
public void execute(NonBlockingTask task)
- Description copied from interface:
NonBlockingTransactionExecutor
- Executes a NonBlockingTask.
- Specified by:
execute in interface NonBlockingTransactionExecutor
Copyright © 2008-2010 Multiverse. All Rights Reserved.