org.terracotta.modules.async
Class ProcessingBucketGroup<I>
java.lang.Object
org.terracotta.modules.async.ProcessingBucketGroup<I>
- All Implemented Interfaces:
- com.tc.cluster.DsoClusterListener
public class ProcessingBucketGroup<I>
- extends Object
- implements com.tc.cluster.DsoClusterListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessingBucketGroup
public ProcessingBucketGroup(AsyncConfig config,
StealPolicy<I> policy)
ProcessingBucketGroup
public ProcessingBucketGroup(com.tc.cluster.DsoCluster cluster,
AsyncConfig config,
StealPolicy<I> policy)
getConfig
public AsyncConfig getConfig()
start
public void start(ProcessingBucket<I> bucket)
throws ExistingRunningThreadException
- Throws:
ExistingRunningThreadException
stop
public void stop()
nodeJoined
public void nodeJoined(com.tc.cluster.DsoClusterEvent event)
- Specified by:
nodeJoined in interface com.tc.cluster.DsoClusterListener
nodeLeft
public void nodeLeft(com.tc.cluster.DsoClusterEvent event)
- Specified by:
nodeLeft in interface com.tc.cluster.DsoClusterListener
operationsDisabled
public void operationsDisabled(com.tc.cluster.DsoClusterEvent event)
- Specified by:
operationsDisabled in interface com.tc.cluster.DsoClusterListener
operationsEnabled
public void operationsEnabled(com.tc.cluster.DsoClusterEvent event)
- Specified by:
operationsEnabled in interface com.tc.cluster.DsoClusterListener
Copyright © 2010 Terracotta, Inc.. All Rights Reserved.