Interface CommitPolicy
- All Known Implementing Classes:
AggregateCommitPolicy, ModelCommitPolicy
public interface CommitPolicy
Common timing characteristics exposed by aggregate and independent-model commit policies.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanasync()Returns whether multiple commits in the same completion phase may run concurrently.booleanReturns whether commit completion is awaited at batch completion rather than handler completion.booleanReturns whether commits start at batch completion rather than handler completion.
-
Method Details
-
commitAfterBatch
boolean commitAfterBatch()Returns whether commits start at batch completion rather than handler completion. -
awaitAfterBatch
boolean awaitAfterBatch()Returns whether commit completion is awaited at batch completion rather than handler completion. -
async
boolean async()Returns whether multiple commits in the same completion phase may run concurrently.
-