Class EJBClientCluster

java.lang.Object
org.jboss.ejb.client.EJBClientCluster

public final class EJBClientCluster extends Object
Information about a configured cluster on an Enterprise Bean client context.
Author:
David M. Lloyd
  • Method Details

    • getName

      public String getName()
      Get the name of the configured cluster.
      Returns:
      the name of the configured cluster (not null)
    • getMaximumConnectedNodes

      public long getMaximumConnectedNodes()
      Get the maximum number of nodes to connect.
      Returns:
      the maximum number of nodes to connect, or 0 for no limit
    • getConnectTimeoutMilliseconds

      public long getConnectTimeoutMilliseconds()
      Get the connection timeout value in milliseconds. This value overrides any preconfigured values.
      Returns:
      the connection timeout (in milliseconds), 0 for no timeout, or -1 to use the context default
    • getClusterNodeSelector

      public ClusterNodeSelector getClusterNodeSelector()
      Get the cluster node selector to use.
      Returns:
      the cluster node selector, or null if the default selector from the context should be used
    • getOverrideConfiguration

      public org.wildfly.security.auth.client.AuthenticationConfiguration getOverrideConfiguration()
      Get the overriding authentication configuration in use for nodes in this cluster, overriding the caller's default.
      Returns:
      the authentication configuration to use or null to use the standard inherited authentication configuration
    • toString

      public String toString()
      Overrides:
      toString in class Object