Package org.jboss.as.controller
Class BlockingTimeout.Factory
java.lang.Object
org.jboss.as.controller.BlockingTimeout.Factory
- Enclosing interface:
- BlockingTimeout
-
Method Summary
Modifier and TypeMethodDescriptionstatic BlockingTimeoutgetDomainBlockingTimeout(OperationContext context) Gets any blocking timeout associated with the current context.static BlockingTimeoutgetProxyBlockingTimeout(OperationContext context) Gets any blocking timeout associated with the current context.
-
Method Details
-
getDomainBlockingTimeout
Gets any blocking timeout associated with the current context. Only usable inOperationContext.Stage.DOMAIN- Parameters:
context- the context. Cannot enull- Returns:
- the blocking timeout. Will not return
null - Throws:
AssertionError- ifOperationContext.getCurrentStage()does not returnOperationContext.Stage.DOMAIN
-
getProxyBlockingTimeout
Gets any blocking timeout associated with the current context.- Parameters:
context- the context. Cannot enull- Returns:
- the blocking timeout. Will not return
null
-