public class IndexQueueUpdater extends Object implements Shutdownable
Constructor and Description |
---|
IndexQueueUpdater() |
Modifier and Type | Method and Description |
---|---|
ResourceFileLocationDB |
getDb() |
long |
getInterval() |
String |
getLastMark() |
IndexQueue |
getQueue() |
void |
init()
The init method for this class.
|
void |
setDb(ResourceFileLocationDB db) |
void |
setInterval(long interval) |
void |
setLastMark(String path) |
void |
setQueue(IndexQueue queue) |
void |
shutdown()
Release any resources used by this ResourceIndex cleanly
|
int |
updateQueue()
Add new names to the IndexQueue.
|
public void init()
public void shutdown()
Shutdownable
shutdown
in interface Shutdownable
public int updateQueue() throws IOException
IOException
public ResourceFileLocationDB getDb()
public void setDb(ResourceFileLocationDB db)
db
- the db to setpublic IndexQueue getQueue()
public void setQueue(IndexQueue queue)
queue
- the queue to setpublic String getLastMark()
public void setLastMark(String path) throws IOException
path
- The filepath to use as mark.IOException
public long getInterval()
public void setInterval(long interval)
interval
- the interval to setCopyright © 2005–2015 IIPC. All rights reserved.