public class DelayedSynchronizedOperation : SynchronizedOperationBase,
ISynchronizedOperation
Public Class DelayedSynchronizedOperation
Inherits SynchronizedOperationBase
Implements ISynchronizedOperation
public ref class DelayedSynchronizedOperation : public SynchronizedOperationBase,
ISynchronizedOperation
Gemstone.Threading.SynchronizedOperations.DelayedSynchronizedOperation = function();
Type.createClass(
'Gemstone.Threading.SynchronizedOperations.DelayedSynchronizedOperation',
Gemstone.Threading.SynchronizedOperations.SynchronizedOperationBase,
Gemstone.Threading.SynchronizedOperations.ISynchronizedOperation);
DelayedSynchronizedOperation(Action) | Creates a new instance of the DelayedSynchronizedOperation class. |
DelayedSynchronizedOperation(ActionCancellationToken) | Creates a new instance of the DelayedSynchronizedOperation class. |
DelayedSynchronizedOperation(Action, ActionException) | Creates a new instance of the DelayedSynchronizedOperation class. |
DelayedSynchronizedOperation(ActionCancellationToken, ActionException) | Creates a new instance of the DelayedSynchronizedOperation class. |
CancellationToken |
Gets or sets CancellationToken to use for cancelling actions.
(Inherited from SynchronizedOperationBase) |
Delay | Gets or sets the amount of time to wait before execution, in milliseconds, for any asynchronous calls. Zero value will execute immediately. |
IsPending |
Gets flag indicating if the synchronized operation has an additional operation that is pending
execution after the currently running action has completed.
(Inherited from SynchronizedOperationBase) |
IsRunning |
Gets flag indicating if the synchronized operation is currently executing its action.
(Inherited from SynchronizedOperationBase) |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
ExecuteAction |
Executes the action once on the current thread.
(Inherited from SynchronizedOperationBase) |
ExecuteActionAsync |
Executes the action on a separate thread after the specified Delay.
(Overrides SynchronizedOperationBaseExecuteActionAsync) |
Factory | Factory method to match the SynchronizedOperationFactory signature. |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
ProcessException |
Processes an exception thrown by an operation.
(Inherited from SynchronizedOperationBase) |
Run | Executes the action on another thread after the specified Delay in milliseconds or marks the operation as pending if the operation is already running. Method same as RunAsync for DelayedSynchronizedOperation. |
RunAsync | Executes the action on another thread after the specified Delay in milliseconds or marks the operation as pending if the operation is already running |
ToString | Returns a string that represents the current object. (Inherited from Object) |
TryRun | Attempts to execute the action on another thread after the specified Delay in milliseconds. Does nothing if the operation is already running. Method same as TryRunAsync for DelayedSynchronizedOperation. |
TryRunAsync | Attempts to execute the action on another thread after the specified Delay in milliseconds. Does nothing if the operation is already running. |
DefaultDelay | Defines the default value for the Delay property. |