InMemoryLeaseProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |