public interface LogPollable
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.
Modifier and Type | Method and Description |
---|---|
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.
|
String url()
String consoleId()
LogEvent[] retrieveLogEvents(long from, int max)
from
- max
- LogEvent[] retrieveConsoleEvents(long from, int max)
from
- max
-