public class Transaction<Result>
extends java.lang.Object
TransactionFun
s to provide access to the object
graph stored by GoshawkDB. Transaction
must not be used outside of a transaction.Modifier and Type | Method and Description |
---|---|
GoshawkObj |
createObject(java.nio.ByteBuffer value,
GoshawkObj... references)
Create a new object and set its value and references.
|
GoshawkObj |
getObject(VarUUId vUUId)
Fetches the object specified by its unique object id.
|
GoshawkObj |
getRoot()
Get the root of the object-graph.
|
void |
retry()
Perform a retry operation.
|
public void retry()
public GoshawkObj getRoot()
public GoshawkObj createObject(java.nio.ByteBuffer value, GoshawkObj... references)
value
- The initial value of the new objectreferences
- The initial set of references to objectspublic GoshawkObj getObject(VarUUId vUUId)
vUUId
- The id of the object to fetch