Package com.j_spaces.worker
Class WorkerInfo
java.lang.Object
com.j_spaces.worker.WorkerInfo
Deprecated.
Full information about worker.
- Version:
- 4.0
- Author:
- Igor Goldenberg
-
Constructor Details
-
WorkerInfo
public WorkerInfo(IWorker workerImpl, Thread workerThread, String workerName, String className, String arg, String description, boolean startIfPrimaryOnly, boolean shutdownSpaceOnInitFailure) Deprecated.Constructor.- Parameters:
workerImpl- The IWorker implementation.workerThread- The Worker Thread.workerName- Worker name.className- Worker class name.arg- Worker arguments.description- Worker description.
-
-
Method Details
-
getArg
Deprecated.- Returns:
- Returns the arg.
-
getClassName
Deprecated.- Returns:
- Returns the className.
-
getDescription
Deprecated.- Returns:
- Returns the description.
-
getWorkerName
Deprecated.- Returns:
- Returns the workerName.
-
getWorker
Deprecated.- Returns:
- Returns the IWorker implementation.
-
getWorkerThread
Deprecated.- Returns:
- Returns the Thread of IWorker implementation. This method called by WorkerManager.
-
isStartIfPrimaryOnly
public boolean isStartIfPrimaryOnly()Deprecated.- Returns:
- startIfPrimaryOnly
-
isShutdownSpaceOnInitFailure
public boolean isShutdownSpaceOnInitFailure()Deprecated.- Returns:
- shutdownSpaceOnInitFailure
-