public class DirectoryIndexQueue extends Object implements IndexQueue
STATUS_DONE, STATUS_FAIL, STATUS_RETRY
Constructor and Description |
---|
DirectoryIndexQueue() |
Modifier and Type | Method and Description |
---|---|
String |
dequeue() |
void |
enqueue(String resourceFileName) |
String |
getPath() |
void |
recordStatus(String resourceFileName,
int status) |
void |
setPath(String path) |
public String dequeue() throws IOException
dequeue
in interface IndexQueue
IOException
public void enqueue(String resourceFileName) throws IOException
enqueue
in interface IndexQueue
IOException
public String getPath()
public void setPath(String path) throws IOException
path
- the path to setIOException
public void recordStatus(String resourceFileName, int status)
recordStatus
in interface IndexQueue
Copyright © 2005–2017 IIPC. All rights reserved.