|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--ostore.util.StandardStage
|
+--dd.host.impl.HostHbStage
HostHbStage handles the logic that modifies the
local information stored about a particular host in the system.
HostInfo,
PtrMgr| Nested Class Summary | |
|---|---|
static class |
HostHbStage.DeadMail
DeadMail is
mail delivered to every
node in the system carrying news that a node recently died. |
static class |
HostHbStage.HostDbReq
HostDbReq/HostHbStage.HostDbResp
are used to tranfer the contents
of the HostDb from an older leaf
set member to a new node. |
static class |
HostHbStage.HostDbResp
HostHbStage.HostDbReq/HostDbResp
are used to tranfer the contents
of the HostDb from an older leaf
set member to a new node. |
static class |
HostHbStage.HostHb
HostHb; that is, we are alive. |
static class |
HostHbStage.Ping
Ping another
node to test if the node
is alive. |
static class |
HostHbStage.Pong
Pong; that is, let another node
know that we are alive. |
| Field Summary | |
|---|---|
short |
_seq
A sequence number to keep track of position of a
HostDb transfer. |
protected static long |
appId
Unique identifier for this stage. |
| Fields inherited from class ostore.util.StandardStage |
|---|
classifier, DEBUG, event_types, inb_msg_types, logger, my_node_id, my_sink, outb_msg_types, resender, resender_tokens, serializable_types, sim_running, tag |
| Constructor Summary | |
|---|---|
HostHbStage()
Constructor: Creates a new HostHbStage stage. |
|
| Method Summary | |
|---|---|
void |
dumpRevpointers(Map revs,
int level)
dumpRevpointers prints the specified level of the
reverse pointers to standard error. |
void |
handleEvent(QueueElementIF item)
Specified by seda.sandStorm.api.EventHandlerIF |
void |
init(ConfigDataIF config)
Specified by seda.sandStorm.api.EventHandlerIF |
| Methods inherited from class ostore.util.StandardStage |
|---|
BUG, BUG, BUG, destroy, dispatch, enqueue, handleEvents, now_ms, now_us |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final long appId
this stage.
public short _seq
sequence number to keep track of position of a
HostDb transfer.
| Constructor Detail |
public HostHbStage()
throws Exception
HostHbStage stage.
| Method Detail |
public void handleEvent(QueueElementIF item)
throws EventHandlerException
handleEvent in interface EventHandlerIFEventHandlerException
public void init(ConfigDataIF config)
throws Exception
init in interface EventHandlerIFinit in class StandardStageException
public void dumpRevpointers(Map revs,
int level)
dumpRevpointers prints the specified level of the
reverse pointers to standard error.
revs - reverse pointers.level - Level of reverse pointers.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||