org.archive.wayback.resourcestore.indexer
Interface IndexQueue

All Known Implementing Classes:
DirectoryIndexQueue

public interface IndexQueue

Version:
$Date$, $Revision$
Author:
brad

Field Summary
static int STATUS_DONE
           
static int STATUS_FAIL
           
static int STATUS_RETRY
           
 
Method Summary
 java.lang.String dequeue()
           
 void enqueue(java.lang.String resourceFileName)
           
 void recordStatus(java.lang.String resourceFileName, int status)
           
 

Field Detail

STATUS_DONE

static final int STATUS_DONE
See Also:
Constant Field Values

STATUS_FAIL

static final int STATUS_FAIL
See Also:
Constant Field Values

STATUS_RETRY

static final int STATUS_RETRY
See Also:
Constant Field Values
Method Detail

enqueue

void enqueue(java.lang.String resourceFileName)
             throws java.io.IOException
Throws:
java.io.IOException

dequeue

java.lang.String dequeue()
                         throws java.io.IOException
Throws:
java.io.IOException

recordStatus

void recordStatus(java.lang.String resourceFileName,
                  int status)


Copyright © 2005-2009 Internet Archive. All Rights Reserved.