public interface BlockingTimeout
Modifier and Type | Interface and Description |
---|---|
static class |
BlockingTimeout.Factory |
Modifier and Type | Field and Description |
---|---|
static String |
SYSTEM_PROPERTY |
Modifier and Type | Method and Description |
---|---|
int |
getDomainBlockingTimeout(boolean multipleProxies)
Gets the maximum period, in ms, a blocking call should block waiting for a response from a set of remote
processes in a managed domain.
|
int |
getLocalBlockingTimeout()
Gets the maximum period, in ms, a local blocking call should block.
|
int |
getProxyBlockingTimeout(PathAddress targetAddress,
ProxyController proxyController)
Gets the maximum period, in ms, a blocking call should block waiting for a response from a remote
process in a managed domain.
|
void |
proxyTimeoutDetected(PathAddress targetAddress)
Notifies this object that a timeout has occurred when invoking on the given target,
allowing shorter timeouts values to be returned from
getProxyBlockingTimeout(PathAddress, ProxyController) |
void |
timeoutDetected()
Notifies this object that a timeout has occurred, allowing shorter timeout values
to be returned from
getLocalBlockingTimeout() . |
static final String SYSTEM_PROPERTY
int getLocalBlockingTimeout()
int getProxyBlockingTimeout(PathAddress targetAddress, ProxyController proxyController)
getLocalBlockingTimeout()
to account for delays
due to propagation of responses across the domain and to allow any timeout on the remote process
to be transmitted as a response to the local process rather than the local process timing out.targetAddress
- the address of the target processproxyController
- the proxy controller used to direct the request to the target processint getDomainBlockingTimeout(boolean multipleProxies)
timeoutDetected()
.multipleProxies
- true
if this process is the master Host Controller and there may
be slave Host Controllers in the middle between this process
and the targeted remote processes.void timeoutDetected()
getLocalBlockingTimeout()
.void proxyTimeoutDetected(PathAddress targetAddress)
getProxyBlockingTimeout(PathAddress, ProxyController)
Copyright © 2023 JBoss by Red Hat. All rights reserved.