Rice Pastry API

Uses of Interface
rice.p2p.commonapi.Id

Packages that use Id
rice.p2p.aggregation   
rice.p2p.aggregation.messaging   
rice.p2p.aggregation.raw   
rice.p2p.commonapi   
rice.p2p.glacier   
rice.p2p.glacier.v2   
rice.p2p.glacier.v2.messaging   
rice.p2p.multiring   
rice.p2p.multiring.testing   
rice.p2p.past   
rice.p2p.past.gc   
rice.p2p.past.gc.messaging   
rice.p2p.past.gc.rawserialization   
rice.p2p.past.messaging   
rice.p2p.past.rawserialization   
rice.p2p.past.testing   
rice.p2p.replication   
rice.p2p.replication.manager   
rice.p2p.replication.manager.messaging   
rice.p2p.replication.manager.testing   
rice.p2p.replication.messaging   
rice.p2p.replication.testing   
rice.p2p.scribe   
rice.p2p.scribe.messaging   
rice.p2p.scribe.testing   
rice.p2p.splitstream   
rice.p2p.splitstream.testing   
rice.p2p.util   
rice.p2p.util.testing   
rice.pastry   
rice.pastry.commonapi   
rice.pastry.leafset   
rice.pastry.routing   
rice.pastry.socket.appsocket.testing   
rice.pastry.testing   
rice.persistence   
rice.persistence.testing   
rice.tutorial.appsocket   
rice.tutorial.direct   
rice.tutorial.forwarding   
rice.tutorial.gtitm   
rice.tutorial.lesson3   
rice.tutorial.lesson4   
rice.tutorial.lesson5   
rice.tutorial.lesson6   
rice.tutorial.lesson7   
rice.tutorial.rawserialization   
rice.tutorial.rawserialization2   
rice.tutorial.splitstream   
 

Uses of Id in rice.p2p.aggregation
 

Fields in rice.p2p.aggregation declared as Id
protected  Id AggregateHandle.id
           
 Id ObjectDescriptor.key
           
protected  Id Aggregate.myId
           
protected  Id[] Aggregate.pointers
           
protected  Id AggregateList.rootKey
           
 

Methods in rice.p2p.aggregation that return Id
 Id Aggregate.getId()
           
 Id AggregateHandle.getId()
           
 Id[] Aggregate.getPointers()
           
 Id AggregateList.getRoot()
           
 Id[] AggregateList.getSomePointers(int referenceThreshold, int max, Id[] excludes)
           
 

Methods in rice.p2p.aggregation with parameters of type Id
 Aggregate AggregateFactory.buildAggregate(GCPastContent[] components, Id[] pointers)
           
 Aggregate JavaSerializedAggregateFactory.buildAggregate(GCPastContent[] components, Id[] pointers)
           
 Aggregate AggregateFactory.buildAggregate(RawGCPastContent[] components, Id[] pointers)
           
 Aggregate JavaSerializedAggregateFactory.buildAggregate(RawGCPastContent[] components, Id[] pointers)
           
 PastContent Aggregate.checkInsert(Id id, PastContent existingContent)
           
 void AggregationImpl.deliver(Id id, Message message)
           
 void Aggregation.flush(Id id, Continuation command)
          Creates an aggregate that includes the most current object with the specified key.
 void AggregationImpl.flush(Id id, Continuation command)
           
 rice.p2p.aggregation.AggregateDescriptor AggregateList.getADC(Id id)
           
 Id[] AggregateList.getSomePointers(int referenceThreshold, int max, Id[] excludes)
           
 void AggregationImpl.lookup(Id id, boolean cache, Continuation command)
           
 void Moraine.lookup(Id id, boolean cache, Continuation command)
           
 void AggregationImpl.lookup(Id id, Continuation command)
           
 void Moraine.lookup(Id id, Continuation command)
           
 void AggregationImpl.lookup(Id id, long version, Continuation command)
           
 void Moraine.lookup(Id id, long version, Continuation command)
           
 void AggregationImpl.lookupHandle(Id id, NodeHandle handle, Continuation command)
           
 void Moraine.lookupHandle(Id id, NodeHandle handle, Continuation command)
           
 void AggregationImpl.lookupHandles(Id id, int max, Continuation command)
           
 void Moraine.lookupHandles(Id id, int max, Continuation command)
           
 void AggregationImpl.lookupHandles(Id id, long version, int max, Continuation command)
           
 void Moraine.lookupHandles(Id id, long version, int num, Continuation command)
           
 void AggregateList.recalculateReferenceCounts(Id[] excludes)
           
 void AggregationImpl.refresh(Id[] ids, long[] expirations, Continuation command)
           
 void Moraine.refresh(Id[] ids, long[] expirations, Continuation command)
           
 void AggregationImpl.refresh(Id[] ids, long[] versions, long[] expirations, Continuation command)
           
 void Moraine.refresh(Id[] ids, long[] versions, long[] expirations, Continuation command)
           
 void AggregationImpl.refresh(Id[] ids, long expiration, Continuation command)
           
 void Moraine.refresh(Id[] ids, long expiration, Continuation command)
           
 void Aggregation.rollback(Id id, Continuation command)
          Attempts to retrieve the most recent object that has been inserted by the local node under the specified key.
 void AggregationImpl.rollback(Id id, Continuation command)
           
 void Aggregate.setId(Id myId)
           
 void AggregateList.setRoot(Id root)
           
 

Constructors in rice.p2p.aggregation with parameters of type Id
Aggregate(GCPastContent[] components, Id[] pointers)
           
AggregateHandle(NodeHandle handle, Id id, long version, long expiration)
           
ObjectDescriptor(Id key, long version, long currentLifetime, long refreshedLifetime, int size)
           
 

Uses of Id in rice.p2p.aggregation.messaging
 

Fields in rice.p2p.aggregation.messaging declared as Id
protected  Id AggregationMessage.dest
           
 

Methods in rice.p2p.aggregation.messaging that return Id
 Id AggregationMessage.getDestination()
          Method which returns this messages' destination address
 Id NonAggregate.getId()
           
 

Methods in rice.p2p.aggregation.messaging with parameters of type Id
 PastContent NonAggregate.checkInsert(Id id, PastContent existingContent)
           
 

Constructors in rice.p2p.aggregation.messaging with parameters of type Id
AggregationMessage(int id, NodeHandle source, Id dest)
          Constructor which takes a unique integer Id
 

Uses of Id in rice.p2p.aggregation.raw
 

Methods in rice.p2p.aggregation.raw with parameters of type Id
 Aggregate RawAggregateFactory.buildAggregate(GCPastContent[] components, Id[] pointers)
           
 Aggregate RawAggregateFactory.buildAggregate(RawGCPastContent[] components, Id[] pointers)
           
 

Constructors in rice.p2p.aggregation.raw with parameters of type Id
RawAggregate(GCPastContent[] components, Id[] pointers)
           
RawAggregate(RawGCPastContent[] components, Id[] pointers)
           
 

Uses of Id in rice.p2p.commonapi
 

Methods in rice.p2p.commonapi that return Id
 Id Id.addToId(Id.Distance offset)
          Returns an Id corresponding to this Id plus a given distance
 Id[] IdSet.asArray()
          return this set as an array
 Id IdFactory.buildId(byte[] material)
          Builds a protocol-specific Id given the source data.
 Id IdFactory.buildId(int[] material)
          Builds a protocol-specific Id given the source data.
 Id IdFactory.buildId(java.lang.String string)
          Builds a protocol-specific Id by using the hash of the given string as source data.
 Id IdFactory.buildIdFromToString(char[] chars, int offset, int length)
          Builds an Id by converting the given toString() output back to an Id.
 Id IdFactory.buildIdFromToString(java.lang.String string)
          Builds an Id by converting the given toString() output back to an Id.
 Id IdFactory.buildRandomId(java.util.Random rng)
          Builds a random protocol-specific Id.
 Id IdFactory.buildRandomId(RandomSource rng)
           
 Id IdRange.getCCWId()
          get counterclockwise edge of range
 Id IdRange.getCWId()
          get clockwise edge of range
 Id RouteMessage.getDestinationId()
          Returns the destination Id for this message
 Id Endpoint.getId()
          Returns this node's id, which is its identifier in the namespace.
 Id Node.getId()
          Returns the Id of this node
abstract  Id NodeHandle.getId()
          Returns this node's id.
 Id Endpoint.readId(InputBuffer buf, short type)
          To use a more efficient serialization format than Java Serialization
 

