Edit

Share via


InMemoryLeaseProvider.Renew(String, AcquiredLease[]) Method

Definition

Batch renew lease operation

public System.Threading.Tasks.Task<Orleans.LeaseProviders.AcquireLeaseResult[]> Renew (string category, Orleans.LeaseProviders.AcquiredLease[] acquiredLeases);
abstract member Renew : string * Orleans.LeaseProviders.AcquiredLease[] -> System.Threading.Tasks.Task<Orleans.LeaseProviders.AcquireLeaseResult[]>
override this.Renew : string * Orleans.LeaseProviders.AcquiredLease[] -> System.Threading.Tasks.Task<Orleans.LeaseProviders.AcquireLeaseResult[]>
Public Function Renew (category As String, acquiredLeases As AcquiredLease()) As Task(Of AcquireLeaseResult())

Parameters

category
String

resource category

acquiredLeases
AcquiredLease[]

Returns

Lease renew results array, whose order is the same with acquiredLeases

Implements

Applies to