Interface ModelCommitAssignment.HeadFactory<H extends ModelCommitAssignment.Head>
- Enclosing class:
ModelCommitAssignment
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface ModelCommitAssignment.HeadFactory<H extends ModelCommitAssignment.Head>
Constructs a compact store-specific head from the values assigned by this owner.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(String modelId, H previous, String modelType, long sequenceNumber, long stateIndex, Long firstIncompleteStateIndex, boolean deleted, String documentCollection) Creates the storage-specific head for an assigned Model revision, using the previous head when present and the supplied sequence, state, history, deletion, and document information.
-
Method Details
-
create
H create(String modelId, H previous, String modelType, long sequenceNumber, long stateIndex, Long firstIncompleteStateIndex, boolean deleted, String documentCollection) Creates the storage-specific head for an assigned Model revision, using the previous head when present and the supplied sequence, state, history, deletion, and document information.
-