Share via


ILeaseStoreManager Interface

Definition

The ILeaseManager defines a way to perform operations with ILease.

public interface ILeaseStoreManager : Microsoft.Azure.Documents.ChangeFeedProcessor.LeaseManagement.ILeaseCheckpointer, Microsoft.Azure.Documents.ChangeFeedProcessor.LeaseManagement.ILeaseContainer, Microsoft.Azure.Documents.ChangeFeedProcessor.LeaseManagement.ILeaseManager, Microsoft.Azure.Documents.ChangeFeedProcessor.LeaseManagement.ILeaseStore
type ILeaseStoreManager = interface
    interface ILeaseContainer
    interface ILeaseManager
    interface ILeaseCheckpointer
    interface ILeaseStore
Public Interface ILeaseStoreManager
Implements ILeaseCheckpointer, ILeaseContainer, ILeaseManager, ILeaseStore
Implements

Methods

AcquireAsync(ILease)

Acquire ownership of the lease.

(Inherited from ILeaseManager)
AcquireInitializationLockAsync(TimeSpan)

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

(Inherited from ILeaseStore)
CheckpointAsync(ILease, String)

Checkpoint the lease.

(Inherited from ILeaseCheckpointer)
CreateLeaseIfNotExistAsync(String, String)

Checks whether the lease exists and creates it if it does not exist.

(Inherited from ILeaseManager)
DeleteAsync(ILease)

Delete the lease.

(Inherited from ILeaseManager)
GetAllLeasesAsync()

Get all leases.

(Inherited from ILeaseContainer)
GetOwnedLeasesAsync()

Get all the leases owned by the current host.

(Inherited from ILeaseContainer)
IsInitializedAsync()

Checks if the lease store is initialized.

(Inherited from ILeaseStore)
MarkInitializedAsync()

Mark the store as initialized.

(Inherited from ILeaseStore)
ReleaseAsync(ILease)

Release ownership of the lease.

(Inherited from ILeaseManager)
ReleaseInitializationLockAsync()

Releases the lock one the lease store for initialization.

(Inherited from ILeaseStore)
RenewAsync(ILease)

Renew the lease. Leases are periodically renewed to prevent expiration.

(Inherited from ILeaseManager)
UpdatePropertiesAsync(ILease)

Replace properties from the specified lease.

(Inherited from ILeaseManager)

Applies to