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 Details
-
WorkerProcessResource
-
-
Method Details
-
as
-
invalidate
- Overrides:
invalidatein classResource- Throws:
ResourceBusyException
-
prepare
public void prepare()- Specified by:
preparein interfaceIDependencyComponent
-
getActiveWorkerProcess
- Specified by:
getActiveWorkerProcessin interfaceIWorkerHorde
-
getComponentName
- Specified by:
getComponentNamein interfaceIWorkerHorde
-
getWorkerProcesses
- Specified by:
getWorkerProcessesin interfaceIWorkerHorde
-