|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReplicationQueue
Periodically (or when certain size is exceeded) takes elements and replicates them.
Method Summary | |
---|---|
void |
add(ReplicableCommand job)
Adds a new command to the replication queue. |
int |
flush()
Flushes existing jobs in the replication queue, and returns the number of jobs flushed. |
int |
getElementsCount()
|
boolean |
isEnabled()
|
void |
reset()
Resets the replication queue, typically used when a cache is restarted. |
Methods inherited from interface org.infinispan.lifecycle.Lifecycle |
---|
start, stop |
Method Detail |
---|
boolean isEnabled()
void add(ReplicableCommand job)
job
- command to add to the queueint flush()
int getElementsCount()
void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |