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
ConfigurationExceptionpublic void shutdown()
Shutdownableshutdown in interface Shutdownableprotected 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 setIOExceptionpublic String getMerged()
public void setMerged(String merged) throws IOException
merged - IOExceptionpublic String getFailed()
public void setFailed(String failed) throws IOException
failed - The failed to set.IOExceptionpublic int getRunInterval()
public void setRunInterval(int runInterval)
runInterval - The runInterval to set.Copyright © 2005–2015 IIPC. All rights reserved.