Package com.netscape.certsrv.apps
Interface ICommandQueue
-
- All Known Implementing Classes:
CommandQueue
public interface ICommandQueueThis interface represents a command queue for registeration and unregisteration proccess for clean shutdown- Version:
- $Revision$, $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanregisterProcess(ICMSRequest currentRequest, javax.servlet.Servlet currentServlet)Registers a thread into the command queue.voidunRegisterProccess(java.lang.Object currentRequest, java.lang.Object currentServlet)UnRegisters a thread from the command queue.
-
-
-
Method Detail
-
registerProcess
boolean registerProcess(ICMSRequest currentRequest, javax.servlet.Servlet currentServlet)
Registers a thread into the command queue.- Parameters:
currentRequest- request objectcurrentServlet- 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 objectcurrentServlet- servlet that serves the request object
-
-