Package org.distributeme.core.lifecycle
Class ServiceInfo
java.lang.Object
org.distributeme.core.lifecycle.ServiceInfo
- All Implemented Interfaces:
Serializable
This class contains information about a service.
- Version:
- $Id: $Id
- Author:
- lrosenberg
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongGetter for the fieldcreationTimestamp.longGetter for the fieldlastAccessTimestamp.Getter for the fieldserviceId.voidsetCreationTimestamp(long creationTimestamp) Setter for the fieldcreationTimestamp.voidsetLastAccessTimestamp(long lastAccessTimestamp) Setter for the fieldlastAccessTimestamp.voidsetServiceId(String serviceId) Setter for the fieldserviceId.toString()
-
Constructor Details
-
ServiceInfo
public ServiceInfo()
-
-
Method Details
-
getServiceId
Getter for the field
serviceId.- Returns:
- a
Stringobject.
-
setServiceId
Setter for the field
serviceId.- Parameters:
serviceId- aStringobject.
-
getLastAccessTimestamp
public long getLastAccessTimestamp()Getter for the field
lastAccessTimestamp.- Returns:
- a long.
-
setLastAccessTimestamp
public void setLastAccessTimestamp(long lastAccessTimestamp) Setter for the field
lastAccessTimestamp.- Parameters:
lastAccessTimestamp- a long.
-
getCreationTimestamp
public long getCreationTimestamp()Getter for the field
creationTimestamp.- Returns:
- a long.
-
setCreationTimestamp
public void setCreationTimestamp(long creationTimestamp) Setter for the field
creationTimestamp.- Parameters:
creationTimestamp- a long.
-
toString
-