Package org.hibernate.search.util.impl

Examples of org.hibernate.search.util.impl.SoftLimitMRUCache


  private static final int HARD_TO_SOFT_RATIO = 15;

  @Override
  public void initialize(Properties properties) {
    int size = ConfigurationParseHelper.getIntValue( properties, SIZE, DEFAULT_SIZE );
    cache = new SoftLimitMRUCache( size, size * HARD_TO_SOFT_RATIO );
  }
View Full Code Here


    this.filter = filter;
    final int softRefSize = size * HARD_TO_SOFT_RATIO;
    if ( log.isDebugEnabled() ) {
      log.debugf( "Initialising SoftLimitMRUCache with hard ref size of %d and a soft ref of %d", size, softRefSize );
    }
    this.cache = new SoftLimitMRUCache( size, softRefSize );
  }
View Full Code Here

   */
  private static final int HARD_TO_SOFT_RATIO = 15;

  public void initialize(Properties properties) {
    int size = ConfigurationParseHelper.getIntValue( properties, SIZE, DEFAULT_SIZE );
    cache = new SoftLimitMRUCache( size, size * HARD_TO_SOFT_RATIO );
  }
View Full Code Here

   */
  public CachingWrapperFilter(Filter filter, int size) {
    this.filter = filter;
    final int softRefSize = size * HARD_TO_SOFT_RATIO;
    log.debugf( "Initialising SoftLimitMRUCache with hard ref size of %d and a soft ref of %d", size, softRefSize );
    this.cache = new SoftLimitMRUCache( size, softRefSize );
  }
View Full Code Here

  private static final int HARD_TO_SOFT_RATIO = 15;

  @Override
  public void initialize(Properties properties) {
    int size = ConfigurationParseHelper.getIntValue( properties, SIZE, DEFAULT_SIZE );
    cache = new SoftLimitMRUCache( size, size * HARD_TO_SOFT_RATIO );
  }
View Full Code Here

    this.filter = filter;
    final int softRefSize = size * HARD_TO_SOFT_RATIO;
    if ( log.isDebugEnabled() ) {
      log.debugf( "Initialising SoftLimitMRUCache with hard ref size of %d and a soft ref of %d", size, softRefSize );
    }
    this.cache = new SoftLimitMRUCache( size, softRefSize );
  }
View Full Code Here

   */
  public CachingWrapperFilter(Filter filter, int size) {
    this.filter = filter;
    final int softRefSize = size * HARD_TO_SOFT_RATIO;
    log.debugf( "Initialising SoftLimitMRUCache with hard ref size of %d and a soft ref of %d", size, softRefSize );
    this.cache = new SoftLimitMRUCache( size, softRefSize );
 
View Full Code Here

    this.filter = filter;
    final int softRefSize = size * HARD_TO_SOFT_RATIO;
    if ( log.isDebugEnabled() ) {
      log.debugf( "Initialising SoftLimitMRUCache with hard ref size of %d and a soft ref of %d", size, softRefSize );
    }
    this.cache = new SoftLimitMRUCache( size, softRefSize );
  }
View Full Code Here

    this.filter = filter;
    final int softRefSize = size * HARD_TO_SOFT_RATIO;
    if ( log.isDebugEnabled() ) {
      log.debugf( "Initialising SoftLimitMRUCache with hard ref size of %d and a soft ref of %d", size, softRefSize );
    }
    this.cache = new SoftLimitMRUCache( size, softRefSize );
  }
View Full Code Here

    this.filter = filter;
    final int softRefSize = size * HARD_TO_SOFT_RATIO;
    if ( log.isDebugEnabled() ) {
      log.debugf( "Initialising SoftLimitMRUCache with hard ref size of %d and a soft ref of %d", size, softRefSize );
    }
    this.cache = new SoftLimitMRUCache( size, softRefSize );
  }
View Full Code Here

TOP

Related Classes of org.hibernate.search.util.impl.SoftLimitMRUCache

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.