Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
BUG-5280: add basic concept of ClientSnapshot
[controller.git]
/
opendaylight
/
md-sal
/
sal-distributed-datastore
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
databroker
/
actors
/
dds
/
DataStoreClient.java
diff --git
a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/DataStoreClient.java
b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/DataStoreClient.java
index 63dc87b4b52d38f78024c45efec636f3427f839a..2032b5498401f3969c956319ca96100d995c9bcc 100644
(file)
--- a/
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/DataStoreClient.java
+++ b/
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/DataStoreClient.java
@@
-36,6
+36,13
@@
public interface DataStoreClient extends Identifiable<ClientIdentifier>, AutoClo
*/
@Nonnull ClientLocalHistory createLocalHistory();
+ /**
+ * Create a new free-standing snapshot.
+ *
+ * @return Client snapshot handle
+ */
+ @Nonnull ClientSnapshot createSnapshot();
+
/**
* Create a new free-standing transaction.
*