Package org.jboss.as.threads
Class UnboundedQueueThreadPoolWriteAttributeHandler
java.lang.Object
org.jboss.as.controller.AbstractWriteAttributeHandler<Boolean>
org.jboss.as.threads.ThreadsWriteAttributeOperationHandler
org.jboss.as.threads.UnboundedQueueThreadPoolWriteAttributeHandler
- All Implemented Interfaces:
OperationStepHandler
public class UnboundedQueueThreadPoolWriteAttributeHandler
extends ThreadsWriteAttributeOperationHandler
Handles attribute writes for an unbounded queue thread pool.
- Author:
- Alexey Loubyansky
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jboss.as.controller.AbstractWriteAttributeHandler
AbstractWriteAttributeHandler.HandbackHolder<T extends Object> -
Constructor Summary
ConstructorsConstructorDescriptionUnboundedQueueThreadPoolWriteAttributeHandler(RuntimeCapability<Void> capability, org.jboss.msc.service.ServiceName serviceNameBase) UnboundedQueueThreadPoolWriteAttributeHandler(org.jboss.msc.service.ServiceName serviceNameBase) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyOperation(OperationContext context, org.jboss.dmr.ModelNode model, String attributeName, org.jboss.msc.service.ServiceController<?> service, boolean forRollback) protected org.jboss.msc.service.ServiceController<?>getService(OperationContext context, org.jboss.dmr.ModelNode model) Methods inherited from class org.jboss.as.threads.ThreadsWriteAttributeOperationHandler
applyUpdateToRuntime, registerAttributes, revertUpdateToRuntimeMethods inherited from class org.jboss.as.controller.AbstractWriteAttributeHandler
execute, finishModelStage, getAttributeDefinition, recordCapabilitiesAndRequirements, requiresRuntime, validateUpdatedModel
-
Constructor Details
-
UnboundedQueueThreadPoolWriteAttributeHandler
@Deprecated(forRemoval=true) public UnboundedQueueThreadPoolWriteAttributeHandler(org.jboss.msc.service.ServiceName serviceNameBase) Deprecated, for removal: This API element is subject to removal in a future version. -
UnboundedQueueThreadPoolWriteAttributeHandler
public UnboundedQueueThreadPoolWriteAttributeHandler(RuntimeCapability<Void> capability, org.jboss.msc.service.ServiceName serviceNameBase)
-
-
Method Details
-
applyOperation
protected void applyOperation(OperationContext context, org.jboss.dmr.ModelNode model, String attributeName, org.jboss.msc.service.ServiceController<?> service, boolean forRollback) throws OperationFailedException - Specified by:
applyOperationin classThreadsWriteAttributeOperationHandler- Throws:
OperationFailedException
-
getService
protected org.jboss.msc.service.ServiceController<?> getService(OperationContext context, org.jboss.dmr.ModelNode model) throws OperationFailedException - Specified by:
getServicein classThreadsWriteAttributeOperationHandler- Throws:
OperationFailedException
-