|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use RoutingException | |
|---|---|
| org.planx.xmlstore.routing | |
| org.planx.xmlstore.routing.operation | |
| Uses of RoutingException in org.planx.xmlstore.routing |
|---|
| Methods in org.planx.xmlstore.routing that throw RoutingException | |
|---|---|
void |
Kademlia.connect(InetSocketAddress bootstrap)
Attempts to connect to an existing peer-to-peer network. |
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. |
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). |
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)
|
| Constructors in org.planx.xmlstore.routing that throw RoutingException | |
|---|---|
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. |
|
Kademlia(String name,
int udpPort,
int contactPort,
InetSocketAddress bootstrap)
Creates a Kademlia DistributedMap using the specified name as filename base. |
|
Kademlia(String name,
int udpPort,
int contactPort,
InetSocketAddress bootstrap,
Configuration config)
Creates a Kademlia DistributedMap using the specified name as filename base. |
|
| Uses of RoutingException in org.planx.xmlstore.routing.operation |
|---|
| Methods in org.planx.xmlstore.routing.operation that throw RoutingException | |
|---|---|
Object |
StoreOperation.execute()
|
Object |
RestoreOperation.execute()
|
Object |
ConnectOperation.execute()
|
Object |
DataLookupOperation.execute()
|
Object |
ResponsibleOperation.execute()
Returns a List of InetSocketAddress objects identifying the K closest peers to the key specified in the constructor. |
Object |
NodeLookupOperation.execute()
|
Object |
RemoveOperation.execute()
|
Object |
RefreshOperation.execute()
|
abstract Object |
Operation.execute()
Starts the operation and returns when the operation is finished. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||