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
ConstructorsConstructorDescriptionContainerThreadpoolImpl(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:
executorin interfaceContainerThreadPool
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceContainerThreadPool
-
deconstruct
public void deconstruct()- Specified by:
deconstructin interfacecom.yahoo.component.Deconstructable- Overrides:
deconstructin classcom.yahoo.component.AbstractComponent
-