Package com.zfabrik.impl.workers.home
Class WorkerProcessResource
java.lang.Object
com.zfabrik.resources.provider.Resource
com.zfabrik.impl.workers.home.WorkerProcessResource
- All Implemented Interfaces:
IDependencyComponent
,IWorkerHorde
A worker process resource manages zero or more running worker
instances. The normal case is zero or one. But when
using the Gateway feature, there may be previously started still active
worker processes.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
WorkerProcessResource
-
-
Method Details
-
as
-
invalidate
- Overrides:
invalidate
in classResource
- Throws:
ResourceBusyException
-
prepare
public void prepare()- Specified by:
prepare
in interfaceIDependencyComponent
-
getActiveWorkerProcess
- Specified by:
getActiveWorkerProcess
in interfaceIWorkerHorde
-
getComponentName
- Specified by:
getComponentName
in interfaceIWorkerHorde
-
getWorkerProcesses
- Specified by:
getWorkerProcesses
in interfaceIWorkerHorde
-