Class ProcessManager
Inheritance
System.Object
ProcessManager
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Azos.Sky.dll
Syntax
public sealed class ProcessManager : ProcessManagerBase, IDaemon, IDaemonView, INamed, ILocalizedTimeProvider, IProcessManagerImplementation, IProcessManager, IApplicationComponent, IDisposable, IConfigurable, IInstrumentable, IExternallyParameterized
Constructors
ProcessManager(IApplication)
Declaration
public ProcessManager(IApplication app)
Parameters
Methods
Async_DoDispatch<TSignal>(TSignal)
Declaration
protected override Task<ResultSignal> Async_DoDispatch<TSignal>(TSignal signal)
where TSignal : Signal
Parameters
Type |
Name |
Description |
TSignal |
signal |
|
Returns
Type Parameters
Overrides
Azos.Sky.Workers.ProcessManagerBase.Async_DoDispatch<TSignal>(TSignal)
Async_DoEnqueue<TTodo>(IEnumerable<TTodo>, HostSet, String)
Declaration
protected override Task<int> Async_DoEnqueue<TTodo>(IEnumerable<TTodo> todos, HostSet hs, string svcName)
where TTodo : Todo
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<TTodo> |
todos |
|
HostSet |
hs |
|
System.String |
svcName |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Int32> |
|
Type Parameters
Overrides
Azos.Sky.Workers.ProcessManagerBase.Async_DoEnqueue<TTodo>(System.Collections.Generic.IEnumerable<TTodo>, Azos.Sky.Coordination.HostSet, System.String)
Async_DoSpawn<TProcess>(TProcess)
Declaration
protected override Task Async_DoSpawn<TProcess>(TProcess process)
where TProcess : Process
Parameters
Type |
Name |
Description |
TProcess |
process |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Type Parameters
Name |
Description |
TProcess |
|
Overrides
Azos.Sky.Workers.ProcessManagerBase.Async_DoSpawn<TProcess>(TProcess)
DoAllocate(String, String, Boolean)
Declaration
protected override PID DoAllocate(string zonePath, string id, bool isUnique)
Parameters
Type |
Name |
Description |
System.String |
zonePath |
|
System.String |
id |
|
System.Boolean |
isUnique |
|
Returns
Overrides
DoDispatch<TSignal>(TSignal)
Declaration
protected override ResultSignal DoDispatch<TSignal>(TSignal signal)
where TSignal : Signal
Parameters
Type |
Name |
Description |
TSignal |
signal |
|
Returns
Type Parameters
Overrides
Azos.Sky.Workers.ProcessManagerBase.DoDispatch<TSignal>(TSignal)
DoEnqueue<TTodo>(IEnumerable<TTodo>, HostSet, String)
Declaration
protected override int DoEnqueue<TTodo>(IEnumerable<TTodo> todos, HostSet hs, string svcName)
where TTodo : Todo
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<TTodo> |
todos |
|
HostSet |
hs |
|
System.String |
svcName |
|
Returns
Type |
Description |
System.Int32 |
|
Type Parameters
Overrides
Azos.Sky.Workers.ProcessManagerBase.DoEnqueue<TTodo>(System.Collections.Generic.IEnumerable<TTodo>, Azos.Sky.Coordination.HostSet, System.String)
DoGet<TProcess>(PID)
Declaration
protected override TProcess DoGet<TProcess>(PID pid)
where TProcess : Process
Parameters
Type |
Name |
Description |
PID |
pid |
|
Returns
Type |
Description |
TProcess |
|
Type Parameters
Name |
Description |
TProcess |
|
Overrides
DoGetDescriptor(PID)
Declaration
protected override ProcessDescriptor DoGetDescriptor(PID pid)
Parameters
Type |
Name |
Description |
PID |
pid |
|
Returns
Overrides
DoList(String, IConfigSectionNode)
Declaration
protected override IEnumerable<ProcessDescriptor> DoList(string zonePath, IConfigSectionNode filter)
Parameters
Returns
Overrides
DoSpawn<TProcess>(TProcess)
Declaration
protected override void DoSpawn<TProcess>(TProcess process)
where TProcess : Process
Parameters
Type |
Name |
Description |
TProcess |
process |
|
Type Parameters
Name |
Description |
TProcess |
|
Overrides
Azos.Sky.Workers.ProcessManagerBase.DoSpawn<TProcess>(TProcess)
Implements
System.IDisposable
Extension Methods