public class NodeSnapshot
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents an individual cache node in a snapshot of a cache cluster.
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
cacheNodeCreateTime
The date and time when the cache node was created in the source cache
cluster.
|
private java.lang.String |
cacheNodeId
The cache node identifier for the node in the source cache cluster.
|
private java.lang.String |
cacheSize
The size of the cache on the source cache node.
|
private java.util.Date |
snapshotCreateTime
The date and time when the source node's metadata and cache data set was
obtained for the snapshot.
|
Constructor and Description |
---|
NodeSnapshot() |
Modifier and Type | Method and Description |
---|---|
NodeSnapshot |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCacheNodeCreateTime()
The date and time when the cache node was created in the source cache
cluster.
|
java.lang.String |
getCacheNodeId()
The cache node identifier for the node in the source cache cluster.
|
java.lang.String |
getCacheSize()
The size of the cache on the source cache node.
|
java.util.Date |
getSnapshotCreateTime()
The date and time when the source node's metadata and cache data set was
obtained for the snapshot.
|
int |
hashCode() |
void |
setCacheNodeCreateTime(java.util.Date cacheNodeCreateTime)
The date and time when the cache node was created in the source cache
cluster.
|
void |
setCacheNodeId(java.lang.String cacheNodeId)
The cache node identifier for the node in the source cache cluster.
|
void |
setCacheSize(java.lang.String cacheSize)
The size of the cache on the source cache node.
|
void |
setSnapshotCreateTime(java.util.Date snapshotCreateTime)
The date and time when the source node's metadata and cache data set was
obtained for the snapshot.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NodeSnapshot |
withCacheNodeCreateTime(java.util.Date cacheNodeCreateTime)
The date and time when the cache node was created in the source cache
cluster.
|
NodeSnapshot |
withCacheNodeId(java.lang.String cacheNodeId)
The cache node identifier for the node in the source cache cluster.
|
NodeSnapshot |
withCacheSize(java.lang.String cacheSize)
The size of the cache on the source cache node.
|
NodeSnapshot |
withSnapshotCreateTime(java.util.Date snapshotCreateTime)
The date and time when the source node's metadata and cache data set was
obtained for the snapshot.
|
private java.lang.String cacheNodeId
The cache node identifier for the node in the source cache cluster.
private java.lang.String cacheSize
The size of the cache on the source cache node.
private java.util.Date cacheNodeCreateTime
The date and time when the cache node was created in the source cache cluster.
private java.util.Date snapshotCreateTime
The date and time when the source node's metadata and cache data set was obtained for the snapshot.
public void setCacheNodeId(java.lang.String cacheNodeId)
The cache node identifier for the node in the source cache cluster.
cacheNodeId
- The cache node identifier for the node in the source cache
cluster.public java.lang.String getCacheNodeId()
The cache node identifier for the node in the source cache cluster.
public NodeSnapshot withCacheNodeId(java.lang.String cacheNodeId)
The cache node identifier for the node in the source cache cluster.
cacheNodeId
- The cache node identifier for the node in the source cache
cluster.public void setCacheSize(java.lang.String cacheSize)
The size of the cache on the source cache node.
cacheSize
- The size of the cache on the source cache node.public java.lang.String getCacheSize()
The size of the cache on the source cache node.
public NodeSnapshot withCacheSize(java.lang.String cacheSize)
The size of the cache on the source cache node.
cacheSize
- The size of the cache on the source cache node.public void setCacheNodeCreateTime(java.util.Date cacheNodeCreateTime)
The date and time when the cache node was created in the source cache cluster.
cacheNodeCreateTime
- The date and time when the cache node was created in the source
cache cluster.public java.util.Date getCacheNodeCreateTime()
The date and time when the cache node was created in the source cache cluster.
public NodeSnapshot withCacheNodeCreateTime(java.util.Date cacheNodeCreateTime)
The date and time when the cache node was created in the source cache cluster.
cacheNodeCreateTime
- The date and time when the cache node was created in the source
cache cluster.public void setSnapshotCreateTime(java.util.Date snapshotCreateTime)
The date and time when the source node's metadata and cache data set was obtained for the snapshot.
snapshotCreateTime
- The date and time when the source node's metadata and cache data
set was obtained for the snapshot.public java.util.Date getSnapshotCreateTime()
The date and time when the source node's metadata and cache data set was obtained for the snapshot.
public NodeSnapshot withSnapshotCreateTime(java.util.Date snapshotCreateTime)
The date and time when the source node's metadata and cache data set was obtained for the snapshot.
snapshotCreateTime
- The date and time when the source node's metadata and cache data
set was obtained for the snapshot.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public NodeSnapshot clone()
clone
in class java.lang.Object