Class ShardDataTreeSnapshot
- java.lang.Object
-
- org.opendaylight.controller.cluster.datastore.persisted.ShardDataTreeSnapshot
-
- Direct Known Subclasses:
MetadataShardDataTreeSnapshot
@Beta public abstract class ShardDataTreeSnapshot extends Object
Abstract base class for snapshots of the ShardDataTree.- Author:
- Robert Varga
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static @NonNull ShardSnapshotStatedeserialize(ObjectInput in)abstract Optional<NormalizedNode>getRootNode()Get the root data node contained in this snapshot.abstract voidserialize(ObjectOutput out)
-
-
-
Method Detail
-
deserialize
public static @NonNull ShardSnapshotState deserialize(ObjectInput in) throws IOException
- Throws:
IOException
-
getRootNode
public abstract Optional<NormalizedNode> getRootNode()
Get the root data node contained in this snapshot.- Returns:
- An optional root node.
-
serialize
public abstract void serialize(ObjectOutput out) throws IOException
- Throws:
IOException
-
-