Class DatastoreSnapshot
- java.lang.Object
-
- org.opendaylight.controller.cluster.datastore.persisted.DatastoreSnapshot
-
- All Implemented Interfaces:
Serializable
public class DatastoreSnapshot extends Object implements Serializable
Stores a snapshot of the internal state of a data store.- Author:
- Thomas Pantelis
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DatastoreSnapshot.ShardSnapshot
-
Constructor Summary
Constructors Constructor Description DatastoreSnapshot(@NonNull String type, @Nullable ShardManagerSnapshot shardManagerSnapshot, @NonNull List<DatastoreSnapshot.ShardSnapshot> shardSnapshots)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable ShardManagerSnapshot
getShardManagerSnapshot()
@NonNull List<DatastoreSnapshot.ShardSnapshot>
getShardSnapshots()
@NonNull String
getType()
-
-
-
Constructor Detail
-
DatastoreSnapshot
public DatastoreSnapshot(@NonNull String type, @Nullable ShardManagerSnapshot shardManagerSnapshot, @NonNull List<DatastoreSnapshot.ShardSnapshot> shardSnapshots)
-
-
Method Detail
-
getType
public @NonNull String getType()
-
getShardManagerSnapshot
public @Nullable ShardManagerSnapshot getShardManagerSnapshot()
-
getShardSnapshots
public @NonNull List<DatastoreSnapshot.ShardSnapshot> getShardSnapshots()
-
-