MCPcopy Create free account
hub / github.com/apache/solr / preClose

Method preClose

solr/core/src/java/org/apache/solr/core/CloseHook.java:40–40  ·  view source on GitHub ↗

Method called when the given SolrCore object is closing / shutting down but before the update handler and searcher(s) are actually closed Important: Keep the method implementation as short as possible. If it were to use any heavy i/o , network connections - it might be a better idea to l

(SolrCore core)

Source from the content-addressed store, hash-verified

38 * @param core SolrCore object that is shutting down / closing
39 */
40 default void preClose(SolrCore core) {}
41
42 /**
43 * Method called when the given SolrCore object has been shut down and update handlers and

Callers 3

shutdownMethod · 0.65
doCloseMethod · 0.65
shutdownMethod · 0.65

Implementers 4

MyCloseHooksolr/modules/cross-dc/src/java/org/apa
DocExpirationUpdateProcessorFactorysolr/core/src/java/org/apache/solr/upd
ZkIndexSchemaReadersolr/core/src/java/org/apache/solr/sch
ReplicationHandlersolr/core/src/java/org/apache/solr/han

Calls

no outgoing calls

Tested by

no test coverage detected