Class WorkerInfo

java.lang.Object
com.j_spaces.worker.WorkerInfo

@Deprecated public class WorkerInfo extends Object
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

      public String getArg()
      Deprecated.
      Returns:
      Returns the arg.
    • getClassName

      public String getClassName()
      Deprecated.
      Returns:
      Returns the className.
    • getDescription

      public String getDescription()
      Deprecated.
      Returns:
      Returns the description.
    • getWorkerName

      public String getWorkerName()
      Deprecated.
      Returns:
      Returns the workerName.
    • getWorker

      public IWorker getWorker()
      Deprecated.
      Returns:
      Returns the IWorker implementation.
    • getWorkerThread

      protected Thread 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