Redigera

Dela via


InMemoryLeaseProvider Class

Definition

In memory lease provider for development and test use. This provider stores lease information in memory an can be lost if grain becomes inactive or if silo crashes. This implementation is only intended for test or local development purposes - NOT FOR PRODUCTION USE.

public class InMemoryLeaseProvider : Orleans.LeaseProviders.ILeaseProvider
type InMemoryLeaseProvider = class
    interface ILeaseProvider
Public Class InMemoryLeaseProvider
Implements ILeaseProvider
Inheritance
InMemoryLeaseProvider
Implements

Constructors

InMemoryLeaseProvider(IGrainFactory)

Initializes a new instance of the InMemoryLeaseProvider class.

Methods

Acquire(String, LeaseRequest[])

Batch acquire leases operation

GetLeaseProviderGrain(IGrainFactory)
Release(String, AcquiredLease[])

Batch release lease operation

Renew(String, AcquiredLease[])

Batch renew lease operation

Applies to