Package org.apache.stanbol.enhancer.engines.dereference.entityhub.shared

Examples of org.apache.stanbol.enhancer.engines.dereference.entityhub.shared.SharedExecutorServiceProvider


          sharedPoolState = DEFAULT_SHARED_THREAD_POOL_STATE;
        }
        final ExecutorServiceProvider esProvider;
        log.debug(" - shared thread pool state: {}", sharedPoolState);
        if(sharedPoolState){
          esProvider = new SharedExecutorServiceProvider(ctx.getBundleContext());
        } else { //we need to create our own ExecutorService
          value = properties.get(THREAD_POOL_SIZE);
          if(value instanceof Number){
            this.threadPoolSize = ((Number)value).intValue();
          } else if(value != null){
View Full Code Here

TOP

Related Classes of org.apache.stanbol.enhancer.engines.dereference.entityhub.shared.SharedExecutorServiceProvider

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.