|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The subscriber of monitoring result. The instance of Subscriber can be registered to interesting MemoryMonitor, and listening the result data.
| Method Summary | |
void |
hostStopped()
This method will be invoked when host monitor stopped. |
void |
messageDelivered(java.lang.String message)
This message will be invoked when any MemoryMonitor sends user message. |
void |
resultReceived(long total,
long free)
This method will be invoked when host monitor has monitoring date to deliver. |
| Method Detail |
public void resultReceived(long total,
long free)
total - total allocated memory.free - free memory.public void hostStopped()
public void messageDelivered(java.lang.String message)
message - User message.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||