|
||||||||||
| 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. |
void |
flush()
Flushes existing jobs in the replication queue. |
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 queuevoid flush()
int getElementsCount()
void reset()
|
Google Analytics | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||