org.sapia.ubik.rmi.server.invocation
Class RMICommandProcessor

java.lang.Object
  extended by org.sapia.ubik.rmi.server.command.CommandProcessor
      extended by org.sapia.ubik.rmi.server.invocation.RMICommandProcessor

public class RMICommandProcessor
extends CommandProcessor

A Ubik RMI-specific CommandProcessor.

Author:
Yanick Duchesne
Copyright:
Copyright © 2002-2003 Sapia Open Source Software. All Rights Reserved.
License:
Read the license.txt file of the jar or visit the license page at the Sapia OSS web site

Nested Class Summary
static class RMICommandProcessor.ResponseListCommand
           
 
Constructor Summary
RMICommandProcessor(int maxThreads)
          Constructor for RMICommandProcessor.
 
Method Summary
 void shutdown(long timeout)
          Shuts down this instance.
 
Methods inherited from class org.sapia.ubik.rmi.server.command.CommandProcessor
processAsyncCommand, processSyncCommand, setResponseSender
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMICommandProcessor

public RMICommandProcessor(int maxThreads)
Constructor for RMICommandProcessor.

Method Detail

shutdown

public void shutdown(long timeout)
              throws java.lang.InterruptedException
Description copied from class: CommandProcessor
Shuts down this instance. Blocks until no commands are left to execute, or until the given timeout is reached.

This method also internally calls shutdownAll() on the OutQueue singleton.

Overrides:
shutdown in class CommandProcessor
Parameters:
timeout - a timout, in millis.
Throws:
java.lang.InterruptedException - if the calling thread is interrupted while blocking within this method.
See Also:
CommandProcessor.shutdown(long)


Copyright © 2010 Sapia OSS. All Rights Reserved.