Class Queued_Directory

  • All Implemented Interfaces:
    java.io.Serializable, java.rmi.Remote, Directory_i

    public class Queued_Directory
    extends java.rmi.server.UnicastRemoteObject
    implements Directory_i
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Vector<Directory_Record> lookup_by_key​(java.lang.String key)
      Queue this call to the datastore, and await its turn.
      java.util.Vector<Directory_Record> lookup_by_name​(java.lang.String name)
      Queue this call to the datastore, and await its turn.
      java.util.Vector<Directory_Record> lookup_by_UID​(java.lang.String uid)
      Queue this call to the datastore, and await its turn.
      Directory_Record lookup_exact​(java.lang.String key)
      Queue this call to the datastore, and await its turn.
      • Methods inherited from class java.rmi.server.UnicastRemoteObject

        clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObject
      • Methods inherited from class java.rmi.server.RemoteServer

        getClientHost, getLog, setLog
      • Methods inherited from class java.rmi.server.RemoteObject

        equals, getRef, hashCode, toString, toStub
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Queued_Directory

        public Queued_Directory​(Datastore datastore,
                                Directory dir)
                         throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • Queued_Directory

        public Queued_Directory​(Datastore datastore,
                                Directory dir,
                                Directory backup)
                         throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • lookup_exact

        public Directory_Record lookup_exact​(java.lang.String key)
                                      throws java.lang.Exception
        Queue this call to the datastore, and await its turn.
        Specified by:
        lookup_exact in interface Directory_i
        Throws:
        java.lang.Exception
      • lookup_by_key

        public java.util.Vector<Directory_Record> lookup_by_key​(java.lang.String key)
                                                         throws java.lang.Exception
        Queue this call to the datastore, and await its turn.
        Specified by:
        lookup_by_key in interface Directory_i
        Throws:
        java.lang.Exception
      • lookup_by_name

        public java.util.Vector<Directory_Record> lookup_by_name​(java.lang.String name)
                                                          throws java.lang.Exception
        Queue this call to the datastore, and await its turn.
        Specified by:
        lookup_by_name in interface Directory_i
        Throws:
        java.lang.Exception
      • lookup_by_UID

        public java.util.Vector<Directory_Record> lookup_by_UID​(java.lang.String uid)
                                                         throws java.lang.Exception
        Queue this call to the datastore, and await its turn.
        Specified by:
        lookup_by_UID in interface Directory_i
        Throws:
        java.lang.Exception