Class CommandQueue
java.lang.Object
com.netscape.cmscore.apps.CommandQueue
- All Implemented Interfaces:
ICommandQueue,Runnable
register and unregister proccess for clean shutdown
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Hashtable<ICMSRequest, javax.servlet.Servlet> static boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanregisterProcess(ICMSRequest currentRequest, javax.servlet.Servlet currentServlet) Registers a thread into the command queue.voidrun()Overrides Thread.run(), calls batchPublish().voidunRegisterProccess(Object currentRequest, Object currentServlet) UnRegisters a thread from the command queue.
-
Field Details
-
mCommandQueue
-
mShuttingDown
public static boolean mShuttingDown
-
-
Constructor Details
-
CommandQueue
public CommandQueue()Main constructor.
-
-
Method Details
-
run
-
registerProcess
Description copied from interface:ICommandQueueRegisters a thread into the command queue.- Specified by:
registerProcessin interfaceICommandQueue- Parameters:
currentRequest- request objectcurrentServlet- servlet that serves the request object
-
unRegisterProccess
Description copied from interface:ICommandQueueUnRegisters a thread from the command queue.- Specified by:
unRegisterProccessin interfaceICommandQueue- Parameters:
currentRequest- request objectcurrentServlet- servlet that serves the request object
-