public class NodeSnapshot extends Object implements Serializable
Represents an individual cache node in a snapshot of a cache cluster.
Constructor and Description |
---|
NodeSnapshot() |
Modifier and Type | Method and Description |
---|---|
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 String getCacheNodeId()
public void setCacheNodeId(String cacheNodeId)
cacheNodeId
- The cache node identifier for the node in the source cache cluster.public NodeSnapshot withCacheNodeId(String cacheNodeId)
Returns a reference to this object so that method calls can be chained together.
cacheNodeId
- The cache node identifier for the node in the source cache cluster.public String getCacheSize()
public void setCacheSize(String cacheSize)
cacheSize
- The size of the cache on the source cache node.public NodeSnapshot withCacheSize(String cacheSize)
Returns a reference to this object so that method calls can be chained together.
cacheSize
- The size of the cache on the source cache node.public Date getCacheNodeCreateTime()
public void setCacheNodeCreateTime(Date cacheNodeCreateTime)
cacheNodeCreateTime
- The date and time when the cache node was created in the source cache
cluster.public NodeSnapshot withCacheNodeCreateTime(Date cacheNodeCreateTime)
Returns a reference to this object so that method calls can be chained together.
cacheNodeCreateTime
- The date and time when the cache node was created in the source cache
cluster.public Date getSnapshotCreateTime()
public void setSnapshotCreateTime(Date snapshotCreateTime)
snapshotCreateTime
- The date and time when the source node's metadata and cache data set
was obtained for the snapshot.public NodeSnapshot withSnapshotCreateTime(Date snapshotCreateTime)
Returns a reference to this object so that method calls can be chained together.
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()
Copyright © 2014. All rights reserved.