ry,%20org.apache.solr.core.CachingDirectoryFactory.CloseListener)">DirectoryFactory</a></code></strong></div>
<div class="block">Adds a close listener for a Directory.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/apache/solr/core/DirectoryFactory.html#addCloseListener(org.apache.lucene.store.Directory,%20org.apache.solr.core.CachingDirectoryFactory.CloseListener)">addCloseListener</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/solr/core/Directory