Class TransactionChanges
java.lang.Object
com.yahoo.vespa.curator.transaction.TransactionChanges
Records the set of changes which will happen as part of a transaction
- Author:
- bratseth
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds creation of an absolute path to the set of changes made by thisvoid
Adds deletion of an absolute path to the set of changes made by thisboolean
Returns whether the changes include creating this absolute pathboolean
createsChildrenOf
(String parentPath) Returns whether the changes include creating any (proper) children of the given pathboolean
Returns whether the changes include deleting this absolute pathtoString()
-
Constructor Details
-
TransactionChanges
public TransactionChanges()
-
-
Method Details
-
create
Returns whether the changes include creating this absolute path -
createsChildrenOf
Returns whether the changes include creating any (proper) children of the given path -
addCreate
Adds creation of an absolute path to the set of changes made by this -
delete
Returns whether the changes include deleting this absolute path -
addDelete
Adds deletion of an absolute path to the set of changes made by this -
toString
-