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
| Edit this page 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
| Edit this page 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
| Edit this page View SourceToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |
Edit this page