Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.cache
Class ReplicationQueue

    java.lang.Object
      org.jboss.cache.ReplicationQueue

public class ReplicationQueue
extends Object

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

Version:
  $Revision: 1.7.4.1 $
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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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