Interface ReplicatedEntityOptions

All Superinterfaces:
kalix.javasdk.impl.ComponentOptions, EntityOptions

public interface ReplicatedEntityOptions extends EntityOptions
Root entity options for all Replicated Entities.
  • Method Details

    • passivationStrategy

      PassivationStrategy passivationStrategy()
    • withPassivationStrategy

      ReplicatedEntityOptions withPassivationStrategy(PassivationStrategy strategy)
    • writeConsistency

      WriteConsistency writeConsistency()
      Get the current write consistency setting for replication of the replicated entity state.
      Returns:
      the write consistency setting for a replicated entity
    • withWriteConsistency

      ReplicatedEntityOptions withWriteConsistency(WriteConsistency writeConsistency)
      Set the write consistency setting for replication of the replicated entity state.
      Parameters:
      writeConsistency - write consistency to use
    • defaults

      static ReplicatedEntityOptions defaults()
      Create default Replicated Entity options.
      Returns:
      the entity options