|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CloseHook
Interface to request notification when the core is closed.
CallSolrCore.addCloseHook(org.apache.solr.core.CloseHook) during the SolrCoreAware.inform(SolrCore) method to
add a close hook to your object.
The close hook can be useful for releasing objects related to the request handler (for instance, if you have a JDBC DataSource or something like that)
| Method Summary | |
|---|---|
void |
close(SolrCore core)
Method called when the given SolrCore object is closing / shutting down. |
| Method Detail |
|---|
void close(SolrCore core)
core - SolrCore object that is shutting down / closing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||