Edit

Share via


IDevelopmentLeaseProviderGrain Interface

Definition

public interface IDevelopmentLeaseProviderGrain : Orleans.IGrainWithIntegerKey, Orleans.LeaseProviders.ILeaseProvider
type IDevelopmentLeaseProviderGrain = interface
    interface ILeaseProvider
    interface IGrainWithIntegerKey
    interface IGrain
    interface IAddressable
Public Interface IDevelopmentLeaseProviderGrain
Implements IGrainWithIntegerKey, ILeaseProvider
Derived
Implements

Methods

Acquire(String, LeaseRequest[])

Batch acquire leases operation

(Inherited from ILeaseProvider)
Release(String, AcquiredLease[])

Batch release lease operation

(Inherited from ILeaseProvider)
Renew(String, AcquiredLease[])

Batch renew lease operation

(Inherited from ILeaseProvider)
Reset()

Forgets about all leases. Used to simulate loss of this grain or to force rebalance of queues

Extension Methods

AsReference<TGrainInterface>(IAddressable)

Returns a typed reference to the provided grain.

BindGrainReference(IAddressable, IGrainFactory)

Binds the grain reference to the provided IGrainFactory.

Cast(IAddressable, Type)

Returns a typed reference to the provided grain.

Cast<TGrainInterface>(IAddressable)

Returns a typed reference to the provided grain.

GetGrainIdentity(IGrain)
GetPrimaryKey(IGrain, String)
GetPrimaryKey(IGrain)
GetPrimaryKey(IAddressable, String)

Returns the Guid representation of a grain primary key.

GetPrimaryKey(IAddressable)

Returns the Guid representation of a grain primary key.

GetPrimaryKeyLong(IGrain, String)
GetPrimaryKeyLong(IGrain)
GetPrimaryKeyLong(IAddressable, String)

Returns the long representation of a grain primary key.

GetPrimaryKeyLong(IAddressable)

Returns the long representation of a grain primary key.

GetPrimaryKeyString(IAddressable)

Returns the string primary key of the grain.

IsPrimaryKeyBasedOnLong(IAddressable)

Returns whether part of the primary key is of type long.

Applies to