Interface IndexRequestServerInterface
-
- All Known Implementing Classes:
IndexRequestServer
,TestIndexRequestServer
public interface IndexRequestServerInterface
An interface for all IndexRequestServer implementations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
The operation to the close the IndexRequestServer.void
setHandler(RequestType type, FileBasedCache<Set<Long>> cache)
Define a FileBasedCache class to handle the given type of requests.void
start()
The operation to the start the IndexRequestServer.
-
-
-
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 typecache
- 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.
-
-