Interface PersistentStreamSequencingPolicy


public interface PersistentStreamSequencingPolicy
Interface defining the available persistent stream sequencing policies as string constants.
Since:
5.2.0
Author:
Jakob Hatzl
  • Field Details

    • SEQUENTIAL_PER_AGGREGATE_POLICY

      static final String SEQUENTIAL_PER_AGGREGATE_POLICY
      A String constant representing the "sequential per aggregate" sequencing policy. This means all events belonging to the same aggregate are handled sequentially. The behavior of this policy resembles the SequentialPerAggregatePolicy.
      See Also:
    • METADATA_SEQUENCING_POLICY

      static final String METADATA_SEQUENCING_POLICY
      A String constant representing the "metadata" sequencing policy. The policy utilizes values present in the metadata of an event to define the sequence identifier.
      See Also:
    • SEQUENTIAL_POLICY

      static final String SEQUENTIAL_POLICY
      A String constant representing the sequential policy. This means all events are handled sequentially. The behavior of this policy resembles the SequentialPolicy.
      See Also:
    • FULL_CONCURRENCY_POLICY

      static final String FULL_CONCURRENCY_POLICY
      A String constant representing the full concurrency policy. This means all events are spread out over the available segments, regardless of the sequence identifier. The behavior of this policy resembles the FullConcurrencyPolicy.
      See Also:
    • PROPERTY_SEQUENCING_POLICY

      static final String PROPERTY_SEQUENCING_POLICY
      A String constant representing the property sequencing policy. This policy retrieves a value from the event's payload to decide the sequence identifier of the event. The behavior of this policy resembles the PropertySequencingPolicy.
      See Also: