Package | Description |
---|---|
dk.netarkivet.common.distribute.indexserver | |
dk.netarkivet.harvester.indexserver | |
dk.netarkivet.harvester.indexserver.distribute |
Modifier and Type | Method and Description |
---|---|
static RequestType |
RequestType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestType[] |
RequestType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
TrivialJobIndexCache(RequestType t)
Construct a trivial cache that requires manual setup of files.
|
Modifier and Type | Method and Description |
---|---|
void |
IndexRequestServerInterface.setHandler(RequestType type,
FileBasedCache<Set<Long>> cache)
Define a FileBasedCache class to handle the given type of requests.
|
Modifier and Type | Method and Description |
---|---|
RequestType |
IndexRequestMessage.getRequestType()
Get the request type.
|
Modifier and Type | Method and Description |
---|---|
static IndexRequestClient |
IndexRequestClient.getInstance(RequestType type)
Factory method returning an IndexRequestClient for the given type of index cache.
|
void |
IndexRequestServer.setHandler(RequestType t,
FileBasedCache<Set<Long>> handler)
Set handler for certain type of index request.
|
void |
TestIndexRequestServer.setHandler(RequestType t,
FileBasedCache<Set<Long>> handler)
Set handler for certain type of index request.
|
Constructor and Description |
---|
IndexRequestMessage(RequestType requestType,
Set<Long> jobSet,
ChannelID replyTo,
boolean returnIndex,
Long harvestId)
Generate an IndexRequestMessage that can send its reply to a specific channel.
|
IndexRequestMessage(RequestType requestType,
Set<Long> jobSet,
RemoteFileSettings ftpconnectionInfo)
Generate an index request message.
|
Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.