Class ContainerThreadpoolImpl
java.lang.Object
com.yahoo.component.AbstractComponent
com.yahoo.container.handler.threadpool.ContainerThreadpoolImpl
- All Implemented Interfaces:
com.yahoo.component.Component
,com.yahoo.component.Deconstructable
,ContainerThreadPool
,AutoCloseable
,Comparable<com.yahoo.component.Component>
public class ContainerThreadpoolImpl
extends com.yahoo.component.AbstractComponent
implements AutoCloseable, ContainerThreadPool
Default implementation of
ContainerThreadPool
.- Author:
- Steinar Knutsen, baldersheim, bratseth, bjorncs
-
Field Summary
Fields inherited from class com.yahoo.component.AbstractComponent
isDeconstructable
-
Constructor Summary
ConstructorDescriptionContainerThreadpoolImpl
(ContainerThreadpoolConfig config, com.yahoo.jdisc.Metric metric) ContainerThreadpoolImpl
(ContainerThreadpoolConfig config, com.yahoo.jdisc.Metric metric, ProcessTerminator processTerminator) -
Method Summary
Methods inherited from class com.yahoo.component.AbstractComponent
clone, compareTo, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable, toString
-
Constructor Details
-
ContainerThreadpoolImpl
@Inject public ContainerThreadpoolImpl(ContainerThreadpoolConfig config, com.yahoo.jdisc.Metric metric) -
ContainerThreadpoolImpl
public ContainerThreadpoolImpl(ContainerThreadpoolConfig config, com.yahoo.jdisc.Metric metric, ProcessTerminator processTerminator)
-
-
Method Details
-
executor
- Specified by:
executor
in interfaceContainerThreadPool
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceContainerThreadPool
-
deconstruct
public void deconstruct()- Specified by:
deconstruct
in interfacecom.yahoo.component.Deconstructable
- Overrides:
deconstruct
in classcom.yahoo.component.AbstractComponent
-