OPTIONAL.put( ThreadPoolConfigKeys.MIN_THREAD_POOL_SIZE_KEY, "10" ); OPTIONAL.put( ThreadPoolConfigKeys.MAX_THREAD_POOL_SIZE_KEY, "100" ); OPTIONAL.put( ThreadPoolConfigKeys.IDLE_THREAD_TIMEOUT_IN_SECONDS_KEY, "120" ); OPTIONAL.put( ThreadPoolConfigKeys.NUM_WORK_QUEUES_KEY, "10" ); if ( checkNotOffline( "ensureDefaultInstance" ) ) { ensureDefaultInstance( getConfigConfig() ); }
return cc.createThreadPoolConfig( name, optional );
final Map<String,String> allOptions = MapUtil.newMap( options, OPTIONAL ); return getConfigConfig().createThreadPoolConfig(name, allOptions );
ThreadPoolConfig result = cc.getThreadPoolConfigMap().get( getDefaultInstanceName() ); if ( result == null ) { result = createInstance( cc, getDefaultInstanceName(), OPTIONAL); } return result;
return getDefaultInstanceName( "ThreadPoolConfig" );
return getConfigConfig();
return XTypes.THREAD_POOL_CONFIG;
getConfigConfig().removeThreadPoolConfig( name );