IJobSchedulerContext Interface

Allows interaction with the job scheduler.
Namespace:  AGI.Parallel.Infrastructure
Assembly:  AGI.Parallel.Infrastructure (in AGI.Parallel.Infrastructure.dll) Version: 1.3.0.366 (1.3.0.366)
Syntax
public interface IJobSchedulerContext : IMessageEndpoint

The IJobSchedulerContext type exposes the following members.

Properties
  Name Description
Public property Id
Gets the id of the participant's mailbox.
(Inherited from IMessageEndpoint.)
Top
Methods
  Name Description
Public methodCode example CreateChildJob
Creates a child job and yields all resources to children.
Public methodCode example CreateChildJob(Boolean)
Creates a child job.
Public method PostMessage(Object, Guid)
Posts a message to the specified target mailbox.
(Inherited from IMessageEndpoint.)
Public method PostMessage(Object, Guid, Boolean)
Posts a message to the specified target mailbox.
(Inherited from IMessageEndpoint.)
Public method ReceiveMessage
Receives a message from the participant's mailbox. Blocks the current thread until a message arrives.
(Inherited from IMessageEndpoint.)
Public method ReceiveMessage(Guid)
Receives a message from the participant's mailbox. Blocks the current thread until a message arrives.
(Inherited from IMessageEndpoint.)
Public method ReceiveMessage(Int32)
Receives a message from the participant's mailbox. Blocks the current thread until a message arrives.
(Inherited from IMessageEndpoint.)
Public method ReceiveMessage(Int32, Guid)
Receives a message from the participant's mailbox. Blocks the current thread until a message arrives.
(Inherited from IMessageEndpoint.)
Public method ReserveResource(String, Int64)
Reserves the resource with the specified amount.
Public method ReserveResource(String, Int64, Boolean)
Reserves the resource with the specified amount, possibly restricting to children jobs.
Public method ReserveResource(String, Int64, Int32)
Reserves the resource with the specified amount, with the specified time-out.
Public method ReserveResource(String, Int64, Boolean, Int32)
Reserves the resource with the specified amount, possibly restricting to children jobs, and with the specified time-out.
Public methodCode example YieldResource(String, Int64)
Yields the resource with the specified amount without a restriction to children.
Public method YieldResource(String, Int64, Boolean)
Yields the resource with the specified amount.
Top
Events
  Name Description
Public event NewMessage
Occurs when a new message arrives.
(Inherited from IMessageEndpoint.)
Top
See Also

STK Scalability 1.3 API for .NET