public static interface ReferenceManager.RefreshListener
ReferenceManager.addListener(org.apache.lucene.search.ReferenceManager.RefreshListener).| Modifier and Type | Method and Description |
|---|---|
void |
afterRefresh(boolean didRefresh)
Called after the attempted refresh; if the refresh
did open a new reference then didRefresh will be true
and
ReferenceManager.acquire() is guaranteed to return the new
reference. |
void |
beforeRefresh()
Called right before a refresh attempt starts.
|
void beforeRefresh()
throws IOException
IOExceptionvoid afterRefresh(boolean didRefresh)
throws IOException
ReferenceManager.acquire() is guaranteed to return the new
reference.IOExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.