public class NodeSnapshot extends Object implements Serializable, Cloneable
Represents an individual cache node in a snapshot of a cache cluster.
Constructor and Description |
---|
NodeSnapshot() |
Modifier and Type | Method and Description |
---|---|
NodeSnapshot |
clone() |
boolean |
equals(Object obj) |
Date |
getCacheNodeCreateTime()
The date and time when the cache node was created in the source cache
cluster.
|
String |
getCacheNodeId()
The cache node identifier for the node in the source cache cluster.
|
String |
getCacheSize()
The size of the cache on the source cache node.
|
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(Date cacheNodeCreateTime)
The date and time when the cache node was created in the source cache
cluster.
|
void |
setCacheNodeId(String cacheNodeId)
The cache node identifier for the node in the source cache cluster.
|
void |
setCacheSize(String cacheSize)
The size of the cache on the source cache node.
|
void |
setSnapshotCreateTime(Date snapshotCreateTime)
The date and time when the source node's metadata and cache data set was
obtained for the snapshot.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NodeSnapshot |
withCacheNodeCreateTime(Date cacheNodeCreateTime)
The date and time when the cache node was created in the source cache
cluster.
|
NodeSnapshot |
withCacheNodeId(String cacheNodeId)
The cache node identifier for the node in the source cache cluster.
|
NodeSnapshot |
withCacheSize(String cacheSize)
The size of the cache on the source cache node.
|
NodeSnapshot |
withSnapshotCreateTime(Date snapshotCreateTime)
The date and time when the source node's metadata and cache data set was
obtained for the snapshot.
|
public void setCacheNodeId(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 String getCacheNodeId()
The cache node identifier for the node in the source cache cluster.
public NodeSnapshot withCacheNodeId(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(String cacheSize)
The size of the cache on the source cache node.
cacheSize
- The size of the cache on the source cache node.public String getCacheSize()
The size of the cache on the source cache node.
public NodeSnapshot withCacheSize(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(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 Date getCacheNodeCreateTime()
The date and time when the cache node was created in the source cache cluster.
public NodeSnapshot withCacheNodeCreateTime(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(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 Date getSnapshotCreateTime()
The date and time when the source node's metadata and cache data set was obtained for the snapshot.
public NodeSnapshot withSnapshotCreateTime(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 String toString()
toString
in class Object
Object.toString()
public NodeSnapshot clone()
Copyright © 2016. All rights reserved.