- 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 voidclear()Chunkcommit(Commit commit)voidcommitAsync(Commit commit)Databasedatabase()protected voiddidFail(StoreException error)Valueget()booleanisResident()UTreeValueisResident(boolean isResident)booleanisTransient()UTreeValueisTransient(boolean isTransient)UTreeValueload()voidloadAsync(Cont<UTreeValue> cont)Valuename()Valueset(Value newValue)StoreSettingssettings()voidsetTreeDelegate(TreeDelegate treeDelegate)UTreetree()TreeDelegatetreeDelegate()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)
-
loadAsync
public void loadAsync(Cont<UTreeValue> cont)
-
load
public UTreeValue load() throws InterruptedException
- Throws:
InterruptedException
-
commitAsync
public void commitAsync(Commit commit)
-
commit
public Chunk commit(Commit commit) throws InterruptedException
- Throws:
InterruptedException
-
-