Interface ICommandQueue

All Known Implementing Classes:
CommandQueue

public interface ICommandQueue
This interface represents a command queue for registeration and unregisteration proccess for clean shutdown
Version:
$Revision$, $Date$
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    registerProcess(ICMSRequest currentRequest, javax.servlet.Servlet currentServlet)
    Registers a thread into the command queue.
    void
    unRegisterProccess(Object currentRequest, Object currentServlet)
    UnRegisters a thread from the command queue.
  • Method Details

    • registerProcess

      boolean registerProcess(ICMSRequest currentRequest, javax.servlet.Servlet currentServlet)
      Registers a thread into the command queue.
      Parameters:
      currentRequest - request object
      currentServlet - servlet that serves the request object
    • unRegisterProccess

      void unRegisterProccess(Object currentRequest, Object currentServlet)
      UnRegisters a thread from the command queue.
      Parameters:
      currentRequest - request object
      currentServlet - servlet that serves the request object