Interface IndexRequestServerInterface

    • Method Detail

      • setHandler

        void setHandler​(RequestType type,
                        FileBasedCache<Set<Long>> cache)
        Define a FileBasedCache class to handle the given type of requests.
        Parameters:
        type - a given request type
        cache - the FileBasedCache class to handle this request type
      • start

        void start()
        The operation to the start the IndexRequestServer.
      • close

        void close()
        The operation to the close the IndexRequestServer. This closes all resources associated with the IndexRequestServer and shuts down the server.