rice.rm.testing
Class DistRMRegrTestApp
java.lang.Object
|
+--rice.pastry.client.PastryAppl
|
+--rice.pastry.client.CommonAPIAppl
|
+--rice.rm.testing.RMRegrTestApp
|
+--rice.rm.testing.DistRMRegrTestApp
- All Implemented Interfaces:
- MessageReceiver, RMClient
- public class DistRMRegrTestApp
- extends RMRegrTestApp
- Version:
- $Id: DistRMRegrTestApp.java,v 1.4 2003/05/11 22:05:38 animesh Exp $
- Author:
- Animesh Nandi
Constructor Summary |
DistRMRegrTestApp(rice.pastry.PastryNode pn,
rice.pastry.security.Credentials cred,
boolean firstNodeInSystem,
java.lang.String instance)
|
Method Summary |
rice.pastry.Id |
generateTopicId(java.lang.String topicName)
|
void |
rmIsReady(rice.rm.RM rm)
This upcall is simply to denote that the underlying replica manager
(rm) is ready. |
Methods inherited from class rice.rm.testing.RMRegrTestApp |
checkPassed, clearRefreshedKeys, deliver, fetch, getCredentials, getLocalHandle, getPastryNode, getPendingObject, heartbeat, isResponsible, periodicMaintenance, printRange, refresh, remove, removePendingObject, replicate, replicateSuccess, scan, store |
Methods inherited from class rice.pastry.client.CommonAPIAppl |
forward, leafSetChange, localLookup, messageForAppl, neighborSet, notifyReady, range, range, receiveMessage, replicaSet, route, update |
Methods inherited from class rice.pastry.client.PastryAppl |
enrouteMessage, getAddress, getLeafSet, getNodeHandle, getNodeId, getRoutingTable, isClosest, registerReceiver, routeMsg, routeMsgDirect, routeSetChange, sendMessage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_firstNodeInSystem
public boolean m_firstNodeInSystem
insertionFreq
public static int insertionFreq
numObjectsInPeriod
public static int numObjectsInPeriod
numObjects
public static int numObjects
refreshFreq
public static int refreshFreq
refreshStart
public static int refreshStart
checkFreq
public static int checkFreq
checkStart
public static int checkStart
numReplicated
public int numReplicated
numRefreshed
public int numRefreshed
m_objectInsertionMsg
public rice.pastry.ScheduledMessage m_objectInsertionMsg
DistRMRegrTestApp
public DistRMRegrTestApp(rice.pastry.PastryNode pn,
rice.pastry.security.Credentials cred,
boolean firstNodeInSystem,
java.lang.String instance)
rmIsReady
public void rmIsReady(rice.rm.RM rm)
- Description copied from interface:
RMClient
- This upcall is simply to denote that the underlying replica manager
(rm) is ready. The 'rm' should henceforth be used by this RMClient
to issue the downcalls on the RM interface.
- Specified by:
rmIsReady
in interface RMClient
- Overrides:
rmIsReady
in class RMRegrTestApp
- Parameters:
rm
- the instance of the Replica Manager
generateTopicId
public rice.pastry.Id generateTopicId(java.lang.String topicName)
Copyright © 2001 - Rice Pastry.