站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 Cache API Documentation 英文版文档

ReplicationQueue (JBoss Cache API) - JBoss 3.2.7 Cache API Documentation 英文版文档


org.jboss.cache
Class ReplicationQueue

java.lang.Object
  extended byorg.jboss.cache.ReplicationQueue

public class ReplicationQueue
extends Object

Periodically (or when certain size is exceeded) takes elements and replicates them.

Version:
$Revision: 1.3.4.6 $
Author:
Bela Ban May 24, 2003

Nested Class Summary
 class ReplicationQueue.MyTask
           
 
Constructor Summary
ReplicationQueue()
           
ReplicationQueue(TreeCache cache, long interval, long max_elements)
           
 
Method Summary
 void add(org.jgroups.blocks.MethodCall job)
           
 void flush()
           
 long getInterval()
           
 long getMax_elements()
           
 void setInterval(long interval)
           
 void setMax_elements(long max_elements)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicationQueue

public ReplicationQueue()

ReplicationQueue

public ReplicationQueue(TreeCache cache,
                        long interval,
                        long max_elements)
Method Detail

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(org.jgroups.blocks.MethodCall job)

flush

public void flush()


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.