Methods in rice.p2p.commonapi with parameters of type Id
 void IdSet.addId(Id id)
          add a member
 IdRange IdFactory.buildIdRange(Id cw, Id ccw)
          Creates an IdRange given the CW and CCW ids.
 boolean Id.clockwise(Id nid)
          Checks to see if the Id nid is clockwise or counterclockwise from this, on the ring.
 boolean IdRange.containsId(Id key)
          test if a given key lies within this range
 void Application.deliver(Id id, Message message)
          This method is called on the application at the destination node for the given id.
 Id.Distance Id.distanceFromId(Id nid)
          Returns the shorter numerical distance on the ring between a pair of Ids.
 NodeHandle NodeHandleSet.getHandle(Id id)
          Finds the NodeHandle associated with the NodeId.
 int NodeHandleSet.getIndexHandle(Id id)
          Gets the index of the element with the given node id.
 boolean Id.isBetween(Id ccw, Id cw)
          Checks if this Id is between two given ids ccw (inclusive) and cw (exclusive) on the circle
 boolean IdSet.isMemberId(Id id)
          test membership
 NodeHandleSet Endpoint.localLookup(Id id, int num, boolean safe)
          This call produces a list of nodes that can be used as next hops on a route towards the given id, such that the resulting route satisfies the overlay protocol's bounds on the number of hops taken.
 Id.Distance Id.longDistanceFromId(Id nid)
          Returns the longer numerical distance on the ring between a pair of Ids.
 boolean NodeHandleSet.memberHandle(Id id)
          Verifies if the set contains this particular id.
 IdRange Endpoint.range(NodeHandle handle, int rank, Id lkey)
          This operation provides information about ranges of keys for which the node is currently a rank-root.
 IdRange Endpoint.range(NodeHandle handle, int rank, Id lkey, boolean cumulative)
          This operation provides information about ranges of keys for which the node is currently a rank-root.
 NodeHandle NodeHandleSet.removeHandle(Id id)
          Removes a node id and its handle from the set.
 void IdSet.removeId(Id id)
          remove a member
 NodeHandleSet Endpoint.replicaSet(Id id, int maxRank)
          This method returns an ordered set of nodehandles on which replicas of an object with a given id can be stored.
 NodeHandleSet Endpoint.replicaSet(Id id, int maxRank, NodeHandle root, NodeHandleSet set)
          This methods returns an ordered set of nodehandles on which replicas of an object with a given id can be stored.
 void Endpoint.route(Id id, Message message, NodeHandle hint)
          This method makes an attempt to route the message to the root of the given id.
 void Endpoint.route(Id id, RawMessage message, NodeHandle hint)
          Same as the other call, but uses the Raw serialization rather than java serialization.
 void RouteMessage.setDestinationId(Id id)
          Sets the destination Id for this message
 

Uses of Id in rice.p2p.glacier
 

Classes in rice.p2p.glacier that implement Id
 class FragmentKey
          DESCRIBE THE CLASS
 class VersionKey
          DESCRIBE THE CLASS
 

Fields in rice.p2p.glacier declared as Id
protected  Id VersionKey.id
          DESCRIBE THE FIELD
 

Methods in rice.p2p.glacier that return Id
 Id FragmentKey.addToId(Id.Distance offset)
          Adds a feature to the ToId attribute of the FragmentKey object
 Id VersionKey.addToId(Id.Distance offset)
           
 Id[] FragmentKeySet.asArray()
          return this set as an array
 Id[] VersionKeySet.asArray()
          return this set as an array
 Id FragmentKeyFactory.buildId(byte[] material)
          DESCRIBE THE METHOD
 Id VersionKeyFactory.buildId(byte[] material)
          DESCRIBE THE METHOD
 Id FragmentKeyFactory.buildId(int[] material)
          Builds a protocol-specific Id given the source data.
 Id VersionKeyFactory.buildId(int[] material)
          Builds a protocol-specific Id given the source data.
 Id FragmentKeyFactory.buildId(java.lang.String string)
          Builds a protocol-specific Id by using the hash of the given string as source data.
 Id VersionKeyFactory.buildId(java.lang.String string)
          Builds a protocol-specific Id by using the hash of the given string as source data.
 Id FragmentKeyFactory.buildIdFromToString(char[] chars, int offset, int length)
           
 Id VersionKeyFactory.buildIdFromToString(char[] chars, int offset, int length)
           
 Id FragmentKeyFactory.buildIdFromToString(java.lang.String string)
          DESCRIBE THE METHOD
 Id VersionKeyFactory.buildIdFromToString(java.lang.String string)
          DESCRIBE THE METHOD
 Id FragmentKeyFactory.buildRandomId(java.util.Random rng)
          Builds a random protocol-specific Id.
 Id VersionKeyFactory.buildRandomId(java.util.Random rng)
          Builds a random protocol-specific Id.
 Id FragmentKeyFactory.buildRandomId(RandomSource rng)
           
 Id VersionKeyFactory.buildRandomId(RandomSource rng)
           
 Id FragmentKeyRange.getCCWId()
          get counterclockwise edge of range
 Id VersionKeyRange.getCCWId()
          get counterclockwise edge of range
 Id FragmentKeyRange.getCWId()
          get clockwise edge of range
 Id VersionKeyRange.getCWId()
          get clockwise edge of range
 Id VersionKey.getId()
          Gets the Id attribute of the VersionKey object
 

Methods in rice.p2p.glacier with parameters of type Id
 void FragmentKeySet.addId(Id id)
          add a member
 void VersionKeySet.addId(Id id)
          add a member
 void FragmentKeySet.addMember(Id id)
          add a member
 void VersionKeySet.addMember(Id id)
          add a member
 IdRange FragmentKeyFactory.buildIdRange(Id cw, Id ccw)
          Creates an IdRange given the CW and CCW ids.
 IdRange VersionKeyFactory.buildIdRange(Id cw, Id ccw)
          Creates an IdRange given the CW and CCW ids.
 boolean FragmentKey.clockwise(Id nid)
          DESCRIBE THE METHOD
 boolean VersionKey.clockwise(Id nid)
           
 boolean FragmentKeyRange.containsId(Id key)
          test if a given key lies within this range
 boolean VersionKeyRange.containsId(Id key)
          test if a given key lies within this range
 Id.Distance FragmentKey.distanceFromId(Id nid)
          DESCRIBE THE METHOD
 Id.Distance VersionKey.distanceFromId(Id nid)
           
 boolean FragmentKey.isBetween(Id ccw, Id cw)
          Gets the Between attribute of the FragmentKey object
 boolean VersionKey.isBetween(Id ccw, Id cw)
           
 boolean FragmentKeySet.isMember(Id id)
          test membership
 boolean VersionKeySet.isMember(Id id)
          test membership
 boolean FragmentKeySet.isMemberId(Id id)
          test membership
 boolean VersionKeySet.isMemberId(Id id)
          test membership
 Id.Distance FragmentKey.longDistanceFromId(Id nid)
          DESCRIBE THE METHOD
 Id.Distance VersionKey.longDistanceFromId(Id nid)
           
 void VersioningPast.lookup(Id id, long version, Continuation command)
          Retrieves the object stored in this instance of Past with the given ID and the specified version.
 void VersioningPast.lookupHandles(Id id, long version, int num, Continuation command)
          Retrieves the handles of up to max replicas of the object stored in this instance of Past with the given ID.
 void VersioningPast.refresh(Id[] ids, long[] versions, long[] expirations, Continuation command)
          Updates the objects stored under the provided keys id to expire no earlier than the provided expiration time.
 void FragmentKeySet.removeId(Id id)
          remove a member
 void VersionKeySet.removeId(Id id)
          remove a member
 void FragmentKeySet.removeMember(Id id)
          remove a member
 void VersionKeySet.removeMember(Id id)
          remove a member
 FragmentKeySet FragmentKeySet.subSet(Id from, Id to)
          return a subset of this set, consisting of the member ids in a given range
 VersionKeySet VersionKeySet.subSet(Id from, Id to)
          return a subset of this set, consisting of the member ids in a given range
 

Constructors in rice.p2p.glacier with parameters of type Id
VersionKey(Id id, long version)
          Constructor for VersionKey.
 

Uses of Id in rice.p2p.glacier.v2
 

Fields in rice.p2p.glacier.v2 declared as Id
protected  Id GlacierContentHandle.id
           
protected  Id DebugContent.myId
           
protected  Id DebugContentHandle.myId
           
 

Methods in rice.p2p.glacier.v2 that return Id
 Id DebugContent.getId()
           
 Id DebugContentHandle.getId()
           
 Id GlacierContentHandle.getId()
           
 Id[][] GlacierImpl.getNeighborRanges()
           
 

Methods in rice.p2p.glacier.v2 with parameters of type Id
 PastContent DebugContent.checkInsert(Id id, PastContent existingContent)
           
 void GlacierImpl.deliver(Id id, Message message)
           
 void GlacierImpl.lookup(Id id, boolean cache, Continuation command)
           
 void GlacierImpl.lookup(Id id, Continuation command)
           
 void GlacierImpl.lookup(Id id, long version, Continuation command)
           
 void GlacierImpl.lookupHandle(Id id, NodeHandle handle, Continuation command)
           
 void GlacierImpl.lookupHandles(Id id, int num, Continuation command)
           
 void GlacierImpl.lookupHandles(Id id, long version, int num, Continuation command)
           
 void GlacierImpl.neighborSeen(Id nodeId, long when)
           
 void GlacierImpl.refresh(Id[] ids, long[] expirations, Continuation command)
           
 void GlacierImpl.refresh(Id[] ids, long[] versions, long[] expirations, Continuation command)
           
 void GlacierImpl.refresh(Id[] ids, long expiration, Continuation command)
           
 void GlacierImpl.sendMessage(Id id, GlacierMessage message, NodeHandle hint)
           
 

