|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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()
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||