Skip to content

AzureBasedReminderTable Methods

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

ReadRow(GrainId, string)

View source
public Task<ReminderEntry> ReadRow(GrainId grainId, string reminderName)
Reads the specified entry.

Parameters

grainIdGrainId
The grain ID.
reminderNamestring
Name of the reminder.

Returns

The reminder table entry.

ReadRows(GrainId)

View source
public Task<ReminderTableData> ReadRows(GrainId grainId)
Reads the reminder table entries associated with the specified grain.

Parameters

grainIdGrainId
The grain ID.

Returns

The reminder table entries associated with the specified grain.

ReadRows(uint, uint)

View source
public Task<ReminderTableData> ReadRows(uint begin, uint end)
Returns all rows that have their GrainId in the range (begin, end]. If begin is greater or equal to end, returns all entries with hash greater begin or hash less or equal to end.

Parameters

beginuint
The exclusive lower bound.
enduint
The inclusive upper bound.

Returns

The reminder table entries which fall within the specified range.

RemoveRow(GrainId, string, string)

View source
public Task<bool> RemoveRow(GrainId grainId, string reminderName, string eTag)
Removes a row from the table.

Parameters

grainIdGrainId
The grain ID.
reminderNamestring
The reminder name.
eTagstring
The ETag.

Returns

true if a row with grainId and reminderName existed and was removed successfully, false otherwise

StartAsync(CancellationToken)

View source
public Task StartAsync(CancellationToken cancellationToken)
Initializes this instance.

Parameters

cancellationTokenCancellationToken

Returns

A System.Threading.Tasks.Task representing the work performed.

StopAsync(CancellationToken)

View source
public Task StopAsync(CancellationToken cancellationToken)
Stops the reminder table.

Parameters

cancellationTokenCancellationToken
The cancellation token.

Returns

A System.Threading.Tasks.Task representing the work performed.

TestOnlyClearTable

View source
public Task TestOnlyClearTable()
Clears the table.

Returns

A System.Threading.Tasks.Task representing the work performed.

UpsertRow(ReminderEntry)

View source
public Task<string> UpsertRow(ReminderEntry entry)
Upserts the specified entry.

Parameters

entryReminderEntry
The entry.

Returns

The row's new ETag.