public class RemoteLoggingCenter
extends java.lang.Object
Constructor and Description |
---|
RemoteLoggingCenter()
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasLogger(java.lang.String groupID)
Determine whether a logger is immediately available for the specified group.
|
boolean |
hasLogger(java.lang.String groupID,
int timeout)
Determine whether a logger is available for the specified group.
|
long |
takeAndPublishSnapshot(java.lang.String groupID,
java.lang.String comment)
take and publish a snapshot of the specified group
|
public long takeAndPublishSnapshot(java.lang.String groupID, java.lang.String comment)
groupID
- ID of the group to logcomment
- to apply to the machine snapshotpublic boolean hasLogger(java.lang.String groupID, int timeout)
groupID
- group for which we are requesting loggingtimeout
- time (in seconds) to wait for a responsepublic boolean hasLogger(java.lang.String groupID)
groupID
- group for which we are requesting logging