Class ShardDataTreeSnapshot
java.lang.Object
org.opendaylight.controller.cluster.datastore.persisted.ShardDataTreeSnapshot
- Direct Known Subclasses:
MetadataShardDataTreeSnapshot
Abstract base class for snapshots of the ShardDataTree.
- Author:
- Robert Varga
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull ShardSnapshotState
abstract Optional<NormalizedNode>
Get the root data node contained in this snapshot.abstract void
serialize
(ObjectOutput out)
-
Method Details
-
deserialize
- Throws:
IOException
-
getRootNode
Get the root data node contained in this snapshot.- Returns:
- An optional root node.
-
serialize
- Throws:
IOException
-