- java.lang.Object
-
- swim.db.Commit
-
public final class Commit extends Object
-
-
Constructor Summary
Constructors Constructor Description Commit(boolean isClosed, boolean isForced, boolean isShifted)
Commit(boolean isClosed, boolean isForced, boolean isShifted, FingerTrieSeq<Cont<Chunk>> conts)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Commit
andThen(Cont<Chunk> cont)
void
bind(Chunk chunk)
static Commit
closed()
FingerTrieSeq<Cont<Chunk>>
conts()
static Commit
forced()
boolean
isClosed()
Commit
isClosed(boolean isClosed)
boolean
isForced()
Commit
isForced(boolean isForced)
boolean
isShifted()
Commit
isShifted(boolean isShifted)
Commit
merged(Commit that)
void
trap(Throwable error)
-
-
-
Constructor Detail
-
Commit
public Commit(boolean isClosed, boolean isForced, boolean isShifted, FingerTrieSeq<Cont<Chunk>> conts)
-
Commit
public Commit(boolean isClosed, boolean isForced, boolean isShifted)
-
-
Method Detail
-
isClosed
public boolean isClosed()
-
isClosed
public Commit isClosed(boolean isClosed)
-
isForced
public boolean isForced()
-
isForced
public Commit isForced(boolean isForced)
-
isShifted
public boolean isShifted()
-
isShifted
public Commit isShifted(boolean isShifted)
-
conts
public FingerTrieSeq<Cont<Chunk>> conts()
-
bind
public void bind(Chunk chunk)
-
trap
public void trap(Throwable error)
-
closed
public static Commit closed()
-
forced
public static Commit forced()
-
-