org.jboss.cache
Class ReplicationQueue
java.lang.Object
org.jboss.cache.ReplicationQueue
- public class ReplicationQueue
- extends java.lang.Object
Periodically (or when certain size is exceeded) takes elements and replicates them.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReplicationQueue
public ReplicationQueue()
ReplicationQueue
public ReplicationQueue(TreeCache (src) cache,
long interval,
long max_elements)
getInterval
public long getInterval()
setInterval
public void setInterval(long interval)
getMax_elements
public long getMax_elements()
setMax_elements
public void setMax_elements(long max_elements)
start
public void start()
stop
public void stop()
add
public void add(MethodCall job)
flush
public void flush()