Interface Work

All Known Implementing Classes:
AcceptorAcceptOnlyImpl, AcceptorBase, AcceptorImpl, AcceptorLazyImpl, ConnectionImpl, ListenerThreadImpl, MessageMediatorImpl, NoConnectionCacheImpl.NCCConnectionImpl, ReaderThreadImpl, SocketFactoryAcceptorImpl, SocketFactoryConnectionImpl

public interface Work
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method denotes the actual work that is done by the work item.
    long
    This methods gets the time in millis in the work item, when this work item was enqueued in the work queue.
    This method will return the name of the work item.
    void
    setEnqueueTime(long timeInMillis)
    This methods sets the time in millis in the work item, when this work item was enqueued in the work queue.
  • Method Details

    • doWork

      void doWork()
      This method denotes the actual work that is done by the work item.
    • setEnqueueTime

      void setEnqueueTime(long timeInMillis)
      This methods sets the time in millis in the work item, when this work item was enqueued in the work queue.
    • getEnqueueTime

      long getEnqueueTime()
      This methods gets the time in millis in the work item, when this work item was enqueued in the work queue.
    • getName

      String getName()
      This method will return the name of the work item.