Constructors in rice.p2p.glacier.v2 with parameters of type Id
DebugContent(Id id, boolean isMutable, long version, byte[] payload)
           
GlacierContentHandle(Id id, long version, NodeHandle nodeHandle, Manifest manifest)
           
 

Uses of Id in rice.p2p.glacier.v2.messaging
 

Fields in rice.p2p.glacier.v2.messaging declared as Id
protected  Id GlacierMessage.dest
           
protected  Id[] GlacierNeighborResponseMessage.neighbors
           
protected  Id GlacierRefreshProbeMessage.requestedId
           
 

Methods in rice.p2p.glacier.v2.messaging that return Id
 Id GlacierMessage.getDestination()
          Method which returns this messages' destination address
 Id GlacierNeighborResponseMessage.getNeighbor(int index)
           
 Id GlacierRefreshProbeMessage.getRequestedId()
           
 

Constructors in rice.p2p.glacier.v2.messaging with parameters of type Id
GlacierDataMessage(int uid, FragmentKey[] keys, Fragment[] fragments, Manifest[] manifests, NodeHandle source, Id dest, boolean isResponse, char tag)
           
GlacierDataMessage(int uid, FragmentKey key, Fragment fragment, Manifest manifest, NodeHandle source, Id dest, boolean isResponse, char tag)
           
GlacierFetchMessage(int uid, FragmentKey[] keys, int request, NodeHandle source, Id dest, char tag)
           
GlacierFetchMessage(int uid, FragmentKey key, int request, NodeHandle source, Id dest, char tag)
           
GlacierMessage(int id, NodeHandle source, Id dest, boolean isResponse, char tag)
          Constructor which takes a unique integer Id
GlacierNeighborRequestMessage(int uid, IdRange requestedRange, NodeHandle source, Id dest, char tag)
           
GlacierNeighborResponseMessage(int uid, Id[] neighbors, long[] lastSeen, NodeHandle source, Id dest, char tag)
           
GlacierNeighborResponseMessage(int uid, Id[] neighbors, long[] lastSeen, NodeHandle source, Id dest, char tag)
           
GlacierQueryMessage(int uid, FragmentKey[] keys, NodeHandle source, Id dest, char tag)
           
GlacierRangeForwardMessage(int uid, IdRange requestedRange, NodeHandle requestor, NodeHandle source, Id dest, char tag)
           
GlacierRangeQueryMessage(int uid, IdRange requestedRange, NodeHandle source, Id dest, char tag)
           
GlacierRangeResponseMessage(int uid, IdRange commonRange, NodeHandle source, Id dest, char tag)
           
GlacierRefreshCompleteMessage(int uid, VersionKey[] keys, int[] updates, NodeHandle source, Id dest, char tag)
           
GlacierRefreshPatchMessage(int uid, VersionKey[] keys, long[] lifetimes, byte[][] signatures, NodeHandle source, Id dest, char tag)
           
GlacierRefreshProbeMessage(int uid, Id requestedId, NodeHandle source, Id dest, char tag)
           
GlacierRefreshResponseMessage(int uid, IdRange range, boolean online, NodeHandle source, Id dest, char tag)
           
GlacierResponseMessage(int uid, FragmentKey[] keys, boolean[] haveIt, long[] lifetimes, boolean[] authoritative, NodeHandle source, Id dest, boolean isResponse, char tag)
           
GlacierResponseMessage(int uid, FragmentKey key, boolean haveIt, long lifetime, boolean authoritative, NodeHandle source, Id dest, boolean isResponse, char tag)
           
GlacierSyncMessage(int uid, IdRange range, int offsetFID, BloomFilter BloomFilter, NodeHandle source, Id dest, char tag)
           
 

Uses of Id in rice.p2p.multiring
 

Classes in rice.p2p.multiring that implement Id
 class RingId
           
 

Fields in rice.p2p.multiring declared as Id
protected  Id RingCertificate.id
           
protected  Id RingId.id
          The id which this ringId represents
protected  Id MultiringApplication.ringId
          The Id which represents the current ring this app is a member of
protected  Id MultiringIdFactory.ringId
          The multiring node supporting this endpoint
protected  Id MultiringIdRange.ringId
          The ringId of the nodes in the range
protected  Id MultiringIdSet.ringId
          The ringId of the ids in the set
protected  Id MultiringNode.ringId
          The Id which represents the current ring this node is a member of
protected  Id MultiringNodeHandle.ringId
          The handle's ringId
protected  Id MultiringNodeHandleSet.ringId
          The handle's ringId
protected  Id MultiringRouteMessage.ringId
          The messages's ringId
protected  Id RingId.ringId
          The ringId which this ringId represents
 

Methods in rice.p2p.multiring that return Id
 Id RingId.addToId(Id.Distance offset)
          Returns an Id corresponding to this Id plus a given distance
 Id[] MultiringIdSet.asArray()
          return this set as an array
 Id MultiringIdFactory.buildId(byte[] material)
          Builds a protocol-specific Id given the source data.
 Id MultiringIdFactory.buildId(int[] material)
          Builds a protocol-specific Id given the source data.
 Id MultiringIdFactory.buildId(java.lang.String string)
          Builds a protocol-specific Id by using the hash of the given string as source data.
 Id MultiringIdFactory.buildIdFromToString(char[] chars, int offset, int length)
          Builds an Id by converting the given toString() output back to an Id.
 Id MultiringIdFactory.buildIdFromToString(java.lang.String string)
          Builds an Id by converting the given toString() output back to an Id.
 Id MultiringIdFactory.buildNormalId(byte[] material)
          Builds a protocol-specific Id given the source data.
 Id MultiringIdFactory.buildNormalId(java.lang.String material)
          Builds a protocol-specific Id given the source data.
 Id MultiringIdFactory.buildRandomId(java.util.Random rng)
          Builds a random protocol-specific Id.
 Id MultiringIdFactory.buildRandomId(RandomSource rng)
           
 Id MultiringIdRange.getCCWId()
          get counterclockwise edge of range
 Id MultiringIdRange.getCWId()
          get clockwise edge of range
 Id MultiringRouteMessage.getDestinationId()
          Returns the destination Id for this message
 Id MultiringEndpoint.getId()
          Returns this node's id, which is its identifier in the namespace.
 Id MultiringNode.getId()
          Returns the Id of this node
 Id MultiringNodeHandle.getId()
          Returns this node's id.
 Id RingCertificate.getId()
          Returns the id of this ring
 Id RingId.getId()
          Returns this ringid's id
 Id MultiringNode.getNodeId()
          Returns the underlying id of this node
 Id MultiringIdFactory.getRingId()
          Method which returns the underlying Id which represents the local node's ring
 Id MultiringNode.getRingId()
          Returns the ringId of this node
 Id MultiringNodeHandle.getRingId()
          Returns the ringId of this node handle
 Id RingId.getRingId()
          Returns this ringid's ring id
 Id MultiringEndpoint.readId(InputBuffer buf, short type)
           
 

Methods in rice.p2p.multiring with parameters of type Id
 void MultiringIdSet.addId(Id id)
          add a member
static RingId RingId.build(Id ringId, Id id)
          Constructor.
 IdRange MultiringIdFactory.buildIdRange(Id cw, Id ccw)
          Creates an IdRange given the CW and CCW ids.
 RingId MultiringIdFactory.buildRingId(Id ringId, byte[] material)
          Builds a ringId by using the provided Id and ringIds.
 RingId MultiringIdFactory.buildRingId(Id ringId, Id id)
          Builds a ringId by using the provided Id and ringIds.
 boolean RingId.clockwise(Id nid)
          Checks to see if the Id nid is clockwise or counterclockwise from this, on the ring.
 boolean MultiringIdRange.containsId(Id key)
          test if a given key lies within this range
 void MultiringApplication.deliver(Id id, Message message)
          This method is called on the application at the destination node for the given id.
 Id.Distance RingId.distanceFromId(Id nid)
          Returns the shorter numerical distance on the ring between a pair of Ids.
static RingCertificate RingCertificate.getCertificate(Id ringId)
          Method which returns the certificates found for the given ringId
 NodeHandle MultiringNodeHandleSet.getHandle(Id id)
          Finds the NodeHandle associated with the NodeId.
 int MultiringNodeHandleSet.getIndexHandle(Id id)
          Gets the index of the element with the given node id.
 boolean RingId.isBetween(Id ccw, Id cw)
          Checks if this Id is between two given ids ccw (inclusive) and cw (exclusive) on the circle
 boolean MultiringIdSet.isMemberId(Id id)
          test membership
 NodeHandleSet MultiringEndpoint.localLookup(Id id, int num, boolean safe)
          This call produces a list of nodes that can be used as next hops on a route towards the given id, such that the resulting route satisfies the overlay protocol's bounds on the number of hops taken.
 Id.Distance RingId.longDistanceFromId(Id nid)
          Returns the longer numerical distance on the ring between a pair of Ids.
 boolean MultiringNodeHandleSet.memberHandle(Id id)
          Verifies if the set contains this particular id.
