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: 14561 $, $Date: 2007-05-01 10:28:56 -0700 (Tue, 01 May 2007) $

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