Interface Cluster

    • Method Detail

      • getName

        @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\.;]*",
                 message="{cluster.invalid.name}",
                 payload=Cluster.class)
        @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\.;]*",message="{cluster.invalid.name}",payload=Cluster.class) String getName()
        Description copied from interface: Named
        Name of the configured object
        Specified by:
        getName in interface Named
        Returns:
        name of the configured object
      • getConfigRef

        @NotNull
        @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\.;]*")
        @RemoteKey(message="{resourceref.invalid.configref}",
                   type=Config.class)
        @NotNull @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\.;]*") String getConfigRef()
        points to a named config. All server instances in the cluster will share this config.
        Returns:
        a named config name
      • getGmsEnabled

        @NotNull
        @NotNull String getGmsEnabled()
        Gets the value of the gmsEnabled property. When "gms-enabled" is set to "true", the GMS services will be started as a lifecycle module in each the application server in the cluster.
        Returns:
        true | false as a string, null means false
      • getBroadcast

        @NotNull
        @NotNull String getBroadcast()
        Gets the value of the broadcast property. When "broadcast" is set to default of "udpmulticast" and GmsMulticastPort GMSMulticastAddress are not set, then their values are generated. When "broadcast" is set to implied unicast using udp or tcp protocol, then the VIRUTAL_MUTLICAST_URI_LIST is generated for virtual broadcast over unicast mode.
        Returns:
        true | false as a string, null means false
      • getGmsMulticastPort

        @Min(2048L)
        @Max(49151L)
        @Min(2048L) @Max(49151L) String getGmsMulticastPort()
        Gets the value of the gmsMulticastPort property. This is the communication port GMS uses to listen for group events. This should be a valid port number.
        Returns:
        possible object is String
      • getGmsMulticastAddress

        String getGmsMulticastAddress()
        Gets the value of the gmsMulticastAddress property. This is the address (only multicast supported) at which GMS will listen for group events. Must be unique for each cluster.
        Returns:
        possible object is String
      • getGmsBindInterfaceAddress

        String getGmsBindInterfaceAddress()
        Gets the value of the gmsBindInterfaceAddress property.
        Returns:
        possible object is String
      • setGmsBindInterfaceAddress

        void setGmsBindInterfaceAddress​(String value)
                                 throws PropertyVetoException
        Sets the value of the gmsBindInterfaceAddress property.
        Parameters:
        value - allowed object is String
        Throws:
        PropertyVetoException - if a listener vetoes the change
      • getHeartbeatEnabled

        @Deprecated
        String getHeartbeatEnabled()
        Deprecated.
        Gets the value of the heartbeatEnabled property. When "heartbeat-enabled" is set to "true", the GMS services will be started as a lifecycle module in each the application server in the cluster.When "heartbeat-enabled" is set to "false", GMS will not be started and its services will be unavailable. Clusters should function albeit with reduced functionality.
        Returns:
        true | false as a string, null means false
      • getHeartbeatPort

        @Deprecated
        String getHeartbeatPort()
        Deprecated.
        Gets the value of the heartbeatPort property. This is the communication port GMS uses to listen for group events. This should be a valid port number.
        Returns:
        possible object is String
      • getHeartbeatAddress

        @Deprecated
        String getHeartbeatAddress()
        Deprecated.
        Gets the value of the heartbeatAddress property. This is the address (only multicast supported) at which GMS will listen for group events.
        Returns:
        possible object is String
      • getServerRef

        List<ServerRef> getServerRef()
        Gets the value of the serverRef property. List of servers in the cluster
        Returns:
        list of configured ServerRef
      • getSystemProperty

        @ToDo(priority=IMPORTANT,
              details="Provide PropertyDesc for legal system props")
        List<SystemProperty> getSystemProperty()
        Gets the value of the systemProperty property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the systemProperty property.

        For example, to add a new item, do as follows:

            getSystemProperty().add(newItem);
         

        Objects of the following type(s) are allowed in the list SystemProperty

        Specified by:
        getSystemProperty in interface SystemPropertyBag
        Returns:
      • isResourceRefExists

        @DuckTyped
        boolean isResourceRefExists​(String refName)