@Deprecated public interface ReplicationQueue extends Lifecycle
Modifier and Type | Method and Description |
---|---|
void |
add(ReplicableCommand job)
Deprecated.
Adds a new command to the replication queue.
|
int |
flush()
Deprecated.
Flushes existing jobs in the replication queue, and returns the number of jobs flushed.
|
int |
getElementsCount()
Deprecated.
|
boolean |
isEnabled()
Deprecated.
|
void |
reset()
Deprecated.
Resets the replication queue, typically used when a cache is restarted.
|
boolean isEnabled()
void add(ReplicableCommand job)
job
- command to add to the queueint flush()
int getElementsCount()
void reset()
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.