protected  void MultiringNode.nodeAdded(Id otherRingId)
          Method which is used to inform the node that another node has been added to the collection.
 IdRange MultiringEndpoint.range(NodeHandle handle, int rank, Id lkey)
          This operation provides information about ranges of keys for which the node is currently a rank-root.
 IdRange MultiringEndpoint.range(NodeHandle handle, int rank, Id lkey, boolean cumulative)
          This operation provides information about ranges of keys for which the node is currently a rank-root.
 NodeHandle MultiringNodeHandleSet.removeHandle(Id id)
          Removes a node id and its handle from the set.
 void MultiringIdSet.removeId(Id id)
          remove a member
 NodeHandleSet MultiringEndpoint.replicaSet(Id id, int maxRank)
          This methods returns an ordered set of nodehandles on which replicas of an object with a given id can be stored.
 NodeHandleSet MultiringEndpoint.replicaSet(Id id, int maxRank, NodeHandle root, NodeHandleSet set)
          This methods returns an ordered set of nodehandles on which replicas of an object with a given id can be stored.
 void MultiringEndpoint.route(Id id, Message message, NodeHandle hint)
          This method makes an attempt to route the message to the root of the given id.
 void MultiringEndpoint.route(Id id, RawMessage message, NodeHandle hint)
           
 void MultiringRouteMessage.setDestinationId(Id id)
          Sets the destination Id for this message
 

Constructors in rice.p2p.multiring with parameters of type Id
MultiringApplication(Id ringId, Application application)
          Constructor
MultiringIdFactory(Id ringId, IdFactory factory)
          Constructor
MultiringIdRange(Id ringId, IdRange range)
          Constructor
MultiringIdSet(Id ringId, IdSet set)
          Constructor
MultiringNode(Id ringId, Node node)
          Constructor
MultiringNode(Id ringId, Node node, MultiringNode existing)
          Constructor
MultiringNodeHandle(Id ringId, NodeHandle handle)
          Constructor
MultiringNodeHandleSet(Id ringId, NodeHandleSet set)
          Constructor
MultiringRouteMessage(Id ringId, RouteMessage message)
          Constructor
RingCertificate(java.lang.String name, Id id, int protocol, java.net.InetSocketAddress[] bootstraps, int port, java.security.PublicKey key, java.net.InetSocketAddress logServer)
          Builds a new RingCertificate given the appropriate info
 

Uses of Id in rice.p2p.multiring.testing
 

Fields in rice.p2p.multiring.testing declared as Id
protected  Id MultiringRegrTest.globalRingId
           
protected  Id[] MultiringRegrTest.ringIds
           
 Id MultiringRegrTest.MultiringTestMessage.source
           
 

Methods in rice.p2p.multiring.testing with parameters of type Id
protected  MultiringNode MultiringRegrTest.createNode(Id ringId, MultiringNode bootstrap)
          Method which creates a non-gateway node, given it's node number
protected  MultiringNode MultiringRegrTest.createNode(MultiringNode existing, Id ringId, MultiringNode bootstrap)
          Method which creates a gateway node, given it's node number
 void MultiringRegrTest.MultiringTestApp.deliver(Id id, Message message)
           
 void MultiringRegrTest.MultiringTestApp.send(Id target)
           
 

Constructors in rice.p2p.multiring.testing with parameters of type Id
MultiringRegrTest.MultiringTestMessage(Id source)
           
 

Uses of Id in rice.p2p.past
 

Fields in rice.p2p.past declared as Id
protected  Id ContentHashPastContent.myId
           
 

Methods in rice.p2p.past that return Id
 Id ContentHashPastContent.getId()
          Returns the Id under which this object is stored in Past.
 Id ContentHashPastContentHandle.getId()
          Returns the id of the PastContent object associated with this handle
 Id PastContent.getId()
          Returns the Id under which this object is stored in Past.
 Id PastContentHandle.getId()
          get the id of the PastContent object associated with this handle
 

Methods in rice.p2p.past with parameters of type Id
 PastContent ContentHashPastContent.checkInsert(Id id, PastContent existingContent)
          Checks if a insert operation should be allowed.
 PastContent PastContent.checkInsert(Id id, PastContent existingContent)
          Checks if a insert operation should be allowed.
 void PastImpl.deliver(Id id, Message message)
          This method is called on the application at the destination node for the given id.
protected  void PastImpl.doInsert(Id id, PastImpl.MessageBuilder builder, Continuation command, boolean useSocket)
          Internal method which actually performs an insert for a given object.
 boolean PastImpl.exists(Id id)
          This upcall should return whether or not the given id is currently stored by the client.
 void PastImpl.existsInOverlay(Id id, Continuation command)
           
 void PastPolicy.fetch(Id id, NodeHandle hint, Cache backup, Past past, Continuation command)
          This method is called when Past is told to fetch a key.
 void PastPolicy.DefaultPastPolicy.fetch(Id id, NodeHandle hint, Cache backup, Past past, Continuation command)
          This method fetches the object via a lookup() call.
 void PastImpl.fetch(Id id, NodeHandle hint, Continuation command)
          This upcall is invoked to tell the client to fetch the given id, and to call the given command with the boolean result once the fetch is completed.
protected  void PastImpl.getHandles(Id id, int max, Continuation command)
          Internal method which returns the handles to an object.
 void Past.lookup(Id id, boolean cache, Continuation command)
          Retrieves the object stored in this instance of Past with the given ID.
 void PastImpl.lookup(Id id, boolean cache, Continuation command)
          Method which performs the same as lookup(), but allows the callee to specify if the data should be cached.
 void Past.lookup(Id id, Continuation command)
          Retrieves the object stored in this instance of Past with the given ID.
 void PastImpl.lookup(Id id, Continuation command)
          Retrieves the object stored in this instance of Past with the given ID.
 void Past.lookupHandle(Id id, NodeHandle handle, Continuation command)
          Retrieves the handle for the given object stored on the requested node.
 void PastImpl.lookupHandle(Id id, NodeHandle handle, Continuation command)
          Retrieves the handle for the given object stored on the requested node.
 void Past.lookupHandles(Id id, int max, Continuation command)
          Retrieves the handles of up to max replicas of the object stored in this instance of Past with the given ID.
 void PastImpl.lookupHandles(Id id, int max, Continuation command)
          Retrieves the handles of up to max replicas of the object stored in this instance of Past with the given ID.
 void PastImpl.reInsert(Id id, Continuation command)
           
 void PastImpl.remove(Id id, Continuation command)
          This upcall is to notify the client that the given id can be safely removed from the storage.
protected  void PastImpl.sendRequest(Id id, PastMessage message, Continuation command)
          Sends a request message across the wire, and stores the appropriate continuation.
protected  void PastImpl.sendRequest(Id id, PastMessage message, NodeHandle hint, Continuation command)
          Sends a request message across the wire, and stores the appropriate continuation.
 

Constructors in rice.p2p.past with parameters of type Id
ContentHashPastContent(Id myId)
           
ContentHashPastContentHandle(NodeHandle nh, Id id)
          Constructor
 

Uses of Id in rice.p2p.past.gc
 

Classes in rice.p2p.past.gc that implement Id
 class GCId
           
 

Fields in rice.p2p.past.gc declared as Id
protected  Id GCId.id
          The id which this ringId represents
 

Methods in rice.p2p.past.gc that return Id
 Id GCId.addToId(Id.Distance offset)
          Returns an Id corresponding to this Id plus a given distance
 Id[] GCIdSet.asArray()
          return this set as an array
 Id GCIdFactory.buildId(byte[] material)
          Builds a protocol-specific Id given the source data.
 Id GCIdFactory.buildId(int[] material)
          Builds a protocol-specific Id given the source data.
 Id GCIdFactory.buildId(java.lang.String string)
          Builds a protocol-specific Id by using the hash of the given string as source data.
 Id GCIdFactory.buildIdFromToString(char[] chars, int offset, int length)
          Builds an Id by converting the given toString() output back to an Id.
 Id GCIdFactory.buildIdFromToString(java.lang.String string)
          Builds an Id by converting the given toString() output back to an Id.
 Id GCIdFactory.buildNormalId(byte[] material)
          Builds a protocol-specific Id given the source data.
 Id GCIdFactory.buildRandomId(java.util.Random rng)
          Builds a random protocol-specific Id.
 Id GCIdFactory.buildRandomId(RandomSource rng)
           
 Id GCIdRange.getCCWId()
          get counterclockwise edge of range
 Id GCIdRange.getCWId()
          get clockwise edge of range
 Id GCEndpoint.getId()
          Returns this node's id, which is its identifier in the namespace.
 Id GCId.getId()
          Returns this gcid's id
 Id GCNode.getId()
          Returns the Id of this node
 Id GCEndpoint.readId(InputBuffer buf, short type)
           
 

