|
Rice Pastry API | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Id in rice.p2p.commonapi |
Methods in rice.p2p.commonapi that return Id | |
rice.p2p.commonapi.Id |
Endpoint.getId()
Returns this node's id, which is its identifier in the namespace. |
rice.p2p.commonapi.Id |
Id.addToId(Id.Distance offset)
Returns an Id corresponding to this Id plus a given distance |
rice.p2p.commonapi.Id |
IdFactory.buildId(byte[] material)
Builds a protocol-specific Id given the source data. |
rice.p2p.commonapi.Id |
IdFactory.buildId(int[] material)
Builds a protocol-specific Id given the source data. |
rice.p2p.commonapi.Id |
IdFactory.buildId(java.lang.String string)
Builds a protocol-specific Id by using the hash of the given string as source data. |
rice.p2p.commonapi.Id |
IdRange.getCCWId()
get counterclockwise edge of range |
rice.p2p.commonapi.Id |
IdRange.getCWId()
get clockwise edge of range |
rice.p2p.commonapi.Id |
Node.getId()
Returns the Id of this node |
abstract rice.p2p.commonapi.Id |
NodeHandle.getId()
Returns this node's id. |
rice.p2p.commonapi.Id |
RouteMessage.getDestinationId()
Returns the destination Id for this message |
Methods in rice.p2p.commonapi with parameters of type Id | |
void |
Application.deliver(rice.p2p.commonapi.Id id,
rice.p2p.commonapi.Message message)
This method is called on the application at the destination node for the given id. |
void |
Endpoint.route(rice.p2p.commonapi.Id id,
rice.p2p.commonapi.Message message,
rice.p2p.commonapi.NodeHandle hint)
This method makes an attempt to route the message to the root of the given id. |
rice.p2p.commonapi.NodeHandleSet |
Endpoint.localLookup(rice.p2p.commonapi.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. |
rice.p2p.commonapi.NodeHandleSet |
Endpoint.replicaSet(rice.p2p.commonapi.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. |
rice.p2p.commonapi.IdRange |
Endpoint.range(rice.p2p.commonapi.NodeHandle handle,
int rank,
rice.p2p.commonapi.Id lkey)
This operation provides information about ranges of keys for which the node is currently a rank-root. |
boolean |
Id.isBetween(rice.p2p.commonapi.Id ccw,
rice.p2p.commonapi.Id cw)
Checks if this Id is between two given ids ccw (inclusive) and cw (exclusive) on the circle |
boolean |
Id.isBetween(rice.p2p.commonapi.Id ccw,
rice.p2p.commonapi.Id cw)
Checks if this Id is between two given ids ccw (inclusive) and cw (exclusive) on the circle |
boolean |
Id.clockwise(rice.p2p.commonapi.Id nid)
Checks to see if the Id nid is clockwise or counterclockwise from this, on the ring. |
Id.Distance |
Id.distanceFromId(rice.p2p.commonapi.Id nid)
Returns the shorter numerical distance on the ring between a pair of Ids. |
Id.Distance |
Id.longDistanceFromId(rice.p2p.commonapi.Id nid)
Returns the longer numerical distance on the ring between a pair of Ids. |
rice.p2p.commonapi.IdRange |
IdFactory.buildIdRange(rice.p2p.commonapi.Id cw,
rice.p2p.commonapi.Id ccw)
Creates an IdRange given the CW and CCW ids. |
rice.p2p.commonapi.IdRange |
IdFactory.buildIdRange(rice.p2p.commonapi.Id cw,
rice.p2p.commonapi.Id ccw)
Creates an IdRange given the CW and CCW ids. |
boolean |
IdRange.containsId(rice.p2p.commonapi.Id key)
test if a given key lies within this range |
void |
IdSet.addId(rice.p2p.commonapi.Id id)
add a member |
void |
IdSet.removeId(rice.p2p.commonapi.Id id)
remove a member |
boolean |
IdSet.isMemberId(rice.p2p.commonapi.Id id)
test membership |
rice.p2p.commonapi.NodeHandle |
NodeHandleSet.getHandle(rice.p2p.commonapi.Id id)
Finds the NodeHandle associated with the NodeId. |
boolean |
NodeHandleSet.memberHandle(rice.p2p.commonapi.Id id)
Verifies if the set contains this particular id. |
rice.p2p.commonapi.NodeHandle |
NodeHandleSet.removeHandle(rice.p2p.commonapi.Id id)
Removes a node id and its handle from the set. |
int |
NodeHandleSet.getIndexHandle(rice.p2p.commonapi.Id id)
Gets the index of the element with the given node id. |
void |
RouteMessage.setDestinationId(rice.p2p.commonapi.Id id)
Sets the destination Id for this message |
Uses of Id in rice.p2p.past |
Fields in rice.p2p.past declared as Id | |
protected rice.p2p.commonapi.Id |
ContentHashPastContent.myId
|
Methods in rice.p2p.past that return Id | |
rice.p2p.commonapi.Id |
ContentHashPastContent.getId()
Returns the Id under which this object is stored in Past. |
rice.p2p.commonapi.Id |
ContentHashPastContentHandle.getId()
Returns the id of the PastContent object associated with this handle |
rice.p2p.commonapi.Id |
PastContent.getId()
Returns the Id under which this object is stored in Past. |
rice.p2p.commonapi.Id |
PastContentHandle.getId()
get the id of the PastContent object associated with this handle |
Methods in rice.p2p.past with parameters of type Id | |
rice.p2p.past.PastContent |
ContentHashPastContent.checkInsert(rice.p2p.commonapi.Id id,
rice.p2p.past.PastContent existingContent)
Checks if a insert operation should be allowed. |
void |
Past.lookup(rice.p2p.commonapi.Id id,
rice.Continuation command)
Retrieves the object stored in this instance of Past with the given ID. |
void |
Past.lookupHandles(rice.p2p.commonapi.Id id,
int max,
rice.Continuation command)
Retrieves the handles of up to max replicas of the object stored in this instance of Past with the given ID. |
rice.p2p.past.PastContent |
PastContent.checkInsert(rice.p2p.commonapi.Id id,
rice.p2p.past.PastContent existingContent)
Checks if a insert operation should be allowed. |
void |
PastImpl.lookup(rice.p2p.commonapi.Id id,
rice.Continuation command)
Retrieves the object stored in this instance of Past with the given ID. |
void |
PastImpl.lookupHandles(rice.p2p.commonapi.Id id,
int max,
rice.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.deliver(rice.p2p.commonapi.Id id,
rice.p2p.commonapi.Message message)
This method is called on the application at the destination node for the given id. |
Constructors in rice.p2p.past with parameters of type Id | |
ContentHashPastContentHandle(rice.p2p.commonapi.NodeHandle nh,
rice.p2p.commonapi.Id id)
Constructor |
Uses of Id in rice.p2p.past.messaging |
Fields in rice.p2p.past.messaging declared as Id | |
protected rice.p2p.commonapi.Id |
PastMessage.dest
|
Methods in rice.p2p.past.messaging that return Id | |
rice.p2p.commonapi.Id |
FetchHandleMessage.getId()
Method which returns the id |
rice.p2p.commonapi.Id |
LookupHandlesMessage.getId()
Method which returns the id |
rice.p2p.commonapi.Id |
LookupMessage.getId()
Method which returns the id |
rice.p2p.commonapi.Id |
PastMessage.getDestination()
Method which returns this messages' destination address |
Constructors in rice.p2p.past.messaging with parameters of type Id | |
CacheMessage(int uid,
rice.p2p.past.PastContent content,
rice.p2p.commonapi.NodeHandle source,
rice.p2p.commonapi.Id dest)
Constructor which takes a unique integer Id and the local id |
|
ContinuationMessage(int uid,
rice.p2p.commonapi.NodeHandle source,
rice.p2p.commonapi.Id dest)
Constructor which takes a unique integer Id, as well as the data to be stored |
|
FetchHandleMessage(int uid,
rice.p2p.commonapi.Id id,
rice.p2p.commonapi.NodeHandle source,
rice.p2p.commonapi.Id dest)
Constructor |
|
FetchHandleMessage(int uid,
rice.p2p.commonapi.Id id,
rice.p2p.commonapi.NodeHandle source,
rice.p2p.commonapi.Id dest)
Constructor |
|
FetchMessage(int uid,
rice.p2p.past.PastContentHandle handle,
rice.p2p.commonapi.NodeHandle source,
rice.p2p.commonapi.Id dest)
Constructor |
|
InsertMessage(int uid,
rice.p2p.past.PastContent content,
rice.p2p.commonapi.NodeHandle source,
rice.p2p.commonapi.Id dest)
Constructor which takes a unique integer Id, as well as the data to be stored |
|
LookupHandlesMessage(int uid,
rice.p2p.commonapi.Id id,
int max,
rice.p2p.commonapi.NodeHandle source,
rice.p2p.commonapi.Id dest)
Constructor |
|
LookupHandlesMessage(int uid,
rice.p2p.commonapi.Id id,
int max,
rice.p2p.commonapi.NodeHandle source,
rice.p2p.commonapi.Id dest)
Constructor |
|
LookupMessage(int uid,
rice.p2p.commonapi.Id id,
rice.p2p.commonapi.NodeHandle source,
rice.p2p.commonapi.Id dest)
Constructor |
|
LookupMessage(int uid,
rice.p2p.commonapi.Id id,
rice.p2p.commonapi.NodeHandle source,
rice.p2p.commonapi.Id dest)
Constructor |
|
PastMessage(int id,
rice.p2p.commonapi.NodeHandle source,
rice.p2p.commonapi.Id dest)
Constructor which takes a unique integer Id |
Uses of Id in rice.p2p.past.testing |
Fields in rice.p2p.past.testing declared as Id | |
protected rice.p2p.commonapi.Id |
PastRegrTest.TestPastContent.id
|
protected rice.p2p.commonapi.Id |
PastRegrTest.TestPastContentHandle.id
|
Methods in rice.p2p.past.testing that return Id | |
rice.p2p.commonapi.Id |
PastRegrTest.TestPastContent.getId()
|
rice.p2p.commonapi.Id |
PastRegrTest.TestPastContentHandle.getId()
|
rice.p2p.commonapi.Id |
PastRegrTest.TestRouteMessage.getDestinationId()
|
Methods in rice.p2p.past.testing with parameters of type Id | |
rice.p2p.past.PastContent |
PastRegrTest.TestPastContent.checkInsert(rice.p2p.commonapi.Id id,
rice.p2p.past.PastContent existingContent)
|
rice.p2p.past.PastContent |
PastRegrTest.NonOverwritingTestPastContent.checkInsert(rice.p2p.commonapi.Id id,
rice.p2p.past.PastContent existingContent)
|
void |
PastRegrTest.TestRouteMessage.setDestinationId(rice.p2p.commonapi.Id id)
|
Constructors in rice.p2p.past.testing with parameters of type Id | |
PastRegrTest.TestPastContent(rice.p2p.commonapi.Id id)
|
|
PastRegrTest.VersionedTestPastContent(rice.p2p.commonapi.Id id,
int version)
|
|
PastRegrTest.NonOverwritingTestPastContent(rice.p2p.commonapi.Id id,
int version)
|
|
PastRegrTest.NonMutableTestPastContent(rice.p2p.commonapi.Id id)
|
|
PastRegrTest.TestPastContentHandle(rice.p2p.past.Past past,
rice.p2p.commonapi.Id id)
|
|
PastRegrTest.TestRouteMessage(rice.p2p.commonapi.Id id,
rice.p2p.commonapi.NodeHandle nextHop,
rice.p2p.commonapi.Message message)
|
Uses of Id in rice.p2p.scribe |
Fields in rice.p2p.scribe declared as Id | |
protected rice.p2p.commonapi.Id[] |
ScribeImpl.TopicManager.pathToRoot
The current path to the root for this node |
protected rice.p2p.commonapi.Id |
Topic.id
The Id to which this topic is mapped |
Methods in rice.p2p.scribe that return Id | |
rice.p2p.commonapi.Id |
ScribeImpl.getId()
Returns the Id of the local node |
rice.p2p.commonapi.Id[] |
ScribeImpl.TopicManager.getPathToRoot()
Gets the PathToRoot attribute of the TopicManager object |
rice.p2p.commonapi.Id |
Topic.getId()
Returns the Id to which this topic is mapped |
static rice.p2p.commonapi.Id |
Topic.getId(rice.p2p.commonapi.IdFactory factory,
java.lang.String name)
Returns the Id to which the string is mapped |
Methods in rice.p2p.scribe with parameters of type Id | |
void |
ScribeImpl.deliver(rice.p2p.commonapi.Id id,
rice.p2p.commonapi.Message message)
This method is called on the application at the destination node for the given id. |
void |
ScribeImpl.TopicManager.setPathToRoot(rice.p2p.commonapi.Id[] pathToRoot)
Sets the PathToRoot attribute of the TopicManager object |
Constructors in rice.p2p.scribe with parameters of type Id | |
Topic(rice.p2p.commonapi.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 rice.p2p.commonapi.Id[] |
SubscribeAckMessage.pathToRoot
The contained path to the root |
protected rice.p2p.commonapi.Id |
SubscribeMessage.previousParent
The previous parent |
Methods in rice.p2p.scribe.messaging that return Id | |
rice.p2p.commonapi.Id[] |
SubscribeAckMessage.getPathToRoot()
Returns the path to the root for the node receiving this message |
rice.p2p.commonapi.Id |
SubscribeMessage.getPreviousParent()
Returns the node who is trying to subscribe |
Constructors in rice.p2p.scribe.messaging with parameters of type Id | |
SubscribeAckMessage(rice.p2p.commonapi.NodeHandle source,
rice.p2p.scribe.Topic topic,
rice.p2p.commonapi.Id[] pathToRoot,
int id)
Constructor which takes a unique integer Id |
|
SubscribeMessage(rice.p2p.commonapi.NodeHandle source,
rice.p2p.scribe.Topic topic,
rice.p2p.commonapi.Id previousParent,
int id,
rice.p2p.scribe.ScribeContent 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 | |
rice.p2p.commonapi.Id |
ScribeRegrTest.TestRouteMessage.getDestinationId()
Gets the DestinationId attribute of the TestRouteMessage object |
Methods in rice.p2p.scribe.testing with parameters of type Id | |
void |
ScribeRegrTest.TestRouteMessage.setDestinationId(rice.p2p.commonapi.Id id)
Sets the DestinationId attribute of the TestRouteMessage object |
Constructors in rice.p2p.scribe.testing with parameters of type Id | |
ScribeRegrTest.TestRouteMessage(rice.p2p.commonapi.Id id,
rice.p2p.commonapi.NodeHandle nextHop,
rice.p2p.commonapi.Message message)
Constructor for TestRouteMessage. |
Uses of Id in rice.p2p.splitstream |
Fields in rice.p2p.splitstream declared as Id | |
protected rice.p2p.commonapi.Id |
Channel.localId
The Id of the local node |
protected rice.p2p.commonapi.Id |
ChannelId.id
The underlying id for this channelid |
protected rice.p2p.commonapi.Id |
StripeId.id
This stripe's Id |
Methods in rice.p2p.splitstream that return Id | |
rice.p2p.commonapi.Id |
Channel.getLocalId()
Gets the local node id. |
rice.p2p.commonapi.Id |
ChannelId.getId()
Gets the Id attribute of the ChannelId object |
rice.p2p.commonapi.Id |
StripeId.getId()
Gets the Id attribute of the StripeId object |
Methods in rice.p2p.splitstream with parameters of type Id | |
java.util.Vector |
SplitStreamScribePolicy.freeBandwidthUltimate(rice.p2p.commonapi.Id stripeId)
This method makes an attempt to free up bandwidth from non-primary, non-root stripes (for which local node is not root). |
rice.p2p.commonapi.NodeHandle |
SplitStreamScribePolicy.freeBandwidth(rice.p2p.splitstream.Channel channel,
rice.p2p.commonapi.NodeHandle newChild,
rice.p2p.commonapi.Id stripeId)
This method attempts to free bandwidth from our primary stripe. |
static int |
SplitStreamScribePolicy.getPrefixMatch(rice.p2p.commonapi.Id target,
rice.p2p.commonapi.Id sample)
Helper method for finding prefix match between two Ids. |
static int |
SplitStreamScribePolicy.getPrefixMatch(rice.p2p.commonapi.Id target,
rice.p2p.commonapi.Id sample)
Helper method for finding prefix match between two Ids. |
Constructors in rice.p2p.splitstream with parameters of type Id | |
Channel(rice.p2p.splitstream.ChannelId channelId,
rice.p2p.scribe.Scribe scribe,
rice.p2p.commonapi.IdFactory factory,
rice.p2p.commonapi.Id localId)
Constructor to create a new channel from scratch |
|
ChannelId(rice.p2p.commonapi.Id id)
Constructor that takes in an Id and makes a ChannelId |
|
StripeId(rice.p2p.commonapi.Id id)
Constructor that takes in a nodeId and makes a StripeId |
Uses of Id in rice.past |
Methods in rice.past that return Id | |
rice.p2p.commonapi.Id |
PASTServiceImpl.getId()
Deprecated. Returns the Node |
Methods in rice.past with parameters of type Id | |
void |
PASTService.insert(rice.p2p.commonapi.Id id,
java.io.Serializable obj,
rice.Continuation command)
Deprecated. Inserts an object with the given ID into distributed storage. |
void |
PASTService.lookup(rice.p2p.commonapi.Id id,
rice.Continuation command)
Deprecated. Retrieves the object and all associated updates with the given ID. |
void |
PASTService.exists(rice.p2p.commonapi.Id id,
rice.Continuation command)
Deprecated. Determines whether an object is currently stored at the given ID. |
void |
PASTService.delete(rice.p2p.commonapi.Id id,
rice.Continuation command)
Deprecated. Reclaims the storage used by the object with the given ID. |
void |
PASTServiceImpl.deliver(rice.p2p.commonapi.Id id,
rice.p2p.commonapi.Message msg)
Deprecated. Called by pastry when a message arrives for this application. |
void |
PASTServiceImpl.insert(rice.p2p.commonapi.Id id,
java.io.Serializable obj,
rice.Continuation command)
Deprecated. Inserts an object with the given ID into distributed storage. |
void |
PASTServiceImpl.lookup(rice.p2p.commonapi.Id id,
rice.Continuation command)
Deprecated. Retrieves the object and all associated updates with the given ID. |
void |
PASTServiceImpl.exists(rice.p2p.commonapi.Id id,
rice.Continuation command)
Deprecated. Determines whether an object is currently stored at the given ID. |
void |
PASTServiceImpl.delete(rice.p2p.commonapi.Id id,
rice.Continuation command)
Deprecated. Reclaims the storage used by the object with the given ID. |
Uses of Id in rice.past.messaging |
Fields in rice.past.messaging declared as Id | |
protected rice.p2p.commonapi.Id |
PASTMessage._fileId
Deprecated. The fileId of the file, to be used as destination. |
protected rice.p2p.commonapi.Id |
PASTMessage._senderId
Deprecated. The id of the sender |
Methods in rice.past.messaging that return Id | |
rice.p2p.commonapi.Id |
PASTMessage.getSource()
Deprecated. Gets the source Id for this message. |
rice.p2p.commonapi.Id |
PASTMessage.getFileId()
Deprecated. Gets the fileId for this file, which is used as the destination. |
Constructors in rice.past.messaging with parameters of type Id | |
MessageExists(rice.p2p.commonapi.Id nodeId,
rice.p2p.commonapi.Id fileId)
Deprecated. Builds a new request to see if a file exists. |
|
MessageExists(rice.p2p.commonapi.Id nodeId,
rice.p2p.commonapi.Id fileId)
Deprecated. Builds a new request to see if a file exists. |
|
MessageFetch(rice.p2p.commonapi.Id nodeId,
rice.p2p.commonapi.Id fileId)
Deprecated. Builds a new request to lookup an existing file. |
|
MessageFetch(rice.p2p.commonapi.Id nodeId,
rice.p2p.commonapi.Id fileId)
Deprecated. Builds a new request to lookup an existing file. |
|
MessageInsert(rice.p2p.commonapi.Id nodeId,
rice.p2p.commonapi.Id fileId,
java.io.Serializable file)
Deprecated. Builds a new request to insert a file. |
|
MessageInsert(rice.p2p.commonapi.Id nodeId,
rice.p2p.commonapi.Id fileId,
java.io.Serializable file)
Deprecated. Builds a new request to insert a file. |
|
MessageLookup(rice.p2p.commonapi.Id nodeId,
rice.p2p.commonapi.Id fileId)
Deprecated. Builds a new request to lookup an existing file. |
|
MessageLookup(rice.p2p.commonapi.Id nodeId,
rice.p2p.commonapi.Id fileId)
Deprecated. Builds a new request to lookup an existing file. |
|
MessageReclaim(rice.p2p.commonapi.Id nodeId,
rice.p2p.commonapi.Id fileId)
Deprecated. Builds a new request to reclaim space used by an existing file. |
|
MessageReclaim(rice.p2p.commonapi.Id nodeId,
rice.p2p.commonapi.Id fileId)
Deprecated. Builds a new request to reclaim space used by an existing file. |
|
PASTMessage(rice.p2p.commonapi.Id source,
rice.p2p.commonapi.Id fileId,
int messageType)
Deprecated. Constructor |
|
PASTMessage(rice.p2p.commonapi.Id source,
rice.p2p.commonapi.Id fileId,
int messageType)
Deprecated. Constructor |
|
PASTMessage(rice.p2p.commonapi.Id source,
rice.p2p.commonapi.Id fileId)
Deprecated. Constructor |
|
PASTMessage(rice.p2p.commonapi.Id source,
rice.p2p.commonapi.Id fileId)
Deprecated. Constructor |
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. |
class |
NodeId
Represents a Pastry identifier for a node. |
Methods in rice.pastry that return Id | |
rice.p2p.commonapi.Id |
Id.addToId(Id.Distance offset)
Returns an Id corresponding to this Id plus a given distance |
rice.p2p.commonapi.Id |
IdRange.getCCWId()
get counterclockwise edge of range |
rice.p2p.commonapi.Id |
IdRange.getCWId()
get clockwise edge of range |
rice.p2p.commonapi.Id |
NodeHandle.getId()
|
rice.p2p.commonapi.Id |
PastryNode.getId()
Returns the Id of this node |
Methods in rice.pastry with parameters of type Id | |
boolean |
Id.isBetween(rice.p2p.commonapi.Id ccw,
rice.p2p.commonapi.Id cw)
Checks if this Id is between two given ids ccw (inclusive) and cw (exclusive) on the circle |
boolean |
Id.isBetween(rice.p2p.commonapi.Id ccw,
rice.p2p.commonapi.Id cw)
Checks if this Id is between two given ids ccw (inclusive) and cw (exclusive) on the circle |
boolean |
Id.clockwise(rice.p2p.commonapi.Id nid)
Checks to see if the Id nid is clockwise or counterclockwise from this, on the ring. |
Id.Distance |
Id.distanceFromId(rice.p2p.commonapi.Id nid)
Returns the shorter numerical distance on the ring between a pair of Ids. |
Id.Distance |
Id.longDistanceFromId(rice.p2p.commonapi.Id nid)
Returns the longer numerical distance on the ring between a pair of Ids. |
boolean |
IdRange.containsId(rice.p2p.commonapi.Id key)
test if a given key lies within this range |
void |
IdSet.addId(rice.p2p.commonapi.Id id)
add a member |
void |
IdSet.removeId(rice.p2p.commonapi.Id id)
remove a member |
boolean |
IdSet.isMemberId(rice.p2p.commonapi.Id id)
test membership |
rice.p2p.commonapi.NodeHandle |
NodeSet.getHandle(rice.p2p.commonapi.Id id)
Finds the NodeHandle associated with the NodeId. |
boolean |
NodeSet.memberHandle(rice.p2p.commonapi.Id id)
Verifies if the set contains this particular id. |
rice.p2p.commonapi.NodeHandle |
NodeSet.removeHandle(rice.p2p.commonapi.Id id)
Removes a node id and its handle from the set. |
int |
NodeSet.getIndexHandle(rice.p2p.commonapi.Id id)
Gets the index of the element with the given node id. |
Uses of Id in rice.pastry.commonapi |
Methods in rice.pastry.commonapi that return Id | |
rice.p2p.commonapi.Id |
PastryEndpoint.getId()
Returns this node's id, which is its identifier in the namespace. |
rice.p2p.commonapi.Id |
PastryIdFactory.buildId(byte[] material)
Builds a protocol-specific Id given the source data. |
rice.p2p.commonapi.Id |
PastryIdFactory.buildId(int[] material)
Builds a protocol-specific Id given the source data. |
rice.p2p.commonapi.Id |
PastryIdFactory.buildId(java.lang.String string)
Builds a protocol-specific Id by using the hash of the given string as source data. |
Methods in rice.pastry.commonapi with parameters of type Id | |
void |
PastryEndpoint.route(rice.p2p.commonapi.Id key,
rice.p2p.commonapi.Message msg,
rice.p2p.commonapi.NodeHandle hint)
This operation forwards a message towards the root of key. |
rice.p2p.commonapi.NodeHandleSet |
PastryEndpoint.localLookup(rice.p2p.commonapi.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. |
rice.p2p.commonapi.NodeHandleSet |
PastryEndpoint.replicaSet(rice.p2p.commonapi.Id key,
int max_rank)
This method returns an ordered set of nodehandles on which replicas of the object with key can be stored. |
rice.p2p.commonapi.IdRange |
PastryEndpoint.range(rice.p2p.commonapi.NodeHandle n,
int r,
rice.p2p.commonapi.Id key,
boolean cumulative)
This method provides information about ranges of keys for which the node n is currently a r-root. |
rice.p2p.commonapi.IdRange |
PastryEndpoint.range(rice.p2p.commonapi.NodeHandle n,
int r,
rice.p2p.commonapi.Id key)
This method provides information about ranges of keys for which the node n is currently a r-root. |
boolean |
PastryEndpoint.enrouteMessage(rice.p2p.commonapi.Message msg,
rice.p2p.commonapi.Id key,
rice.pastry.NodeId nextHop,
rice.pastry.routing.SendOptions opt)
|
rice.p2p.commonapi.IdRange |
PastryIdFactory.buildIdRange(rice.p2p.commonapi.Id cw,
rice.p2p.commonapi.Id ccw)
Creates an IdRange given the CW and CCW ids. |
rice.p2p.commonapi.IdRange |
PastryIdFactory.buildIdRange(rice.p2p.commonapi.Id cw,
rice.p2p.commonapi.Id ccw)
Creates an IdRange given the CW and CCW ids. |
Uses of Id in rice.pastry.leafset |
Methods in rice.pastry.leafset with parameters of type Id | |
rice.p2p.commonapi.NodeHandle |
SimilarSet.getHandle(rice.p2p.commonapi.Id id)
Finds the NodeHandle associated with the NodeId. |
boolean |
SimilarSet.memberHandle(rice.p2p.commonapi.Id id)
Verifies if the set contains this particular id. |
rice.p2p.commonapi.NodeHandle |
SimilarSet.removeHandle(rice.p2p.commonapi.Id id)
Removes a node id and its handle from the set. |
int |
SimilarSet.getIndexHandle(rice.p2p.commonapi.Id id)
Gets the index of the element with the given node id. |
Uses of Id in rice.pastry.multiring |
Classes in rice.pastry.multiring that implement Id | |
class |
RingNodeId
This class represents a nodeId, combined with a ring-identfying Id. |
Uses of Id in rice.pastry.routing |
Methods in rice.pastry.routing that return Id | |
rice.p2p.commonapi.Id |
RouteMessage.getDestinationId()
|
Methods in rice.pastry.routing with parameters of type Id | |
void |
RouteMessage.setDestinationId(rice.p2p.commonapi.Id id)
|
rice.p2p.commonapi.NodeHandle |
RouteSet.getHandle(rice.p2p.commonapi.Id id)
Finds the NodeHandle associated with the NodeId. |
boolean |
RouteSet.memberHandle(rice.p2p.commonapi.Id id)
Verifies if the set contains this particular id. |
rice.p2p.commonapi.NodeHandle |
RouteSet.removeHandle(rice.p2p.commonapi.Id id)
Removes a node id and its handle from the set. |
int |
RouteSet.getIndexHandle(rice.p2p.commonapi.Id id)
Gets the index of the element with the given node id. |
Uses of Id in rice.persistence |
Methods in rice.persistence with parameters of type Id | |
void |
Cache.cache(rice.p2p.commonapi.Id id,
java.io.Serializable obj,
rice.Continuation c)
Caches an object in this storage. |
void |
Cache.uncache(rice.p2p.commonapi.Id id,
rice.Continuation c)
Removes the object from the list of cached objects. |
boolean |
Catalog.exists(rice.p2p.commonapi.Id id)
Returns whether or not an object is present in the location id . |
void |
Catalog.exists(rice.p2p.commonapi.Id id,
rice.Continuation c)
Returns whether or not an object is present in the location id . |
void |
Catalog.getObject(rice.p2p.commonapi.Id id,
rice.Continuation c)
Returns the object identified by the given id, or null if
there is no cooresponding object (through receiveResult on c). |
void |
LRUCache.cache(rice.p2p.commonapi.Id id,
java.io.Serializable obj,
rice.Continuation c)
Caches an object in this storage. |
void |
LRUCache.uncache(rice.p2p.commonapi.Id id,
rice.Continuation c)
Removes the object from the list of cached objects. |
boolean |
LRUCache.exists(rice.p2p.commonapi.Id id)
Returns whether or not an object is cached in the location id . |
void |
LRUCache.exists(rice.p2p.commonapi.Id id,
rice.Continuation c)
Returns whether or not an object is cached in the location id . |
void |
LRUCache.getObject(rice.p2p.commonapi.Id id,
rice.Continuation c)
Returns the object identified by the given id. |
void |
MemoryStorage.store(rice.p2p.commonapi.Id id,
java.io.Serializable obj,
rice.Continuation c)
Stores the object under the key id . |
void |
MemoryStorage.unstore(rice.p2p.commonapi.Id id,
rice.Continuation c)
Removes the object from the list of stored objects. |
boolean |
MemoryStorage.exists(rice.p2p.commonapi.Id id)
Returns whether or not the provided id exists |
void |
MemoryStorage.exists(rice.p2p.commonapi.Id id,
rice.Continuation c)
Returns whether or not the provided id exists, by returning a Boolean through receiveResult on c |
void |
MemoryStorage.getObject(rice.p2p.commonapi.Id id,
rice.Continuation c)
Returns the object identified by the given id, or null if
there is no cooresponding object (through receiveResult on c). |
void |
PersistentStorage.store(rice.p2p.commonapi.Id id,
java.io.Serializable obj,
rice.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 |
PersistentStorage.unstore(rice.p2p.commonapi.Id id,
rice.Continuation c)
Request to remove the object from the list of persistend objects. |
boolean |
PersistentStorage.exists(rice.p2p.commonapi.Id id)
Returns whether or not an object is present in the location id . |
void |
PersistentStorage.exists(rice.p2p.commonapi.Id id,
rice.Continuation c)
Returns whether or not an object is present in the location id . |
void |
PersistentStorage.getObject(rice.p2p.commonapi.Id id,
rice.Continuation c)
Returns the object identified by the given id. |
void |
Storage.store(rice.p2p.commonapi.Id id,
java.io.Serializable obj,
rice.Continuation c)
Stores an object in this storage. |
void |
Storage.unstore(rice.p2p.commonapi.Id id,
rice.Continuation c)
Removes the object from the list of stored objects. |
boolean |
StorageManager.exists(rice.p2p.commonapi.Id id)
Returns whether or not an object is present in the location id . |
void |
StorageManager.exists(rice.p2p.commonapi.Id id,
rice.Continuation c)
Returns whether or not an object is present in the location id . |
void |
StorageManager.getObject(rice.p2p.commonapi.Id id,
rice.Continuation c)
Returns the object identified by the given id, or null if
there is no cooresponding object (through receiveResult on c). |
void |
StorageManager.store(rice.p2p.commonapi.Id id,
java.io.Serializable obj,
rice.Continuation c)
Stores an object in this storage. |
void |
StorageManager.unstore(rice.p2p.commonapi.Id id,
rice.Continuation c)
Removes the object from the list of stored objects. |
void |
StorageManager.cache(rice.p2p.commonapi.Id id,
java.io.Serializable obj,
rice.Continuation c)
Caches an object in this storage. |
void |
StorageManager.uncache(rice.p2p.commonapi.Id id,
rice.Continuation c)
Removes the object from the list of cached objects. |
|
Rice Pastry API | ||||||||||
PREV NEXT | FRAMES NO FRAMES |