|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.infinispan.remoting.ReplicationQueue
public class ReplicationQueue
Periodically (or when certain size is exceeded) takes elements and replicates them.
Constructor Summary | |
---|---|
ReplicationQueue()
|
Method Summary | |
---|---|
void |
add(ReplicableCommand job)
Adds a new method call. |
void |
flush()
Flushes existing method calls. |
int |
getElementsCount()
|
boolean |
isEnabled()
|
void |
reset()
|
void |
start()
Starts the asynchronous flush queue. |
void |
stop()
Stops the asynchronous flush queue. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReplicationQueue()
Method Detail |
---|
public boolean isEnabled()
public void start()
public void stop()
public void add(ReplicableCommand job)
public void flush()
public int getElementsCount()
public void reset()
|
Google Analytics | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |