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 Type
    Method
    Description
    boolean
    Returns whether multiple commits in the same completion phase may run concurrently.
    boolean
    Returns whether commit completion is awaited at batch completion rather than handler completion.
    boolean
    Returns 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.