Class ClusterBean

All Implemented Interfaces:
Serializable

@Named @ViewScoped public class ClusterBean extends FCContextBean implements Serializable
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • ClusterBean

      public ClusterBean()
  • Method Details

    • isActive

      public boolean isActive()
    • setActive

      public void setActive(boolean active)
    • getNodeName

      public String getNodeName()
    • setNodeName

      public void setNodeName(String nodeName)
    • getGroupName

      public String getGroupName()
    • setGroupName

      public void setGroupName(String groupName)
    • getType

      public ENodeType getType()
    • setType

      public void setType(ENodeType type)
    • getUdpMcastAdress

      public String getUdpMcastAdress()
      Returns:
      the mcastAdress
    • setUdpMcastAdress

      public void setUdpMcastAdress(String mcastAdress)
      Parameters:
      mcastAdress - the mcastAdress to set
    • getUdpMcastPort

      public Integer getUdpMcastPort()
      Returns:
      the mcastPort
    • setUdpMcastPort

      public void setUdpMcastPort(Integer mcastPort)
      Parameters:
      mcastPort - the mcastPort to set
    • getBindAdress

      public String getBindAdress()
      Returns:
      the bindAdress
    • setBindAdress

      public void setBindAdress(String bindAdress)
      Parameters:
      bindAdress - the bindAdress to set
    • getBindPort

      public Integer getBindPort()
      Returns:
      the bindPort
    • setBindPort

      public void setBindPort(Integer bindPort)
      Parameters:
      bindPort - the bindPort to set
    • isExtended

      public boolean isExtended()
      Returns:
      the extended
    • setExtended

      public void setExtended(boolean extended)
      Parameters:
      extended - the extended to set
    • getClusterNodes

      public List<NodeModel> getClusterNodes()
    • getProtocol

      public EClusterProtocolType getProtocol()
      Returns:
      the protocol
    • setProtocol

      public void setProtocol(EClusterProtocolType protocol)
      Parameters:
      protocol - the protocol to set
    • isUseExternalAdress

      public boolean isUseExternalAdress()
      Returns:
      the useExternalAdress
    • setUseExternalAdress

      public void setUseExternalAdress(boolean useExternalAdress)
      Parameters:
      useExternalAdress - the useExternalAdress to set
    • getExternalAdress

      public String getExternalAdress()
      Returns:
      the externalAdress
    • setExternalAdress

      public void setExternalAdress(String externalAdress)
      Parameters:
      externalAdress - the externalAdress to set
    • getExternalPort

      public Integer getExternalPort()
      Returns:
      the externalPort
    • setExternalPort

      public void setExternalPort(Integer externalPort)
      Parameters:
      externalPort - the externalPort to set
    • setTcpHostList

      public void setTcpHostList(List<GenericStringModel> tcpHostList)
      Parameters:
      tcpHostList - the tcpHostList to set
    • getTcpHostList

      public List<GenericStringModel> getTcpHostList()
      Returns:
      the tcpHostList
    • addTcpHost

      public void addTcpHost()
    • removeTcpHost

      public void removeTcpHost(GenericStringModel host)
    • isUseDynamicNodeName

      public boolean isUseDynamicNodeName()
    • setUseDynamicNodeName

      public void setUseDynamicNodeName(boolean useDynamicNodeName)
    • save

      public void save()
      Schreiben der Clusterkonfiguration aus der Oberfläche in eine Propertiesdatei. Es werden immer alle Properties geschrieben, auch wenn der Cluster deaktiviert ist. Beim Auswerten der Clusterkonfiguration muss damit immer die Property XfcConfigKeys.Cluster.ACTIVE geprüft werden.
    • isLocal

      public boolean isLocal(NodeModel node)