public class PlainServiceMonitors extends Object implements ServiceMonitors, SmartExternalizable
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
enabledSmartExternalizableWithReference
protected String id
protected ServiceDetails details
public PlainServiceMonitors()
public PlainServiceMonitors(String id)
public String getId()
ServiceMonitors
getId
in interface ServiceMonitors
public Map<String,Object> getMonitors()
ServiceMonitors
getMonitors
in interface ServiceMonitors
public ServiceDetails getDetails()
ServiceMonitors
Note, should not be marshalled from the server to the client, the client should be able to set it.
getDetails
in interface ServiceMonitors
public void setDetails(ServiceDetails details)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © GigaSpaces.