Click or drag to resize

TaskProcessorBaseTSettings Methods

The TaskProcessorBaseTSettings generic type exposes the following members.

Methods
  NameDescription
Public methodAllowNewTaskRequests
This will denote if new tasks can be accepted by the task processor.
Public methodAllowNewTaskRequests(Boolean)
This will update the allow new task requests getter method AllowNewTaskRequests. Note that this may or may not actually change the value, since multiple requests may be required to actually toggle the value since it may be used in multiple threads.
Public methodBroadcastVaultExtensionMethodCall(Int32, Vault, ListString)
Re-Broadcast the broadcast message so all servers.
Public methodStatic memberBroadcastVaultExtensionMethodCall(String, Int32, Vault, ListString)
Creates a broadcast message so all servers => receive the VEM call.
Public methodStatic memberBroadcastVaultExtensionMethodCall(String, Int32, Vault, VaultServerAttachments, ListString)
Creates a broadcast message so all servers => receive the VEM call.
Public methodCanAcceptNewTasks
Used to determine if the task processor is able to receive new tasks for processing.
Public methodCanCancelTask
Determines if the app task can be canceled .
Public methodCancel
Requests cancellation of the operation.
(Inherited from CancellableOperationT.)
Public methodCancelAfter
Requests cancellation of the operation.
(Inherited from CancellableOperationT.)
Protected methodCanUpdateProgress
Determines if the app task can have its progress updated.
Public methodCreateApplicationTaskSafe
Helper method used to create a task in the task queue, accounting for the potential that the task queue has been destroyed. - If the task queue is not found, the RegisterTaskQueue() method is called, then the create task is attempted a 2nd time.
Public methodCreateApplicationTaskSafeInTransaction
Helper method used to create a task in the task queue, accounting for the potential that the task queue has been destroyed. - If the task queue is not found, the RegisterTaskQueue() method is called, then the create task is attempted a 2nd time.
Public methodGetLatestTaskInfo
Resolves the latest task info, by id from the server.
Protected methodInjectBuiltInHandlers
Injects built in task handlers.
Protected methodOnCancellationRequested
Cancellation requested event invocation.
(Inherited from CancellableOperationT.)
Protected methodOnJobCreated
Job created event invocation.
Public methodProcessTasks
Triggers the processing of the application tasks.
Public methodRegisterTaskQueues
Verifies that the task queue is open. - Opens the queue if it is found to be missing.
Public methodResetCancellationToken
Resets the cancellation token source.
(Inherited from CancellableOperationT.)
Public methodSendBroadcastMessageSafe
Helper method used to send an application task queue broadcast message, accounting for the potential that the task queue has been destroyed. - If the task queue is not found, the RegisterTaskQueue() method is called, then the message creation - is attempted a 2nd time.
Public methodSendBroadcastMessageSafeInTransaction
Helper method used to send an application task queue broadcast message, accounting for the potential that the task queue has been destroyed. - If the task queue is not found, the RegisterTaskQueue() method is called, then the message creation - is attempted a 2nd time.
Protected methodTaskHandler_VaultExtMethodCaller
Generic vault extension method caller.
Public methodThrowIfCancellationRequested
If cancellation has been requested: - The CancellationRequest event is fired. - Then the cancellation exception is thrown.
(Inherited from CancellableOperationT.)
Protected methodThrowIfNull
Asserts the passed object is not null.
(Inherited from CancellableOperationT.)
Protected methodTriggerCancellationRequested
Triggers the cancellation requested event, for any registered listeners.
(Inherited from CancellableOperationT.)
Protected methodTriggerPolling
Triggers polling right away for the TaskQueueManager.
Protected methodTryGetStatusInfo
Resolves the status info, when available. - Null otherwise.
Protected methodTryGetTraceInfo
Resolves the trace info, when available and configured to do so. - Null otherwise.
Public methodUnregisterTaskQueues
Detaches the task queue in the settings object for this processor from monitoring by the TaskQueueMonitor.
Public methodUpdateCancelledJobInTaskQueue(ApplicationTask, String, String, Boolean)
Updates the passed job as having been cancelled in the task queue.
Public methodUpdateCancelledJobInTaskQueue(TaskProcessorJob, String, String, Boolean)
Updates the passed job as having been cancelled in the task queue.
Public methodUpdateCompletedJobInTaskQueue(ApplicationTask, String, String, Boolean)
Updates the completed app task in the task queue.
Public methodUpdateCompletedJobInTaskQueue(TaskProcessorJob, String, String, Boolean)
Updates the completed app task in the task queue.
Public methodUpdateFailedJobInTaskQueue(ApplicationTask, String, Exception, String, Boolean)
Updates the task in the application task queue, with failed info.
Public methodUpdateFailedJobInTaskQueue(TaskProcessorJob, String, Exception, String, Boolean)
Updates the task in the application task queue, with failed info.
Public methodUpdateTaskAsAssignedToProcessor
Update task info as having been assigned implementation.
Public methodUpdateTaskInfo(ApplicationTask, MFTaskState, String, Boolean)
Updates the task info inside the task queue for the passed application task.
Public methodUpdateTaskInfo(TaskProcessorJob, MFTaskState, String, Boolean)
Update task info implementation.
Public methodUpdateTasksInProgress
Updates the progress in the task queue. - This check is part of the required keep alive updates to the task queue.
Public methodWaitAll
Waits for all active tasks to complete.
Top
See Also