org.terracotta.modules.ehcache.store.bulkload
Class BulkLoadEnabledNodesSet

java.lang.Object
  extended by org.terracotta.modules.ehcache.store.bulkload.BulkLoadEnabledNodesSet

public class BulkLoadEnabledNodesSet
extends Object


Constructor Summary
protected BulkLoadEnabledNodesSet(org.terracotta.toolkit.internal.ToolkitInternal toolkit, String name, StoreListener listener)
           
 
Method Summary
 void addCurrentNode()
          Add the current node in the bulk-load enabled nodes set
 void disposeLocally()
           
 boolean isBulkLoadEnabledInCluster()
           
 void removeCurrentNode()
          Remove the current node from the bulk-load enabled nodes set
 void waitUntilSetEmpty()
          Wait until the bulk-load enabled nodes set is empty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BulkLoadEnabledNodesSet

protected BulkLoadEnabledNodesSet(org.terracotta.toolkit.internal.ToolkitInternal toolkit,
                                  String name,
                                  StoreListener listener)
Method Detail

addCurrentNode

public void addCurrentNode()
Add the current node in the bulk-load enabled nodes set


removeCurrentNode

public void removeCurrentNode()
Remove the current node from the bulk-load enabled nodes set


waitUntilSetEmpty

public void waitUntilSetEmpty()
                       throws InterruptedException
Wait until the bulk-load enabled nodes set is empty

Throws:
InterruptedException

isBulkLoadEnabledInCluster

public boolean isBulkLoadEnabledInCluster()

disposeLocally

public void disposeLocally()


Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.