Interface IWorker

All Superinterfaces:
Runnable
All Known Subinterfaces:
IPrivilegeWorker

@Deprecated public interface IWorker extends Runnable
Deprecated.
This interface is reserved for internal usage only.
Version:
4.0
Author:
Igor Goldenberg
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    This method should close by proper way the initialized worker, include all internal worker's Threads.
    void
    init(IJSpace proxy, String workerName, String arg)
    Deprecated.
    This method will be called on space initialization.

    Methods inherited from interface java.lang.Runnable

    run
  • Method Details

    • init

      void init(IJSpace proxy, String workerName, String arg) throws Exception
      Deprecated.
      This method will be called on space initialization.
      Parameters:
      proxy - Space proxy.
      workerName - Worker name.
      arg - Any user defined argument.
      Throws:
      Exception - Failed to initialize worker.
    • close

      void close()
      Deprecated.
      This method should close by proper way the initialized worker, include all internal worker's Threads.