Interface ElasticChannelConfiguration.Builder

    • Method Detail

      • maximumSubChannels

        ElasticChannelConfiguration.Builder maximumSubChannels​(Integer maximumSubChannels)

        The maximum number of SubChannels that you want to allow in the elastic channel.

        Parameters:
        maximumSubChannels - The maximum number of SubChannels that you want to allow in the elastic channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetMembershipsPerSubChannel

        ElasticChannelConfiguration.Builder targetMembershipsPerSubChannel​(Integer targetMembershipsPerSubChannel)

        The maximum number of members allowed in a SubChannel.

        Parameters:
        targetMembershipsPerSubChannel - The maximum number of members allowed in a SubChannel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • minimumMembershipPercentage

        ElasticChannelConfiguration.Builder minimumMembershipPercentage​(Integer minimumMembershipPercentage)

        The minimum allowed percentage of TargetMembershipsPerSubChannel users. Ceil of the calculated value is used in balancing members among SubChannels of the elastic channel.

        Parameters:
        minimumMembershipPercentage - The minimum allowed percentage of TargetMembershipsPerSubChannel users. Ceil of the calculated value is used in balancing members among SubChannels of the elastic channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.