|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.util.StandardStage
Implements functionality common to most stages.
Field Summary | |
---|---|
protected Classifier |
classifier
|
protected boolean |
DEBUG
|
protected Object[] |
event_types
|
protected Object[] |
inb_msg_types
|
protected org.apache.log4j.Logger |
logger
|
protected NodeId |
my_node_id
|
protected SinkIF |
my_sink
|
protected Object[] |
outb_msg_types
|
protected Resender |
resender
a Resender used to remember pending requests |
protected Map |
resender_tokens
a map storing Resender tokens for pending requests |
protected Object[] |
serializable_types
|
protected boolean |
sim_running
|
protected String |
tag
|
Constructor Summary | |
---|---|
protected |
StandardStage()
|
Method Summary | |
---|---|
protected void |
BUG(Exception e)
Like calling assert(false) in C; prints a stack trace. |
protected void |
BUG(String msg)
Like calling assert(false) in C. |
protected void |
BUG(String msg,
Exception e)
Like calling assert(false) in C; prints a stack trace. |
void |
destroy()
|
protected void |
dispatch(QueueElementIF item)
|
protected void |
enqueue(QueueElementIF event,
SinkIF sink)
|
void |
handleEvents(QueueElementIF[] element_array)
|
void |
init(ConfigDataIF config)
|
protected long |
now_ms()
|
protected long |
now_us()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface seda.sandStorm.api.EventHandlerIF |
---|
handleEvent |
Field Detail |
protected Classifier classifier
protected NodeId my_node_id
protected SinkIF my_sink
protected String tag
protected Object[] event_types
protected Object[] inb_msg_types
protected Object[] outb_msg_types
protected Object[] serializable_types
protected boolean DEBUG
protected boolean sim_running
protected org.apache.log4j.Logger logger
protected Resender resender
Resender
used to remember pending requests
protected Map resender_tokens
Resender
tokens for pending requests
Constructor Detail |
protected StandardStage()
Method Detail |
protected long now_ms()
protected long now_us()
protected final void BUG(String msg)
protected final void BUG(String msg, Exception e)
protected final void BUG(Exception e)
public void init(ConfigDataIF config) throws Exception
init
in interface EventHandlerIF
Exception
public void destroy()
destroy
in interface EventHandlerIF
public void handleEvents(QueueElementIF[] element_array) throws EventHandlerException
handleEvents
in interface EventHandlerIF
EventHandlerException
protected void dispatch(QueueElementIF item)
protected void enqueue(QueueElementIF event, SinkIF sink)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |