Class LeaseUsageSettings

  • public final class LeaseUsageSettings
    extends java.lang.Object
    Note that if you define a custom lease name and have several Cluster Singletons or Cluster Sharding entity types each one must have a unique lease name. If the lease name is undefined it will be derived from ActorSystem name and other component names, but that may result in too long lease names.
    • Constructor Detail

      • LeaseUsageSettings

        public LeaseUsageSettings​(java.lang.String leaseImplementation,
                                  scala.concurrent.duration.FiniteDuration leaseRetryInterval)
    • Method Detail

      • getLeaseRetryInterval

        public java.time.Duration getLeaseRetryInterval()
      • leaseImplementation

        public java.lang.String leaseImplementation()
      • leaseName

        public java.lang.String leaseName()
      • leaseRetryInterval

        public scala.concurrent.duration.FiniteDuration leaseRetryInterval()
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object