All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.lucene.impl.DirectoryExtensions Maven / Gradle / Ivy

The newest version!
package org.infinispan.lucene.impl;

import org.infinispan.Cache;

/**
 * Some additional methods we add to our Directory implementations,
 * mostly for reporting and testing reasons.
 *
 * @author Sanne Grinovero  (C) 2013 Red Hat Inc.
 */
public interface DirectoryExtensions {

   String getIndexName();

   //Was part of the Directory contract for Lucene 2.9.x
   void renameFile(final String from, final String to);

   int getChunkSize();

   Cache getMetadataCache();

   Cache getDataCache();

   void forceUnlock(String lockName);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy