Skip to content

GrainTimerCreationOptions Properties

Options for creating grain timers.

DueTime

getinit
View source
public TimeSpan DueTime
A System.TimeSpan representing the amount of time to delay before invoking the callback method specified when the IGrainTimer was constructed. Specify System.Threading.Timeout.InfiniteTimeSpan to prevent the timer from starting. Specify System.TimeSpan.Zero to start the timer immediately.

Interleave

getinit
View source
public bool Interleave
Gets a value indicating whether callbacks scheduled by this timer are allowed to interleave execution with other timers and grain calls. Defaults to false.

KeepAlive

getinit
View source
public bool KeepAlive
Gets a value indicating whether callbacks scheduled by this timer should extend the lifetime of the grain activation. Defaults to false.

Period

getinit
View source
public TimeSpan Period
The time interval between invocations of the callback method specified when the IGrainTimer was constructed. Specify System.Threading.Timeout.InfiniteTimeSpan to disable periodic signaling.