public class PlainServiceMonitors extends Object implements ServiceMonitors, Externalizable
ServiceMonitors.| Modifier and Type | Field and Description |
|---|---|
protected ServiceDetails |
details |
protected String |
id |
protected Map<String,Object> |
monitors |
| Constructor and Description |
|---|
PlainServiceMonitors() |
PlainServiceMonitors(String id) |
PlainServiceMonitors(String id,
Map<String,Object> monitors) |
| Modifier and Type | Method and Description |
|---|---|
ServiceDetails |
getDetails()
Returns the details of the service.
|
String |
getId()
Returns the id of the service monitor (usually the bean id).
|
Map<String,Object> |
getMonitors()
Returns monitor values.
|
void |
readExternal(ObjectInput in) |
void |
setDetails(ServiceDetails details) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
protected String id
protected ServiceDetails details
public PlainServiceMonitors()
public PlainServiceMonitors(String id)
public String getId()
ServiceMonitorsgetId in interface ServiceMonitorspublic Map<String,Object> getMonitors()
ServiceMonitorsgetMonitors in interface ServiceMonitorspublic ServiceDetails getDetails()
ServiceMonitorsNote, should not be marshalled from the server to the client, the client should be able to set it.
getDetails in interface ServiceMonitorspublic void setDetails(ServiceDetails details)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © GigaSpaces.