Methods in rice.p2p.past.gc with parameters of type Id
 void GCIdSet.addId(Id id)
          add a member
 IdRange GCIdFactory.buildIdRange(Id cw, Id ccw)
          Creates an IdRange given the CW and CCW ids.
 boolean GCId.clockwise(Id nid)
          Checks to see if the Id nid is clockwise or counterclockwise from this, on the ring.
 boolean GCIdRange.containsId(Id key)
          test if a given key lies within this range
 void GCPastImpl.deliver(Id id, Message message)
          This method is called on the application at the destination node for the given id.
 Id.Distance GCId.distanceFromId(Id nid)
          Returns the shorter numerical distance on the ring between a pair of Ids.
 boolean GCPastImpl.exists(Id id)
          This upcall should return whether or not the given id is currently stored by the client.
 void GCPastImpl.existsInOverlay(Id id, Continuation command)
           
 void GCPastImpl.fetch(Id id, NodeHandle hint, Continuation command)
          This upcall is invoked to tell the client to fetch the given id, and to call the given command with the boolean result once the fetch is completed.
protected  GCId GCIdSet.getGCId(Id id)
           
 boolean GCId.isBetween(Id ccw, Id cw)
          Checks if this Id is between two given ids ccw (inclusive) and cw (exclusive) on the circle
 boolean GCIdSet.isMemberId(Id id)
          test membership
 NodeHandleSet GCEndpoint.localLookup(Id id, int num, boolean safe)
          This call produces a list of nodes that can be used as next hops on a route towards the given id, such that the resulting route satisfies the overlay protocol's bounds on the number of hops taken.
 Id.Distance GCId.longDistanceFromId(Id nid)
          Returns the longer numerical distance on the ring between a pair of Ids.
 IdRange GCEndpoint.range(NodeHandle handle, int rank, Id lkey)
          This operation provides information about ranges of keys for which the node is currently a rank-root.
 IdRange GCEndpoint.range(NodeHandle handle, int rank, Id lkey, boolean cumulative)
          This operation provides information about ranges of keys for which the node is currently a rank-root.
 void GCPast.refresh(Id[] ids, long[] expiration, Continuation command)
          Updates the objects stored under the provided keys id to expire no earlier than the provided expiration time.
 void GCPastImpl.refresh(Id[] array, long[] expirations, Continuation command)
          Updates the objects stored under the provided keys id to expire no earlier than the provided expiration time.
 void GCPast.refresh(Id[] ids, long expiration, Continuation command)
          Updates the objects stored under the provided keys id to expire no earlier than the provided expiration time.
 void GCPastImpl.refresh(Id[] array, long expiration, Continuation command)
          Updates the objects stored under the provided keys id to expire no earlier than the provided expiration time.
 void GCPastImpl.reInsert(Id id, Continuation command)
           
 void GCPastImpl.remove(Id id, Continuation command)
          This upcall is to notify the client that the given id can be safely removed from the storage.
 void GCIdSet.removeId(Id id)
          remove a member
 NodeHandleSet GCEndpoint.replicaSet(Id id, int maxRank)
          This methods returns an ordered set of nodehandles on which replicas of an object with a given id can be stored.
 NodeHandleSet GCEndpoint.replicaSet(Id id, int maxRank, NodeHandle root, NodeHandleSet set)
          This methods returns an ordered set of nodehandles on which replicas of an object with a given id can be stored.
 void GCEndpoint.route(Id id, Message message, NodeHandle hint)
          This method makes an attempt to route the message to the root of the given id.
 void GCEndpoint.route(Id id, RawMessage message, NodeHandle hint)
           
 

Constructors in rice.p2p.past.gc with parameters of type Id
GCId(Id id, long expiration)
          Constructor
 

Uses of Id in rice.p2p.past.gc.messaging
 

Constructors in rice.p2p.past.gc.messaging with parameters of type Id
GCCollectMessage(int id, NodeHandle source, Id dest)
          Constructor
GCInsertMessage(int uid, PastContent content, long expiration, NodeHandle source, Id dest)
          Constructor which takes a unique integer Id, as well as the data to be stored
GCLookupHandlesMessage(int uid, Id id, NodeHandle source, Id dest)
          Constructor
GCRefreshMessage(int uid, GCIdSet keys, NodeHandle source, Id dest)
          Constructor which takes a unique integer Id, as well as the keys to be refreshed
 

Uses of Id in rice.p2p.past.gc.rawserialization
 

Methods in rice.p2p.past.gc.rawserialization that return Id
 Id JavaSerializedGCPastContent.getId()
           
 Id JavaSerializedGCPastContentHandle.getId()
           
 

Methods in rice.p2p.past.gc.rawserialization with parameters of type Id
 PastContent JavaSerializedGCPastContent.checkInsert(Id id, PastContent existingContent)
           
 

Uses of Id in rice.p2p.past.messaging
 

Fields in rice.p2p.past.messaging declared as Id
protected  Id PastMessage.dest
           
protected  Id MessageLostMessage.id
           
 

Methods in rice.p2p.past.messaging that return Id
 Id PastMessage.getDestination()
          Method which returns this messages' destination address
 Id FetchHandleMessage.getId()
          Method which returns the id
 Id LookupHandlesMessage.getId()
          Method which returns the id
 Id LookupMessage.getId()
          Method which returns the id
 

Constructors in rice.p2p.past.messaging with parameters of type Id
CacheMessage(int uid, PastContent content, NodeHandle source, Id dest)
          Constructor which takes a unique integer Id and the local id
CacheMessage(int uid, RawPastContent content, NodeHandle source, Id dest)
           
ContinuationMessage(int uid, NodeHandle source, Id dest)
          Constructor which takes a unique integer Id, as well as the data to be stored
FetchHandleMessage(int uid, Id id, NodeHandle source, Id dest)
          Constructor
FetchMessage(int uid, PastContentHandle handle, NodeHandle source, Id dest)
          Constructor
FetchMessage(int uid, RawPastContentHandle handle, NodeHandle source, Id dest)
           
InsertMessage(int uid, PastContent content, NodeHandle source, Id dest)
          Constructor which takes a unique integer Id, as well as the data to be stored
InsertMessage(int uid, RawPastContent content, NodeHandle source, Id dest)
           
LookupHandlesMessage(int uid, Id id, int max, NodeHandle source, Id dest)
          Constructor
LookupMessage(int uid, Id id, NodeHandle source, Id dest)
          Constructor
MessageLostMessage(int uid, NodeHandle local, Id id, Message message, NodeHandle hint)
          Constructor which takes a unique integer Id and the local id
PastMessage(int id, NodeHandle source, Id dest)
          Constructor which takes a unique integer Id
 

Uses of Id in rice.p2p.past.rawserialization
 

Methods in rice.p2p.past.rawserialization that return Id
 Id JavaSerializedPastContent.getId()
           
 Id JavaSerializedPastContentHandle.getId()
           
 

Methods in rice.p2p.past.rawserialization with parameters of type Id
 PastContent JavaSerializedPastContent.checkInsert(Id id, PastContent existingContent)
           
 

Uses of Id in rice.p2p.past.testing
 

Fields in rice.p2p.past.testing declared as Id
protected  Id PastRegrTest.TestPastContent.id
           
protected  Id PastRegrTest.TestPastContentHandle.id
           
protected  Id RawPastRegrTest.TestPastContent.id
           
protected  Id RawPastRegrTest.TestPastContentHandle.id
           
 

Methods in rice.p2p.past.testing that return Id
 Id PastRegrTest.TestRouteMessage.getDestinationId()
           
 Id RawPastRegrTest.TestRouteMessage.getDestinationId()
           
 Id PastRegrTest.TestPastContent.getId()
           
 Id PastRegrTest.TestPastContentHandle.getId()
           
 Id RawPastRegrTest.TestPastContent.getId()
           
 Id RawPastRegrTest.TestPastContentHandle.getId()
           
 

Methods in rice.p2p.past.testing with parameters of type Id
 PastContent PastRegrTest.TestPastContent.checkInsert(Id id, PastContent existingContent)
           
 PastContent PastRegrTest.NonOverwritingTestPastContent.checkInsert(Id id, PastContent existingContent)
           
 PastContent RawPastRegrTest.TestPastContent.checkInsert(Id id, PastContent existingContent)
           
 PastContent RawPastRegrTest.NonOverwritingTestPastContent.checkInsert(Id id, PastContent existingContent)
           
 void PastRegrTest.TestRouteMessage.setDestinationId(Id id)
           
 void RawPastRegrTest.TestRouteMessage.setDestinationId(Id id)
           
 

Constructors in rice.p2p.past.testing with parameters of type Id
PastRegrTest.NonMutableTestPastContent(Id id)
           
PastRegrTest.NonOverwritingTestPastContent(Id id, int version)
           
PastRegrTest.TestPastContent(Id id)
           
PastRegrTest.TestPastContentHandle(Past past, Id id)
           
PastRegrTest.TestRouteMessage(Id id, NodeHandle nextHop, Message message)
           
PastRegrTest.VersionedTestPastContent(Id id, int version)
           
RawPastRegrTest.NonMutableTestPastContent(Id id)
           
RawPastRegrTest.NonOverwritingTestPastContent(Id id, int version)
           
RawPastRegrTest.TestPastContent(Id id)
           
