Class BrokerClusterInfo


  • public class BrokerClusterInfo
    extends java.lang.Object
    This class stores configuration information about a cluster
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int auth_type
      The authentication type in use in the cluster.
      java.lang.String cluster_name
      The cluster name.
      int encrypt_level
      The level of encryption required in the cluster.
      boolean isLocalPublish
      Specifies whether document forwarding is disabled in this cluster
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()
      Returns a string with the cluster info in a form suitable for human viewing.
      java.lang.String toString​(int indent_level)
      Returns a string with the cluster info in a form suitable for human viewing.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • cluster_name

        public java.lang.String cluster_name
        The cluster name.
      • auth_type

        public int auth_type
        The authentication type in use in the cluster. Valid values are BrokerAdminClient.AUTH_TYPE_*.
      • encrypt_level

        public int encrypt_level
        The level of encryption required in the cluster. Valid values are BrokerConnectionDescriptor.ENCRYPT_LEVEL_*.
      • isLocalPublish

        public boolean isLocalPublish
        Specifies whether document forwarding is disabled in this cluster
    • Constructor Detail

      • BrokerClusterInfo

        public BrokerClusterInfo()
        Create an empty cluster info object.
      • BrokerClusterInfo

        public BrokerClusterInfo​(BrokerTerritoryInfo terrInfo)
        Create a Cluster info from Territory info object.
    • Method Detail

      • toString

        public java.lang.String toString()
        Returns a string with the cluster info in a form suitable for human viewing.
        Overrides:
        toString in class java.lang.Object
      • toString

        public java.lang.String toString​(int indent_level)
        Returns a string with the cluster info in a form suitable for human viewing.