Class ModelCommitAssignment.Commit<H extends ModelCommitAssignment.Head>
java.lang.Object
io.fluxzero.common.modeling.ModelCommitAssignment.Commit<H>
- Enclosing class:
ModelCommitAssignment
public static final class ModelCommitAssignment.Commit<H extends ModelCommitAssignment.Head>
extends Object
One fully assigned commit. Event indices are read when its accepted result is requested.
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the first state index assigned to this commit.booleanReturns whether the commit contains document or eligible snapshot materialization work.result()Returns the authoritative commit result, constructing and retaining it on first access.
-
Method Details
-
firstStateIndex
public long firstStateIndex()Returns the first state index assigned to this commit. -
hasMaterialization
public boolean hasMaterialization()Returns whether the commit contains document or eligible snapshot materialization work. -
result
Returns the authoritative commit result, constructing and retaining it on first access.
-