Package akka.coordination.lease
Class LeaseUsageSettings
- java.lang.Object
-
- akka.coordination.lease.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 Summary
Constructors Constructor Description LeaseUsageSettings(java.lang.String leaseImplementation, scala.concurrent.duration.FiniteDuration leaseRetryInterval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.Duration
getLeaseRetryInterval()
java.lang.String
leaseImplementation()
java.lang.String
leaseName()
scala.concurrent.duration.FiniteDuration
leaseRetryInterval()
java.lang.String
toString()
-
-
-
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()
- Overrides:
toString
in classjava.lang.Object
-
-