org.terracotta.modules.async
Class ProcessingBucket<I>
java.lang.Object
org.terracotta.modules.async.ProcessingBucket<I>
public class ProcessingBucket<I>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessingBucket
public ProcessingBucket(ItemProcessor<I> processor)
ProcessingBucket
public ProcessingBucket(ItemProcessor<I> processor,
AsyncErrorHandler errorHandler)
ProcessingBucket
public ProcessingBucket(com.tc.cluster.DsoCluster cluster,
ItemProcessor<I> processor,
AsyncErrorHandler errorHandler)
getLastProcessing
public long getLastProcessing()
setQuarantinedItemsFilter
public void setQuarantinedItemsFilter(QuarantinedItemsFilter<I> filter)
getWaitCount
public int getWaitCount()
getQuarantinedCount
public int getQuarantinedCount()
stop
public void stop()
add
public void add(I item)
setThreadName
public void setThreadName(String name)
throws ExistingRunningThreadException
- Throws:
ExistingRunningThreadException
getThreadName
public String getThreadName()
addListener
public void addListener(ProcessingBucketListener listener)
removeListener
public void removeListener(ProcessingBucketListener listener)
Copyright © 2010 Terracotta, Inc.. All Rights Reserved.