- java.lang.Object
-
- swim.db.UTreeValue
-
public class UTreeValue extends Object
-
-
Constructor Summary
Constructors Constructor Description UTreeValue(Trunk<UTree> trunk)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
Chunk
commit(Commit commit)
void
commitAsync(Commit commit)
Database
database()
protected void
didFail(StoreException error)
Value
get()
boolean
isResident()
UTreeValue
isResident(boolean isResident)
boolean
isTransient()
UTreeValue
isTransient(boolean isTransient)
UTreeValue
load()
Value
name()
Value
set(Value newValue)
StoreSettings
settings()
void
setTreeDelegate(TreeDelegate treeDelegate)
UTree
tree()
TreeDelegate
treeDelegate()
Trunk<UTree>
trunk()
-
-
-
Method Detail
-
settings
public final StoreSettings settings()
-
database
public final Database database()
-
name
public final Value name()
-
tree
public final UTree tree()
-
treeDelegate
public final TreeDelegate treeDelegate()
-
setTreeDelegate
public void setTreeDelegate(TreeDelegate treeDelegate)
-
isResident
public boolean isResident()
-
isResident
public UTreeValue isResident(boolean isResident)
-
isTransient
public boolean isTransient()
-
isTransient
public UTreeValue isTransient(boolean isTransient)
-
get
public Value get()
-
clear
public void clear()
-
didFail
protected void didFail(StoreException error)
-
load
public UTreeValue load()
-
commitAsync
public void commitAsync(Commit commit)
-
commit
public Chunk commit(Commit commit) throws InterruptedException
- Throws:
InterruptedException
-
-