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
IOException
void afterRefresh(boolean didRefresh) throws IOException
ReferenceManager.acquire()
is guaranteed to return the new
reference.IOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.