org.codehaus.wadi.impl
Class MemoryReplicater

java.lang.Object
  extended byorg.codehaus.wadi.impl.MemoryReplicater
All Implemented Interfaces:
Replicater

public class MemoryReplicater
extends Object
implements Replicater


Field Summary
protected  Log _log
           
protected  Map _replicants
           
protected  int numReplicants
           
 
Constructor Summary
MemoryReplicater(int numReplicants)
           
 
Method Summary
 void create(Object tmp)
           
 void destroy(Object tmp)
           
 boolean getReusingStore()
           
 void insert(String key, Object tmp)
           
 void nodeDied(Node node)
           
 void remove(String key)
           
 void replicate(String key, Object value)
           
 void update(Object tmp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_log

protected final Log _log

numReplicants

protected int numReplicants

_replicants

protected Map _replicants
Constructor Detail

MemoryReplicater

public MemoryReplicater(int numReplicants)
Method Detail

create

public void create(Object tmp)
Specified by:
create in interface Replicater

update

public void update(Object tmp)
Specified by:
update in interface Replicater

destroy

public void destroy(Object tmp)
Specified by:
destroy in interface Replicater

getReusingStore

public boolean getReusingStore()
Specified by:
getReusingStore in interface Replicater

insert

public void insert(String key,
                   Object tmp)

replicate

public void replicate(String key,
                      Object value)

remove

public void remove(String key)

nodeDied

public void nodeDied(Node node)


Copyright © 2004-2008 Core Developers Network Ltd.. All Rights Reserved.