Example usage for org.apache.lucene.util Accountable interface-usage

List of usage examples for org.apache.lucene.util Accountable interface-usage

Introduction

In this page you can find the example usage for org.apache.lucene.util Accountable interface-usage.

Usage

From source file org.apache.solr.search.LRUCache.java

/**
 *
 */
public class LRUCache<K, V> extends SolrCacheBase implements SolrCache<K, V>, Accountable {
    private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());

From source file org.apache.solr.spelling.suggest.AlfrescoSolrSuggester.java

/** 
 * Responsible for loading the lookup and dictionary Implementations specified by 
 * the SolrConfig. 
 * Interacts (query/build/reload) with Lucene Suggesters through {@link Lookup} and
 * {@link Dictionary}
 * */

From source file org.apache.solr.spelling.suggest.SmartSolrSuggester.java

/** 
 * Responsible for loading the lookup and dictionary Implementations specified by 
 * the SolrConfig. 
 * Interacts (query/build/reload) with Lucene Suggesters through {@link Lookup} and
 * {@link Dictionary}
 * */

From source file org.apache.solr.spelling.suggest.SolrSuggester.java

/** 
 * Responsible for loading the lookup and dictionary Implementations specified by 
 * the SolrConfig. 
 * Interacts (query/build/reload) with Lucene Suggesters through {@link Lookup} and
 * {@link Dictionary}
 * */

From source file org.apache.solr.uninverting.DocTermOrds.java

/**
 * This class enables fast access to multiple term ords for
 * a specified field across all docIDs.
 *
 * Like FieldCache, it uninverts the index and holds a
 * packed data structure in RAM to enable fast access.

From source file org.codelibs.elasticsearch.common.bytes.BytesReference.java

/**
 * A reference to bytes.
 */
public abstract class BytesReference implements Accountable, Comparable<BytesReference> {

    private Integer hash = null; // we cache the hash of this reference since it can be quite costly to re-calculated it

From source file org.codelibs.elasticsearch.common.util.BigArray.java

/** Base abstraction of an array. */
public interface BigArray extends Releasable, Accountable {

    /** Return the length of this array. */
    long size();

From source file org.codelibs.elasticsearch.index.fielddata.AtomicFieldData.java

/**
 * The thread safe {org.apache.lucene.index.LeafReader} level cache of the data.
 */
public interface AtomicFieldData extends Accountable, Releasable {

    /**

From source file org.elasticsearch.common.util.BigArray.java

/** Base abstraction of an array. */
public interface BigArray extends Releasable, Accountable {

    /** Return the length of this array. */
    public long size();

From source file org.elasticsearch.index.engine.internal.LiveVersionMap.java

/** Maps _uid value to its version information. */
class LiveVersionMap implements ReferenceManager.RefreshListener, Accountable {

    private static class Maps {

        // All writes (adds and deletes) go into here: