final int coreThreads = coreThreadsCount == null ? maxThreads : coreThreadsCount.getScaledCount();
final int queueLength = this.queueLength.getScaledCount();
final String name = getName();
final ServiceName serviceName = ThreadsServices.executorName(name);
final BoundedQueueThreadPoolService service = new BoundedQueueThreadPoolService(coreThreads, maxThreads, queueLength, blocking, getKeepaliveTime(), allowCoreTimeout);
final BatchServiceBuilder<Executor> serviceBuilder = builder.addService(serviceName, service);
addThreadFactoryDependency(serviceName, serviceBuilder, service.getThreadFactoryInjector(), builder);
}
protected void applyUpdate(final ThreadsSubsystemElement element) throws UpdateFailedException {
final BoundedQueueThreadPoolElement poolElement = new BoundedQueueThreadPoolElement(getName());