Class NodeSnapshot
- All Implemented Interfaces:
Serializable
,Cloneable
Represents an individual cache node in a snapshot of a cache cluster.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The date and time when the cache node was created in the source cache cluster.The cache node identifier for the node in the source cache cluster.The size of the cache on the source cache node.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.toString()
Returns a string representation of this object; useful for testing and debugging.withCacheNodeCreateTime
(Date cacheNodeCreateTime) The date and time when the cache node was created in the source cache cluster.withCacheNodeId
(String cacheNodeId) The cache node identifier for the node in the source cache cluster.withCacheSize
(String cacheSize) The size of the cache on the source cache node.withSnapshotCreateTime
(Date snapshotCreateTime) The date and time when the source node's metadata and cache data set was obtained for the snapshot.
-
Constructor Details
-
NodeSnapshot
public NodeSnapshot()
-
-
Method Details
-
setCacheNodeId
The cache node identifier for the node in the source cache cluster.
- Parameters:
cacheNodeId
- The cache node identifier for the node in the source cache cluster.
-
getCacheNodeId
The cache node identifier for the node in the source cache cluster.
- Returns:
- The cache node identifier for the node in the source cache cluster.
-
withCacheNodeId
The cache node identifier for the node in the source cache cluster.
- Parameters:
cacheNodeId
- The cache node identifier for the node in the source cache cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCacheSize
The size of the cache on the source cache node.
- Parameters:
cacheSize
- The size of the cache on the source cache node.
-
getCacheSize
The size of the cache on the source cache node.
- Returns:
- The size of the cache on the source cache node.
-
withCacheSize
The size of the cache on the source cache node.
- Parameters:
cacheSize
- The size of the cache on the source cache node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCacheNodeCreateTime
The date and time when the cache node was created in the source cache cluster.
- Parameters:
cacheNodeCreateTime
- The date and time when the cache node was created in the source cache cluster.
-
getCacheNodeCreateTime
The date and time when the cache node was created in the source cache cluster.
- Returns:
- The date and time when the cache node was created in the source cache cluster.
-
withCacheNodeCreateTime
The date and time when the cache node was created in the source cache cluster.
- Parameters:
cacheNodeCreateTime
- The date and time when the cache node was created in the source cache cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSnapshotCreateTime
The date and time when the source node's metadata and cache data set was obtained for the snapshot.
- Parameters:
snapshotCreateTime
- The date and time when the source node's metadata and cache data set was obtained for the snapshot.
-
getSnapshotCreateTime
The date and time when the source node's metadata and cache data set was obtained for the snapshot.
- Returns:
- The date and time when the source node's metadata and cache data set was obtained for the snapshot.
-
withSnapshotCreateTime
The date and time when the source node's metadata and cache data set was obtained for the snapshot.
- Parameters:
snapshotCreateTime
- The date and time when the source node's metadata and cache data set was obtained for the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-