Class BrokerClusterGatewayInfo

java.lang.Object
COM.activesw.api.client.BrokerClusterGatewayInfo

public class BrokerClusterGatewayInfo extends Object
This class stores configuration information about a cluster gateway
  • Field Details

    • gateway_host_name

      public String gateway_host_name
      The gateway host in this cluster.
    • gateway_broker_name

      public String gateway_broker_name
      The gateway broker in this cluster.
    • remote_cluster_name

      public String remote_cluster_name
      The name of the remote cluster
    • remote_host_name

      public String remote_host_name
      The remote broker's host name. If the gateway broker is not the same as the current broker, this field may be null
    • remote_broker_name

      public String remote_broker_name
      The remote broker name. If the gateway broker is not the same as the current broker, this field may be null
    • remote_broker_description

      public String remote_broker_description
      The description of the remote broker. If the gateway broker is not the same as the current broker, this field may be null
    • auth_type

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

      public int encrypt_level
      The level of encryption required on the gateway. Valid values are BrokerConnectionDescriptor.ENCRYPT_LEVEL_*.
    • is_local

      public boolean is_local
      Whether or not the gateway is on the current broker.
    • is_complete

      public boolean is_complete
      Whether or not the gateway is complete. A gateway is complete if both the gateway and remote brokers agree on the gateway. It is not complete if the gateway broker has created a gateway, but the similar create was not done on the remote broker.
    • is_primary_gateway

      public boolean is_primary_gateway
      Whether or not the Cluster gateway is primary. Brokers in a Cluster (8.x and above) can have multiple gateway links to the other Cluster. User can set one of them as the Primary gateway for communication.
    • accessible_clusters

      public String[] accessible_clusters
      The list of clusters accessible through this gateway.
  • Constructor Details

    • BrokerClusterGatewayInfo

      public BrokerClusterGatewayInfo()
      Create an empty Cluster gateway info object.
    • BrokerClusterGatewayInfo

      public BrokerClusterGatewayInfo(BrokerTerritoryGatewayInfo terrGwyInfo)
      Create an Cluster gateway info object from Territory Gateway Info object.
  • Method Details

    • toString

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

      public String toString(int indent_level, boolean hide_gateway_broker, boolean hide_accessible_clusters)
      Returns a string with the cluster gateway info in a form suitable for human viewing. This string does not include accessible cluster information. If hide_gateway_broker is true, it omits the gateway broker's host and name, and the is_local information. If hide_accessible_clusters is true, it omits the accessible clusters and is_complete information.