Platform SDK Java 8.5 API Reference

com.genesyslab.platform.clusterprotocol
Interface ClusterProtocolPolicy

All Known Implementing Classes:
DefaultClusterProtocolPolicy

public interface ClusterProtocolPolicy

Cluster Protocol design time customization options.

See Also:
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

waitOnChannelOpening

boolean waitOnChannelOpening()
This option indicates that the Cluster Protocol should hold on user thread on messages sending to wait for connection restoration.

If protocol is Opening and this option is true, the Cluster Protocol will hold user thread on send()/request()/beginRequest()/requestAsync() calls instead of throwing immediate exception.
It will use the protocol timeout value as maximum wait time.

If Cluster Protocol is Opening, and it got no opened connections in the timeout frame, ChannelClosedOnSendException will be thrown.
If this option is false, the exception will be thrown immediately.

Returns:
true - if the hold on feature is enabled, false - if it's not.

useRequestProtocolId

boolean useRequestProtocolId()
Reserved for future use.


Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.