com.netscape.certsrv.apps
Interface ICommandQueue


public interface ICommandQueue

This interface represents a command queue for registeration and unregisteration proccess for clean shutdown

Version:
$Revision: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Method Summary
 boolean registerProcess(java.lang.Object currentRequest, java.lang.Object currentServlet)
          Registers a thread into the command queue.
 void unRegisterProccess(java.lang.Object currentRequest, java.lang.Object currentServlet)
          UnRegisters a thread from the command queue.
 

Method Detail

registerProcess

boolean registerProcess(java.lang.Object currentRequest,
                        java.lang.Object currentServlet)
Registers a thread into the command queue.

Parameters:
currentRequest - request object
currentServlet - servlet that serves the request object

unRegisterProccess

void unRegisterProccess(java.lang.Object currentRequest,
                        java.lang.Object currentServlet)
UnRegisters a thread from the command queue.

Parameters:
currentRequest - request object
currentServlet - servlet that serves the request object