Package gnu.cajo

Class Cajo.Purger

java.lang.Object
gnu.cajo.Cajo.Purger
All Implemented Interfaces:
Invoke, Serializable, Remote
Enclosing class:
Cajo

public static final class Cajo.Purger extends Object implements Invoke
This internal use only helper class automatically removes unresponsive server references from the internal queue. It cannot be instantiated outside this class, it is made public only because it is being invoked reflectively.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • object

      private final Object object
    • items

      private transient Vector items
  • Constructor Details

  • Method Details

    • invoke

      public Object invoke(String method, Object args) throws Exception
      This method, invoked transparently when any remote server method is called, monitors the progress of the invocation. If the call results in a java.rmi.RemoteException, the server object reference will be deleted from the internal queue automatically. All exceptions will be propagated out to the client.
      Specified by:
      invoke in interface Invoke
      Parameters:
      method - The name of the method to be invoked
      args - The arguments to be provided to the method
      Returns:
      The result, if any, returned by the remote procedure call
      Throws:
      Exception - For either network, or server object logic related reasons