Package akka.coordination.lease
Class LeaseSettings
- java.lang.Object
-
- akka.coordination.lease.LeaseSettings
-
public final class LeaseSettings extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description LeaseSettings(java.lang.String leaseName, java.lang.String ownerName, TimeoutSettings timeoutSettings, com.typesafe.config.Config leaseConfig)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LeaseSettings
apply(com.typesafe.config.Config config, java.lang.String leaseName, java.lang.String ownerName)
com.typesafe.config.Config
leaseConfig()
java.lang.String
leaseName()
java.lang.String
ownerName()
TimeoutSettings
timeoutSettings()
java.lang.String
toString()
LeaseSettings
withTimeoutSettings(TimeoutSettings timeoutSettings)
-
-
-
Constructor Detail
-
LeaseSettings
public LeaseSettings(java.lang.String leaseName, java.lang.String ownerName, TimeoutSettings timeoutSettings, com.typesafe.config.Config leaseConfig)
-
-
Method Detail
-
apply
public static LeaseSettings apply(com.typesafe.config.Config config, java.lang.String leaseName, java.lang.String ownerName)
-
leaseName
public java.lang.String leaseName()
-
ownerName
public java.lang.String ownerName()
-
timeoutSettings
public TimeoutSettings timeoutSettings()
-
leaseConfig
public com.typesafe.config.Config leaseConfig()
-
withTimeoutSettings
public LeaseSettings withTimeoutSettings(TimeoutSettings timeoutSettings)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-