public class BasicManagementNodeSyncRecord extends java.lang.Object implements ManagementNodeSyncRecord, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
BasicManagementNodeSyncRecord.Builder |
Modifier and Type | Method and Description |
---|---|
static BasicManagementNodeSyncRecord.Builder |
builder() |
java.lang.String |
getBrooklynVersion() |
long |
getLocalTimestamp()
timestamp set by the originating management machine
|
java.lang.String |
getNodeId() |
java.lang.Long |
getPriority() |
java.lang.Long |
getRemoteTimestamp()
timestamp set by shared persistent store, if available
|
ManagementNodeState |
getStatus() |
java.net.URI |
getUri() |
void |
setRemoteTimestamp(java.lang.Long remoteTimestamp)
used here for store to inject remote timestamp
|
java.lang.String |
toString() |
java.lang.String |
toVerboseString() |
public static BasicManagementNodeSyncRecord.Builder builder()
public java.lang.String getBrooklynVersion()
getBrooklynVersion
in interface ManagementNodeSyncRecord
public java.lang.String getNodeId()
getNodeId
in interface ManagementNodeSyncRecord
public java.net.URI getUri()
getUri
in interface ManagementNodeSyncRecord
public ManagementNodeState getStatus()
getStatus
in interface ManagementNodeSyncRecord
public java.lang.Long getPriority()
getPriority
in interface ManagementNodeSyncRecord
public long getLocalTimestamp()
ManagementNodeSyncRecord
getLocalTimestamp
in interface ManagementNodeSyncRecord
public java.lang.Long getRemoteTimestamp()
ManagementNodeSyncRecord
this will not be set on records originating at this machine, nor will it be persisted, but it will be populated for records being read
getRemoteTimestamp
in interface ManagementNodeSyncRecord
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toVerboseString()
toVerboseString
in interface ManagementNodeSyncRecord
public void setRemoteTimestamp(java.lang.Long remoteTimestamp)