RawPastRegrTest.TestPastContentHandle(Past past, Id id)
           
RawPastRegrTest.TestRouteMessage(Id id, NodeHandle nextHop, Message message)
           
RawPastRegrTest.VersionedTestPastContent(Id id, int version)
           
 

Uses of Id in rice.p2p.replication
 

Methods in rice.p2p.replication with parameters of type Id
 void ReplicationImpl.deliver(Id id, Message message)
          This method is called on the application at the destination node for the given id.
 

Uses of Id in rice.p2p.replication.manager
 

Fields in rice.p2p.replication.manager declared as Id
protected  Id ReplicationManagerImpl.ReplicationManagerHelper.current
          The next message UID which is available
protected  Id ReplicationManagerImpl.ReplicationManagerDeleter.id
          Whether or not we are waiting for a response
 

Methods in rice.p2p.replication.manager that return Id
protected  Id ReplicationManagerImpl.ReplicationManagerHelper.getNextId()
          Interal method which safely takes the next id to be fetched from the set of pending keys
 

Methods in rice.p2p.replication.manager with parameters of type Id
 void ReplicationManagerImpl.deliver(Id id, Message message)
          This method is called on the application at the destination node for the given id.
 boolean ReplicationManagerClient.exists(Id id)
          This upcall should return whether or not the given id is currently stored locally by the client.
 void ReplicationManagerClient.existsInOverlay(Id id, Continuation command)
          This upcall should return whether or not the given id is currently stored somewhere in the overlay by the client.
 void ReplicationManagerClient.fetch(Id id, NodeHandle hint, Continuation command)
          This upcall is invoked to tell the client to fetch the given id, and to call the given command with the boolean result once the fetch is completed.
protected  void ReplicationManagerImpl.informClient(Id id, NodeHandle hint)
          Internal method which informs the client of the next id to fetch
 void ReplicationManagerImpl.ReplicationManagerHelper.message(Id id)
           
 void ReplicationManagerClient.reInsert(Id id, Continuation command)
          Asks a client to reinsert an object it already holds into the overlay
 void ReplicationManagerClient.remove(Id id, Continuation command)
          This upcall is to notify the client that the given id can be safely removed from the storage.
 

Uses of Id in rice.p2p.replication.manager.messaging
 

Fields in rice.p2p.replication.manager.messaging declared as Id
protected  Id TimeoutMessage.id
          THe unique id of this message
 

Methods in rice.p2p.replication.manager.messaging that return Id
 Id TimeoutMessage.getId()
          Returns the id of this message
 

Constructors in rice.p2p.replication.manager.messaging with parameters of type Id
TimeoutMessage(Id id)
          Constructor which takes a unique integer Id
 

Uses of Id in rice.p2p.replication.manager.testing
 

Methods in rice.p2p.replication.manager.testing with parameters of type Id
 boolean ReplicationManagerRegrTest.TestReplicationManagerClient.exists(Id id)
           
 void ReplicationManagerRegrTest.TestReplicationManagerClient.existsInOverlay(Id id, Continuation command)
           
 void ReplicationManagerRegrTest.TestReplicationManagerClient.fetch(Id id, NodeHandle hint, Continuation command)
           
 void ReplicationManagerRegrTest.TestReplicationManagerClient.insert(Id id)
           
 void ReplicationManagerRegrTest.TestReplicationManagerClient.reInsert(Id id, Continuation command)
           
 void ReplicationManagerRegrTest.TestReplicationManagerClient.remove(Id id, Continuation command)
           
 

Uses of Id in rice.p2p.replication.messaging
 

Fields in rice.p2p.replication.messaging declared as Id
protected  Id[][] ResponseMessage.ids
           
 

Methods in rice.p2p.replication.messaging that return Id
 Id[][] ResponseMessage.getIdSets()
          Method which returns this messages' ranges
 

Uses of Id in rice.p2p.replication.testing
 

Methods in rice.p2p.replication.testing with parameters of type Id
 void ReplicationRegrTest.TestReplicationClient.insert(Id id)
           
 

Uses of Id in rice.p2p.scribe
 

Fields in rice.p2p.scribe declared as Id
protected  Id Topic.id
          The Id to which this topic is mapped
protected  Id[] ScribeImpl.TopicManager.pathToRoot
          The current path to the root for this node
 

Methods in rice.p2p.scribe that return Id
 Id ScribeImpl.getId()
          Returns the Id of the local node
 Id Topic.getId()
          Returns the Id to which this topic is mapped
static Id Topic.getId(IdFactory factory, java.lang.String name)
          Returns the Id to which the string is mapped
 Id[] ScribeImpl.TopicManager.getPathToRoot()
          Gets the PathToRoot attribute of the TopicManager object
 

Methods in rice.p2p.scribe with parameters of type Id
 void ScribeImpl.deliver(Id id, Message message)
          This method is called on the application at the destination node for the given id.
 void ScribeImpl.TopicManager.setPathToRoot(Id[] pathToRoot)
          Sets the PathToRoot attribute of the TopicManager object
 

Constructors in rice.p2p.scribe with parameters of type Id
Topic(Id id)
          Constructor which takes an Id for this topic
 

Uses of Id in rice.p2p.scribe.messaging
 

Fields in rice.p2p.scribe.messaging declared as Id
protected  Id[] SubscribeAckMessage.pathToRoot
          The contained path to the root
protected  Id SubscribeMessage.previousParent
          The previous parent
 

Methods in rice.p2p.scribe.messaging that return Id
 Id[] SubscribeAckMessage.getPathToRoot()
          Returns the path to the root for the node receiving this message
 Id SubscribeMessage.getPreviousParent()
          Returns the node who is trying to subscribe
 

Constructors in rice.p2p.scribe.messaging with parameters of type Id
SubscribeAckMessage(NodeHandle source, Topic topic, Id[] pathToRoot, int id)
          Constructor which takes a unique integer Id
SubscribeMessage(NodeHandle source, Topic topic, Id previousParent, int id, RawScribeContent content)
          Constructor which takes a unique integer Id
 

Uses of Id in rice.p2p.scribe.testing
 

Methods in rice.p2p.scribe.testing that return Id
 Id RawScribeRegrTest.TestRouteMessage.getDestinationId()
          Gets the DestinationId attribute of the TestRouteMessage object
 Id ScribeRegrTest.TestRouteMessage.getDestinationId()
          Gets the DestinationId attribute of the TestRouteMessage object
 

Methods in rice.p2p.scribe.testing with parameters of type Id
 void RawScribeRegrTest.TestRouteMessage.setDestinationId(Id id)
          Sets the DestinationId attribute of the TestRouteMessage object
 void ScribeRegrTest.TestRouteMessage.setDestinationId(Id id)
          Sets the DestinationId attribute of the TestRouteMessage object
 

Constructors in rice.p2p.scribe.testing with parameters of type Id
RawScribeRegrTest.TestRouteMessage(Id id, NodeHandle nextHop, Message message)
          Constructor for TestRouteMessage.
ScribeRegrTest.TestRouteMessage(Id id, NodeHandle nextHop, Message message)
          Constructor for TestRouteMessage.
 

Uses of Id in rice.p2p.splitstream
 

Fields in rice.p2p.splitstream declared as Id
protected  Id ChannelId.id
          The underlying id for this channelid
protected  Id StripeId.id
          This stripe's Id
protected  Id Channel.localId
          The Id of the local node
 

Methods in rice.p2p.splitstream that return Id
 Id ChannelId.getId()
          Gets the Id attribute of the ChannelId object
 Id StripeId.getId()
          Gets the Id attribute of the StripeId object
 Id Channel.getLocalId()
          Gets the local node id.
 

Methods in rice.p2p.splitstream with parameters of type Id
 NodeHandle SplitStreamScribePolicy.freeBandwidth(Channel channel, NodeHandle newChild, Id stripeId)
          This method attempts to free bandwidth from our primary stripe.
 java.util.Vector SplitStreamScribePolicy.freeBandwidthUltimate(Id stripeId)
          This method makes an attempt to free up bandwidth from non-primary, non-root stripes (for which local node is not root).
static int SplitStreamScribePolicy.getPrefixMatch(Id target, Id sample, int digitLength)
          Helper method for finding prefix match between two Ids.
 

Constructors in rice.p2p.splitstream with parameters of type Id
Channel(ChannelId channelId, Scribe scribe, java.lang.String instance, IdFactory factory, Id localId, int stripeBase, int maxFailedSubscriptions)
          Constructor to create a new channel from scratch
ChannelId(Id id)
          Constructor that takes in an Id and makes a ChannelId
StripeId(Id id)
          Constructor that takes in a nodeId and makes a StripeId
 

Uses of Id in rice.p2p.splitstream.testing
 

Methods in rice.p2p.splitstream.testing with parameters of type Id
 void MySplitStreamClient.publish(Id id, int seq)
           
 

Uses of Id in rice.p2p.util
 

Methods in rice.p2p.util with parameters of type Id
protected  void IdBloomFilter.addId(Id id)
          Method which adds an Id to the underlying bloom filter
 boolean IdBloomFilter.check(Id id)
          Method which returns whether or not an Id *may* be in the set.
