dk.netarkivet.archive.indexserver
Class IndexingState
java.lang.Object
dk.netarkivet.archive.indexserver.IndexingState
public class IndexingState
- extends java.lang.Object
Stores the state of a indexing task.
Constructor Summary |
IndexingState(java.lang.Long jobId,
java.lang.String indexingpath,
java.util.concurrent.Future<java.lang.Boolean> result)
Constructor for an IndexingState object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexingState
public IndexingState(java.lang.Long jobId,
java.lang.String indexingpath,
java.util.concurrent.Future<java.lang.Boolean> result)
- Constructor for an IndexingState object.
- Parameters:
jobId
- The ID of the Job being indexing.indexingpath
- The full path to the index.result
- The result object for the indexing task
getJobIdentifier
public java.lang.Long getJobIdentifier()
- Returns:
- the Id of the job being indexed.
getIndex
public java.lang.String getIndex()
- Returns:
- the full path to the index generated.
getResultObject
public java.util.concurrent.Future<java.lang.Boolean> getResultObject()
- Returns:
- the result of the indexing process.