Examples of StatisticsImpl


Examples of org.hibernate.search.stat.StatisticsImpl

    this.filterDefinitions = cfg.filterDefinitions;
    this.indexHierarchy = cfg.indexHierarchy;
    this.indexingStrategy = cfg.indexingStrategy;
    this.readerProvider = cfg.readerProvider;
    this.worker = cfg.worker;
    this.statistics = new StatisticsImpl( this );
    String enableStats = configurationProperties.getProperty( Environment.JMX_ENABLED );
    if ( "true".equalsIgnoreCase( enableStats ) ) {
      statistics.setStatisticsEnabled( true );
    }
View Full Code Here

Examples of org.hibernate.search.stat.StatisticsImpl

    this.indexingStrategy = state.getIndexingStrategy();
    this.readerProvider = state.getReaderProvider();
    this.worker = state.getWorker();
    this.serviceManager = state.getServiceManager();

    this.statistics = new StatisticsImpl( this );
    boolean statsEnabled = ConfigurationParseHelper.getBooleanValue(
        configurationProperties, Environment.GENERATE_STATS, false
    );
    statistics.setStatisticsEnabled( statsEnabled );
View Full Code Here

Examples of org.hibernate.search.stat.impl.StatisticsImpl

    this.errorHandler = state.getErrorHandler();
    this.instanceInitializer = state.getInstanceInitializer();
    this.timeoutExceptionFactory = state.getDefaultTimeoutExceptionFactory();
    this.timingSource = state.getTimingSource();
    this.mapping = state.getProgrammaticMapping();
    this.statistics = new StatisticsImpl( this );
    this.indexMetadataIsComplete = state.isIndexMetadataComplete();
    this.isIdProvidedImplicit = state.isIdProvidedImplicit();
    this.indexManagerFactory = state.getIndexManagerFactory();
    boolean statsEnabled = ConfigurationParseHelper.getBooleanValue(
        configurationProperties, Environment.GENERATE_STATS, false
View Full Code Here

Examples of org.hibernate.search.stat.impl.StatisticsImpl

    this.errorHandler = state.getErrorHandler();
    this.instanceInitializer = state.getInstanceInitializer();
    this.timeoutExceptionFactory = state.getDefaultTimeoutExceptionFactory();
    this.timingSource = state.getTimingSource();
    this.mapping = state.getProgrammaticMapping();
    this.statistics = new StatisticsImpl( this );
    boolean statsEnabled = ConfigurationParseHelper.getBooleanValue(
        configurationProperties, Environment.GENERATE_STATS, false
    );
    statistics.setStatisticsEnabled( statsEnabled );
View Full Code Here

Examples of org.hibernate.search.stat.impl.StatisticsImpl

    this.transactionManagerExpected = state.isTransactionManagerExpected();
    this.allIndexesManager = state.getAllIndexesManager();
    this.errorHandler = state.getErrorHandler();
    this.classHelper = state.getClassHelper();
    this.timeoutExceptionFactory = state.getDefaultTimeoutExceptionFactory();
    this.statistics = new StatisticsImpl( this );
    boolean statsEnabled = ConfigurationParseHelper.getBooleanValue(
        configurationProperties, Environment.GENERATE_STATS, false
    );
    statistics.setStatisticsEnabled( statsEnabled );
View Full Code Here

Examples of org.hibernate.search.stat.impl.StatisticsImpl

    this.transactionManagerExpected = state.isTransactionManagerExpected();
    this.allIndexesManager = state.getAllIndexesManager();
    this.errorHandler = state.getErrorHandler();
    this.instanceInitializer = state.getInstanceInitializer();
    this.timeoutExceptionFactory = state.getDefaultTimeoutExceptionFactory();
    this.statistics = new StatisticsImpl( this );
    boolean statsEnabled = ConfigurationParseHelper.getBooleanValue(
        configurationProperties, Environment.GENERATE_STATS, false
    );
    statistics.setStatisticsEnabled( statsEnabled );
View Full Code Here

Examples of org.hibernate.search.stat.impl.StatisticsImpl

    this.errorHandler = state.getErrorHandler();
    this.instanceInitializer = state.getInstanceInitializer();
    this.timeoutExceptionFactory = state.getDefaultTimeoutExceptionFactory();
    this.timingSource = state.getTimingSource();
    this.mapping = state.getProgrammaticMapping();
    this.statistics = new StatisticsImpl( this );
    this.indexMetadataIsComplete = state.isIndexMetadataComplete();
    this.isIdProvidedImplicit = state.isIdProvidedImplicit();
    this.indexManagerFactory = state.getIndexManagerFactory();
    boolean statsEnabled = ConfigurationParseHelper.getBooleanValue(
        configurationProperties, Environment.GENERATE_STATS, false
View Full Code Here

Examples of org.hibernate.stat.StatisticsImpl

   * @param sf session factory to register
   */
  public void setSessionFactory(SessionFactory sf) {
    this.sf = sf;
    if (sf == null) {
      stats = new StatisticsImpl();
    }
    else {
      stats = sf.getStatistics();
    }
   
View Full Code Here

Examples of org.hibernate.stat.StatisticsImpl

    }

    if (concurrentStatistics != null) {
      this.statistics = concurrentStatistics;
    } else {
      this.statistics = new StatisticsImpl(this);
    }

    if ( log.isTraceEnabled() ) {
      log.trace("Statistics initialized with " + statistics.getClass().getName());
    }
View Full Code Here

Examples of org.hibernate.stat.StatisticsImpl

   * @param sf session factory to register
   */
  public void setSessionFactory(SessionFactory sf) {
    this.sf = sf;
    if (sf == null) {
      stats = new StatisticsImpl();
    }
    else {
      stats = sf.getStatistics();
    }
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.