|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LogPollable
An interface for a client side proxy to implement so that a remote object can be polled for log messages.
The idea of being able to poll is that a remote component might be generating thousands of log message which would flood the network if they arrived as notifications. Although polling would miss messages it maintains performance and the time you really want to see messages is when the remote object crashes or hangs.
Polling provides an indication that a remote component is working or what a potential problem might be.
Method Summary | |
---|---|
String |
consoleId()
Get the consoleId. |
LogEvent[] |
retrieveConsoleEvents(long from,
int max)
Poll for console events. |
LogEvent[] |
retrieveLogEvents(long from,
int max)
Poll for LogEvents. |
String |
url()
Get the url for the remote server which we can use to create a unique logger name. |
Method Detail |
---|
String url()
String consoleId()
LogEvent[] retrieveLogEvents(long from, int max)
from
- max
-
LogEvent[] retrieveConsoleEvents(long from, int max)
from
- max
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |