Search Results for

    Show / Hide Table of Contents

    Class LeaseUsageSettings

    Lease settings for use in singleton and sharding

    Inheritance
    object
    LeaseUsageSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Akka.Coordination
    Assembly: Akka.Coordination.dll
    Syntax
    public sealed class LeaseUsageSettings

    Constructors

    | Edit this page View Source

    LeaseUsageSettings(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 Source

    LeaseImplementation

    Config path of the lease to be taken

    Declaration
    public string LeaseImplementation { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    LeaseRetryInterval

    The interval between retries for acquiring the lease

    Declaration
    public TimeSpan LeaseRetryInterval { get; }
    Property Value
    Type Description
    TimeSpan

    Methods

    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET