Class LeaseUsageSettings
Lease settings for use in singleton and sharding
Inherited Members
Namespace: Akka.Coordination
Assembly: Akka.Coordination.dll
Syntax
public sealed class LeaseUsageSettings
Constructors
| Improve this Doc View SourceLeaseUsageSettings(String, TimeSpan)
Creates a new LeaseUsageSettings instance.
Declaration
public LeaseUsageSettings(string leaseImplementation, TimeSpan leaseRetryInterval)
Parameters
Type | Name | Description |
---|---|---|
String | leaseImplementation | TConfig path of the lease to be taken |
TimeSpan | leaseRetryInterval | The interval between retries for acquiring the lease |
Properties
| Improve this Doc View SourceLeaseImplementation
Config path of the lease to be taken
Declaration
public string LeaseImplementation { get; }
Property Value
Type | Description |
---|---|
String |
LeaseRetryInterval
The interval between retries for acquiring the lease
Declaration
public TimeSpan LeaseRetryInterval { get; }
Property Value
Type | Description |
---|---|
TimeSpan |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |