|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.cache.cluster.ReplicationQueue
public class ReplicationQueue
Periodically (or when certain size is exceeded) takes elements and replicates them.
Constructor Summary | |
---|---|
ReplicationQueue()
|
Method Summary | |
---|---|
void |
add(ReplicateCommand job)
Adds a new method call. |
void |
flush()
Flushes existing method calls. |
boolean |
isEnabled()
|
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(ReplicateCommand job)
public void flush()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |