Megosztás a következőn keresztül:


ILeaseStore Interface

Definition

Represents the lease store container to deal with initialiation/cleanup of leases for particular monitoring collection and lease container prefix.

public interface ILeaseStore
type ILeaseStore = interface
Public Interface ILeaseStore
Derived

Methods

AcquireInitializationLockAsync(TimeSpan)

Places a lock on the lease store for initialization. Only one process may own the store for the lock time.

IsInitializedAsync()

Checks if the lease store is initialized.

MarkInitializedAsync()

Mark the store as initialized.

ReleaseInitializationLockAsync()

Releases the lock one the lease store for initialization.

Applies to