|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface to implement the forwarding strategy
| Method Summary | |
void |
destroy()
This is to inform the forwarder that it has been destroyed, all cleanup activities need to be handled by this method. |
void |
forward(Statistics stats)
Forward the collected statistics to the central store |
void |
forward(Statistics[] stats)
Variant for handling collection of unmerged stats |
void |
init(boolean suspended)
This is to inform the forwarder to perform initialization. |
void |
resume()
Infrom the forwarder to resume operation |
void |
suspend()
Inform the forwarder to suspend operation |
| Method Detail |
public void init(boolean suspended)
suspended - - whether the forwarded needs to be
initialized in a suspended state.public void forward(Statistics stats)
stats - public void forward(Statistics[] stats)
stats - public void suspend()
public void resume()
public void destroy()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||