|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClusterProtocolPolicy
Cluster Protocol design time customization options.
DefaultClusterProtocolPolicy
,
ClusterProtocolBuilder.withClusterProtocolPolicy(ClusterProtocolPolicy)
,
ClusterProtocol.policy()
Method Summary | |
---|---|
boolean |
useRequestProtocolId()
Reserved for future use. |
boolean |
waitOnChannelOpening()
This option indicates that the Cluster Protocol should hold on user thread on messages sending to wait for connection restoration. |
Method Detail |
---|
boolean waitOnChannelOpening()
Opening
and this option is true
,
the Cluster Protocol will hold user thread on
send()
/request()
/beginRequest()
/requestAsync()
calls instead of throwing immediate exception.Opening
, and it got no opened connections in the timeout frame,
ChannelClosedOnSendException
will be thrown.false
, the exception will be thrown immediately.
true
- if the hold on feature is enabled,
false
- if it's not.boolean useRequestProtocolId()
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |