Uses of Class
org.planx.xmlstore.routing.Identifier

Packages that use Identifier
org.planx.xmlstore.references   
org.planx.xmlstore.routing   
org.planx.xmlstore.routing.operation   
 

Uses of Identifier in org.planx.xmlstore.references
 

Methods in org.planx.xmlstore.references that return Identifier
 Identifier ValueReference.asIdentifier()
          Returns this ValueReference as an Identifier acceptable by the routing layer.
 Identifier ContentValueReference.asIdentifier()
          Returns this reference as an Identifier acceptable by the routing layer.
 

Uses of Identifier in org.planx.xmlstore.routing
 

Methods in org.planx.xmlstore.routing that return Identifier
 Identifier Node.getId()
          Returns the identifier of this node.
 Identifier TimestampedEntry.getKey()
           
static Identifier Identifier.randomIdentifier()
          Returns a random Identifer.
 

Methods in org.planx.xmlstore.routing with parameters of type Identifier
 boolean DistributedMap.contains(Identifier key)
          Returns true if the map contains the specified key and false otherwise.
 boolean Kademlia.contains(Identifier key)
          Returns true if the map contains the specified key and false otherwise.
 Serializable DistributedMap.get(Identifier key)
          Returns the value associated with the specified key or null if does not exist.
 Serializable Kademlia.get(Identifier key)
          Returns the value associated with the specified key.
 List Space.getClosestNodes(Identifier id)
          Returns the K nodes known by this space closest to the specified id.
 void DistributedMap.put(Identifier key, Serializable value)
          Associates the specified value with the specified key.
 void Kademlia.put(Identifier key, Serializable value)
          Associates the specified value with the specified key.
 void DistributedMap.remove(Identifier key)
          Removes the mapping with the specified key from this map (optional operation).
 void Kademlia.remove(Identifier key)
          Removes the mapping with the specified key.
 List DistributedMap.responsiblePeers(Identifier key)
          Returns a List of InetSocketAddresses identifying the peers responsible for the specified key according to the underlying routing algorithm.
 List Kademlia.responsiblePeers(Identifier key)
           
static Node[] Node.sort(Collection nodes, Identifier rel)
          Sorts the nodes in the specified list in order of increasing distance to the specified identifier.
 

Constructors in org.planx.xmlstore.routing with parameters of type Identifier
Kademlia(Identifier id, int udpPort)
          Creates a Kademlia DistributedMap with the specified identifier and no persistence.
Kademlia(Identifier id, int udpPort, Configuration config)
          Creates a Kademlia DistributedMap with the specified identifier and no persistence.
Kademlia(String name, Identifier defaultId, int udpPort, int contactPort, InetSocketAddress bootstrap, Configuration config)
          Creates a Kademlia DistributedMap using the specified name as filename base.
Node.DistanceComparator(Identifier relId)
          The identifier relative to which the distance should be measured.
Node(InetAddress ip, int port, Identifier id)
          Constructs a node with the specified IP address, UDP port, and identifier.
Node(InetAddress ip, int port, int contactPort, Identifier id)
           
TimestampedEntry(Identifier key, TimestampedValue value)
           
 

Uses of Identifier in org.planx.xmlstore.routing.operation
 

Fields in org.planx.xmlstore.routing.operation declared as Identifier
protected  Identifier NodeLookupOperation.id
           
protected  Identifier DataMessage.key
           
protected  Identifier RemoveMessage.key
           
protected  Identifier LookupMessage.lookup
           
 

Methods in org.planx.xmlstore.routing.operation that return Identifier
 Identifier DataMessage.getKey()
           
 Identifier RemoveMessage.getKey()
           
 Identifier LookupMessage.getLookupId()
           
 

Constructors in org.planx.xmlstore.routing.operation with parameters of type Identifier
DataLookupMessage(Node origin, Identifier lookup)
           
DataLookupOperation(Configuration conf, MessageServer server, Space space, Node local, Identifier id)
           
DataMessage(Node origin, Identifier key, TimestampedValue value)
           
LookupMessage(Node origin, Identifier lookup)
           
NodeLookupMessage(Node origin, Identifier lookup)
           
NodeLookupOperation(Configuration conf, MessageServer server, Space space, Node local, Identifier id)
          Create a NodeLookupOperation for the specified id.
RemoveMessage(Node origin, Identifier key)
           
RemoveOperation(Configuration conf, MessageServer server, Space space, Map localMap, Node local, Identifier key)
           
ResponsibleOperation(Configuration conf, MessageServer server, Space space, Node local, Identifier key)
           
StoreMessage(Node origin, Identifier key, TimestampedValue value, boolean upd)
           
StoreOperation(Configuration conf, MessageServer server, Space space, Map localMap, Node local, Identifier key, TimestampedValue value)
           
 



Copyright © 2010. All Rights Reserved.