protected  void IdBloomFilter.checkArray(Id id)
          Internal method for checking to see if the array exists, and if not, instanciating it.
 

Uses of Id in rice.p2p.util.testing
 

Fields in rice.p2p.util.testing declared as Id
static Id[] IdBloomFilterReplicationTest.EXTRA
           
static Id[] IdBloomFilterReplicationTest.SHARED
           
 

Methods in rice.p2p.util.testing with parameters of type Id
protected static int RedBlackMapUnit.getIndex(Id id, Id[] sorted)
           
protected static int RedBlackMapUnit.getIndex(Id id, Id[] sorted)
           
protected static void RedBlackMapUnit.printMap(Id[] id)
           
protected static void RedBlackMapUnit.testHeadMap(Id head, Id[] sorted, java.util.SortedMap sub)
           
protected static void RedBlackMapUnit.testHeadMap(Id head, Id[] sorted, java.util.SortedMap sub)
           
protected static void RedBlackMapUnit.testNormalSubMap(Id from, Id to, Id[] sorted, java.util.SortedMap sub)
           
protected static void RedBlackMapUnit.testNormalSubMap(Id from, Id to, Id[] sorted, java.util.SortedMap sub)
           
protected static void RedBlackMapUnit.testRemove(java.util.SortedMap map, Id[] sorted, Id remove)
           
protected static void RedBlackMapUnit.testRemove(java.util.SortedMap map, Id[] sorted, Id remove)
           
protected static void RedBlackMapUnit.testTailMap(Id tail, Id[] sorted, java.util.SortedMap sub)
           
protected static void RedBlackMapUnit.testTailMap(Id tail, Id[] sorted, java.util.SortedMap sub)
           
protected static void RedBlackMapUnit.testWrappedSubMap(Id from, Id to, Id[] sorted, java.util.SortedMap sub)
           
protected static void RedBlackMapUnit.testWrappedSubMap(Id from, Id to, Id[] sorted, java.util.SortedMap sub)
           
 

Uses of Id in rice.pastry
 

Classes in rice.pastry that implement Id
 class Id
          Represents a Pastry identifier for a node, object or key.
 

Methods in rice.pastry that return Id
 Id Id.addToId(Id.Distance offset)
          Returns an Id corresponding to this Id plus a given distance
 Id[] IdSet.asArray()
          return this set as an array
 Id IdRange.getCCWId()
          get counterclockwise edge of range
 Id IdRange.getCWId()
          get clockwise edge of range
 Id NodeHandle.getId()
           
 Id PastryNode.getId()
          Returns the Id of this node
 

Methods in rice.pastry with parameters of type Id
 void IdSet.addId(Id id)
          add a member
 boolean Id.clockwise(Id nid)
          Checks to see if the Id nid is clockwise or counterclockwise from this, on the ring.
 boolean IdRange.containsId(Id key)
          test if a given key lies within this range
 Id.Distance Id.distanceFromId(Id nid)
          Returns the shorter numerical distance on the ring between a pair of Ids.
 NodeHandle NodeSet.getHandle(Id id)
          Finds the NodeHandle associated with the NodeId.
 int NodeSet.getIndexHandle(Id id)
          Gets the index of the element with the given node id.
 boolean Id.isBetween(Id ccw, Id cw)
          Checks if this Id is between two given ids ccw (inclusive) and cw (exclusive) on the circle
 boolean IdSet.isMemberId(Id id)
          test membership
 Id.Distance Id.longDistanceFromId(Id nid)
          Returns the longer numerical distance on the ring between a pair of Ids.
 boolean NodeSet.memberHandle(Id id)
          Verifies if the set contains this particular id.
 NodeHandle NodeSet.removeHandle(Id id)
          Removes a node id and its handle from the set.
 void IdSet.removeId(Id id)
          remove a member
 

Uses of Id in rice.pastry.commonapi
 

Methods in rice.pastry.commonapi that return Id
 Id PastryIdFactory.buildId(byte[] material)
          Builds a protocol-specific Id given the source data.
 Id PastryIdFactory.buildId(int[] material)
          Builds a protocol-specific Id given the source data.
 Id PastryIdFactory.buildId(java.lang.String string)
          Builds a protocol-specific Id by using the hash of the given string as source data.
 Id PastryIdFactory.buildIdFromToString(char[] chars, int offset, int length)
          Builds an Id by converting the given toString() output back to an Id.
 Id PastryIdFactory.buildIdFromToString(java.lang.String string)
          Builds an Id by converting the given toString() output back to an Id.
 Id PastryIdFactory.buildRandomId(java.util.Random rng)
          Builds a random protocol-specific Id.
 Id PastryIdFactory.buildRandomId(RandomSource rng)
           
 Id PastryEndpoint.getId()
          Returns this node's id, which is its identifier in the namespace.
 Id PastryEndpoint.readId(InputBuffer buf, short type)
           
 

Methods in rice.pastry.commonapi with parameters of type Id
 IdRange PastryIdFactory.buildIdRange(Id cw, Id ccw)
          Creates an IdRange given the CW and CCW ids.
 NodeHandleSet PastryEndpoint.localLookup(Id key, int num, boolean safe)
          This method produces a list of nodes that can be used as next hops on a route towards key, such that the resulting route satisfies the overlay protocol's bounds on the number of hops taken.
 IdRange PastryEndpoint.range(NodeHandle n, int r, Id key)
          This method provides information about ranges of keys for which the node n is currently a r-root.
 IdRange PastryEndpoint.range(NodeHandle n, int r, Id key, boolean cumulative)
          This method provides information about ranges of keys for which the node n is currently a r-root.
 NodeHandleSet PastryEndpoint.replicaSet(Id id, int maxRank)
          This method returns an ordered set of nodehandles on which replicas of the object with key can be stored.
 NodeHandleSet PastryEndpoint.replicaSet(Id id, int maxRank, NodeHandle root, NodeHandleSet set)
          This methods returns an ordered set of nodehandles on which replicas of an object with a given id can be stored.
 void PastryEndpoint.route(Id key, Message msg, NodeHandle hint)
          This operation forwards a message towards the root of key.
 void PastryEndpoint.route(Id key, RawMessage msg, NodeHandle hint)
          This duplication of the above code is to make a fast path for the RawMessage.
 

Uses of Id in rice.pastry.leafset
 

Methods in rice.pastry.leafset with parameters of type Id
 int SimilarSet.getIndexHandle(Id id)
          Gets the index of the element with the given node id.
 boolean SimilarSet.memberHandle(Id id)
          Verifies if the set contains this particular id.
 NodeHandle SimilarSet.removeHandle(Id id)
          Removes a node id and its handle from the set.
 

Uses of Id in rice.pastry.routing
 

Methods in rice.pastry.routing that return Id
 Id RouteMessage.getDestinationId()
           
 

Methods in rice.pastry.routing with parameters of type Id
 NodeHandle RouteSet.getHandle(Id id)
          Finds the NodeHandle associated with the Id.
 int RouteSet.getIndexHandle(Id id)
          Gets the index of the element with the given node id.
 boolean RouteSet.memberHandle(Id id)
          Verifies if the set contains this particular id.
 NodeHandle RouteSet.removeHandle(Id id)
          Removes a node id and its handle from the set.
 void RouteMessage.setDestinationId(Id id)
           
 

Uses of Id in rice.pastry.socket.appsocket.testing
 

Methods in rice.pastry.socket.appsocket.testing with parameters of type Id
 void Echo.deliver(Id id, Message message)
          Called when we receive a message.
 

Uses of Id in rice.pastry.testing
 

Fields in rice.pastry.testing declared as Id
 Id HelloMsg.target
           
 

Methods in rice.pastry.testing with parameters of type Id
 void RoutingTableTest.MyApp.deliver(Id id, Message message)
          Called when we receive a message.
 void RoutingTableTest.MyApp.routeMyMsg(Id id)
          Called to route a message to the id
 

Constructors in rice.pastry.testing with parameters of type Id
HelloMsg(int addr, NodeHandle src, Id tgt, int mid)
           
 

Uses of Id in rice.persistence
 

