public interface IRingApplicationService
Modifier and Type | Interface and Description |
---|---|
static class |
IRingApplicationService.State
State enum.
|
Modifier and Type | Field and Description |
---|---|
static int |
TIMEOUT |
Modifier and Type | Method and Description |
---|---|
IFuture<IFinger> |
findSuccessor(IID id)
Find the successor of a given ID in the ring.
|
IFuture<IID> |
getId()
Return own ID.
|
IFuture<IFinger> |
getPredecessor()
Return the successor of this node.
|
IRingApplicationService.State |
getState()
Returns the current state of this ring node.
|
IFuture<IFinger> |
getSuccessor()
Return the successor of this node.
|
boolean |
isInitialized()
Gets the initialized flag.
|
void |
setInitialized(boolean b)
Sets the initialized flag.
|
ISubscriptionIntermediateFuture<RingNodeEvent> |
subscribeForEvents()
Subscribes for RingNodeEvents.
|
static final int TIMEOUT
IFuture<IFinger> getSuccessor()
IFuture<IFinger> getPredecessor()
IFuture<IFinger> findSuccessor(IID id)
id
- ID to find the successor of.ISubscriptionIntermediateFuture<RingNodeEvent> subscribeForEvents()
IRingApplicationService.State getState()
void setInitialized(boolean b)
boolean isInitialized()