public class LocalResourceIndexUpdater extends Object implements Shutdownable
Constructor and Description |
---|
LocalResourceIndexUpdater() |
Modifier and Type | Method and Description |
---|---|
String |
getFailed() |
String |
getIncoming() |
LocalResourceIndex |
getIndex() |
String |
getMerged() |
int |
getRunInterval() |
void |
init()
start the background index merging thread
|
protected int |
mergeAll() |
void |
setFailed(String failed) |
void |
setIncoming(String incoming) |
void |
setIndex(LocalResourceIndex index) |
void |
setMerged(String merged) |
void |
setRunInterval(int runInterval) |
void |
shutdown()
Release any resources used by this ResourceIndex cleanly
|
public void init() throws ConfigurationException
ConfigurationException
public void shutdown()
Shutdownable
shutdown
in interface Shutdownable
protected int mergeAll()
public LocalResourceIndex getIndex()
public void setIndex(LocalResourceIndex index)
index
- the index to setpublic String getIncoming()
public void setIncoming(String incoming) throws IOException
incoming
- the incoming to setIOException
public String getMerged()
public void setMerged(String merged) throws IOException
merged
- IOException
public String getFailed()
public void setFailed(String failed) throws IOException
failed
- The failed to set.IOException
public int getRunInterval()
public void setRunInterval(int runInterval)
runInterval
- The runInterval to set.Copyright © 2005–2015 IIPC. All rights reserved.