Methods in rice.persistence with parameters of type Id
 void Cache.cache(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)
          Caches an object in this storage.
 void EmptyCache.cache(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)
          Caches an object in this storage.
 void LRUCache.cache(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)
          Caches an object in this storage.
 void StorageManagerImpl.cache(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)
          Caches an object in this storage.
 boolean Catalog.exists(Id id)
          Returns whether or not an object is present in the location id.
 boolean EmptyCache.exists(Id id)
          Returns whether or not an object is cached in the location id.
 boolean LRUCache.exists(Id id)
          Returns whether or not an object is cached in the location id.
 boolean MemoryStorage.exists(Id id)
          Returns whether or not the provided id exists
 boolean PersistentStorage.exists(Id id)
          Returns whether or not an object is present in the location id.
 boolean StorageManagerImpl.exists(Id id)
          Returns whether or not an object is present in the location id.
 java.io.Serializable Catalog.getMetadata(Id id)
          Returns the metadata associated with the provided object, or null if no metadata exists.
 java.io.Serializable EmptyCache.getMetadata(Id id)
          Returns the metadata associated with the provided object, or null if no metadata exists.
 java.io.Serializable LRUCache.getMetadata(Id id)
          Returns the metadata associated with the provided object, or null if no metadata exists.
 java.io.Serializable MemoryStorage.getMetadata(Id id)
          Returns the metadata associated with the provided object, or null if no metadata exists.
 java.io.Serializable PersistentStorage.getMetadata(Id id)
          Returns the metadata associated with the provided object, or null if no metadata exists.
 java.io.Serializable StorageManagerImpl.getMetadata(Id id)
          Returns the metadata associated with the provided object, or null if no metadata exists.
 void Catalog.getObject(Id id, Continuation c)
          Returns the object identified by the given id, or null if there is no cooresponding object (through receiveResult on c).
 void EmptyCache.getObject(Id id, Continuation c)
          Returns the object identified by the given id.
 void LRUCache.getObject(Id id, Continuation c)
          Returns the object identified by the given id.
 void MemoryStorage.getObject(Id id, Continuation c)
          Returns the object identified by the given id, or null if there is no cooresponding object (through receiveResult on c).
 void PersistentStorage.getObject(Id id, Continuation c)
          Returns the object identified by the given id.
 void StorageManagerImpl.getObject(Id id, Continuation c)
          Returns the object identified by the given id, or null if there is no cooresponding object (through receiveResult on c).
 void LockManager.lock(Id id, Continuation c)
           
 void LockManagerImpl.lock(Id id, Continuation c)
           
 void Catalog.rename(Id oldId, Id newId, Continuation c)
          Renames the given object to the new id.
 void EmptyCache.rename(Id oldId, Id newId, Continuation c)
          Renames the given object to the new id.
 void LRUCache.rename(Id oldId, Id newId, Continuation c)
          Renames the given object to the new id.
 void MemoryStorage.rename(Id oldId, Id newId, Continuation c)
          Renames the given object to the new id.
 void PersistentStorage.rename(Id oldId, Id newId, Continuation c)
          Renames the given object to the new id.
 void StorageManagerImpl.rename(Id oldId, Id newId, Continuation c)
          Renames the given object to the new id.
 void Catalog.setMetadata(Id id, java.io.Serializable metadata, Continuation command)
          Updates the metadata stored under the given key to be the provided value.
 void EmptyCache.setMetadata(Id id, java.io.Serializable metadata, Continuation c)
          Updates the metadata stored under the given key to be the provided value.
 void LRUCache.setMetadata(Id id, java.io.Serializable metadata, Continuation command)
          Updates the metadata stored under the given key to be the provided value.
 void MemoryStorage.setMetadata(Id id, java.io.Serializable metadata, Continuation command)
          Updates the metadata stored under the given key to be the provided value.
 void PersistentStorage.setMetadata(Id id, java.io.Serializable metadata, Continuation c)
          Updates the metadata stored under the given key to be the provided value.
 void StorageManagerImpl.setMetadata(Id id, java.io.Serializable metadata, Continuation command)
          Updates the metadata stored under the given key to be the provided value.
 void MemoryStorage.store(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)
          Stores the object under the key id.
 void PersistentStorage.store(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)
          Makes the object persistent to disk and stored permanantly If the object is already persistent, this method will simply update the object's serialized image.
 void Storage.store(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)
          Stores an object in this storage.
 void StorageManagerImpl.store(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)
          Stores an object in this storage.
 void Cache.uncache(Id id, Continuation c)
          Removes the object from the list of cached objects.
 void EmptyCache.uncache(Id id, Continuation c)
          Removes the object from the list of cached objects.
 void LRUCache.uncache(Id id, Continuation c)
          Removes the object from the list of cached objects.
 void StorageManagerImpl.uncache(Id id, Continuation c)
          Removes the object from the list of cached objects.
 void LockManager.unlock(Id id)
           
 void LockManagerImpl.unlock(Id id)
           
 void MemoryStorage.unstore(Id id, Continuation c)
          Removes the object from the list of stored objects.
 void PersistentStorage.unstore(Id id, Continuation c)
          Request to remove the object from the list of persistend objects.
 void Storage.unstore(Id id, Continuation c)
          Removes the object from the list of stored objects.
 void StorageManagerImpl.unstore(Id id, Continuation c)
          Removes the object from the list of stored objects.
 

Uses of Id in rice.persistence.testing
 

Classes in rice.persistence.testing that implement Id
 class MemoryStorageTest.VariableId
           
 

Methods in rice.persistence.testing that return Id
 Id MemoryStorageTest.VariableId.addToId(Id.Distance offset)
           
 

Methods in rice.persistence.testing with parameters of type Id
 boolean MemoryStorageTest.VariableId.clockwise(Id nid)
           
 Id.Distance MemoryStorageTest.VariableId.distanceFromId(Id nid)
           
 boolean MemoryStorageTest.VariableId.isBetween(Id ccw, Id cw)
           
 Id.Distance MemoryStorageTest.VariableId.longDistanceFromId(Id nid)
           
 

Uses of Id in rice.tutorial.appsocket
 

Methods in rice.tutorial.appsocket with parameters of type Id
 void MyApp.deliver(Id id, Message message)
          Called when we receive a message.
 

Uses of Id in rice.tutorial.direct
 

Methods in rice.tutorial.direct with parameters of type Id
 void MyApp.deliver(Id id, Message message)
          Called when we receive a message.
 void MyApp.routeMyMsg(Id id)
          Called to route a message to the id
 

Constructors in rice.tutorial.direct with parameters of type Id
MyMsg(Id from, Id to)
          Constructor.
 

Uses of Id in rice.tutorial.forwarding
 

Methods in rice.tutorial.forwarding with parameters of type Id
 void MyApp.deliver(Id id, Message message)
          Called when we receive a message.
 void MyApp.routeMyMsg(Id id)
          Called to route a message to the id
 

Constructors in rice.tutorial.forwarding with parameters of type Id
MyMsg(Id from, Id to)
          Constructor.
 

Uses of Id in rice.tutorial.gtitm
 

Methods in rice.tutorial.gtitm with parameters of type Id
 void MyApp.deliver(Id id, Message message)
          Called when we receive a message.
 void MyApp.routeMyMsg(Id id)
          Called to route a message to the id
 

Constructors in rice.tutorial.gtitm with parameters of type Id
MyMsg(Id from, Id to)
          Constructor.
 

Uses of Id in rice.tutorial.lesson3
 

Methods in rice.tutorial.lesson3 with parameters of type Id
 void MyApp.deliver(Id id, Message message)
          Called when we receive a message.
 void MyApp.routeMyMsg(Id id)
          Called to route a message to the id
 

Constructors in rice.tutorial.lesson3 with parameters of type Id
MyMsg(Id from, Id to)
          Constructor.
 

Uses of Id in rice.tutorial.lesson4
 

Methods in rice.tutorial.lesson4 with parameters of type Id
 void MyApp.deliver(Id id, Message message)
          Called when we receive a message.
 void MyApp.routeMyMsg(Id id)
          Called to route a message to the id
 

Constructors in rice.tutorial.lesson4 with parameters of type Id
MyMsg(Id from, Id to)
          Constructor.
 

Uses of Id in rice.tutorial.lesson5
 

Methods in rice.tutorial.lesson5 with parameters of type Id
 void MyApp.deliver(Id id, Message message)
          Called when we receive a message.
 void MyApp.routeMyMsg(Id id)
          Called to route a message to the id
 

Uses of Id in rice.tutorial.lesson6
 

Methods in rice.tutorial.lesson6 with parameters of type Id
 void MyScribeClient.deliver(Id id, Message message)
          Part of the Application interface.
 

Uses of Id in rice.tutorial.lesson7
 

Constructors in rice.tutorial.lesson7 with parameters of type Id
MyPastContent(Id id, java.lang.String content)
          Takes an environment for the timestamp An IdFactory to generate the hash The content to be stored.
 

Uses of Id in rice.tutorial.rawserialization
 

Methods in rice.tutorial.rawserialization with parameters of type Id
 void MyApp.deliver(Id id, Message message)
          Called when we receive a message.
 void MyApp.routeMyMsg(Id id)
          Called to route a message to the id
 

Constructors in rice.tutorial.rawserialization with parameters of type Id
MyMsg(Id from, Id to)
          Constructor.
 

Uses of Id in rice.tutorial.rawserialization2
 

Methods in rice.tutorial.rawserialization2 with parameters of type Id
 void MyApp.deliver(Id id, Message message)
          Called when we receive a message.
 void MyApp.routeMyMsg(Id id)
          Called to route a message to the id
 

Constructors in rice.tutorial.rawserialization2 with parameters of type Id
MyMsg(NodeHandle from, Id to)
          Constructor.
 

Uses of Id in rice.tutorial.splitstream
 

Methods in rice.tutorial.splitstream with parameters of type Id
 void MySplitStreamClient.deliver(Id id, Message message)
          Part of the Application interface.
 


Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection