org.multiverse.transactional.nonblocking
Class NonBlockingTaskThreadPoolExecutor

java.lang.Object
  extended by 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.

Nested Class Summary
 class NonBlockingTaskThreadPoolExecutor.Worker
           
 
Constructor Summary
NonBlockingTaskThreadPoolExecutor(int threadCount)
           
NonBlockingTaskThreadPoolExecutor(TransactionSelector selector, int threadCount)
           
 
Method Summary
 void execute(NonBlockingTask task)
          Executes a NonBlockingTask.
 boolean isShutdown()
           
 boolean isTerminated()
           
 void shutdown()
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonBlockingTaskThreadPoolExecutor

public NonBlockingTaskThreadPoolExecutor(int threadCount)

NonBlockingTaskThreadPoolExecutor

public NonBlockingTaskThreadPoolExecutor(TransactionSelector selector,
                                         int threadCount)
Method Detail

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.