Class Cluster


  • public class Cluster
    extends Object
    The Class Cluster.
    • Field Detail

      • name

        private String name
        The name.
      • info

        private String info
        The info.
      • managerClassName

        private String managerClassName
        The manager class name.
      • mcastAddress

        private String mcastAddress
        The mcast address.
      • mcastBindAddress

        private String mcastBindAddress
        The mcast bind address.
      • mcastClusterDomain

        private String mcastClusterDomain
        The mcast cluster domain.
      • mcastDropTime

        private long mcastDropTime
        The mcast drop time.
      • mcastFrequency

        private long mcastFrequency
        The mcast frequency.
      • mcastPort

        private int mcastPort
        The mcast port.
      • mcastSoTimeout

        private int mcastSoTimeout
        The mcast so timeout.
      • mcastTtl

        private int mcastTtl
        The mcast ttl.
      • tcpThreadCount

        private int tcpThreadCount
        The tcp thread count.
      • tcpListenAddress

        private String tcpListenAddress
        The tcp listen address.
      • tcpListenPort

        private int tcpListenPort
        The tcp listen port.
      • tcpSelectorTimeout

        private long tcpSelectorTimeout
        The tcp selector timeout.
      • nrOfMsgsReceived

        private long nrOfMsgsReceived
        The nr of msgs received.
      • totalReceivedBytes

        private long totalReceivedBytes
        The total received bytes.
      • senderAckTimeout

        private long senderAckTimeout
        The sender ack timeout.
      • senderAutoConnect

        private boolean senderAutoConnect
        The sender auto connect.
      • senderFailureCounter

        private long senderFailureCounter
        The sender failure counter.
      • senderNrOfRequests

        private long senderNrOfRequests
        The sender nr of requests.
      • senderReplicationMode

        private String senderReplicationMode
        The sender replication mode.
      • senderTotalBytes

        private long senderTotalBytes
        The sender total bytes.
    • Constructor Detail

      • Cluster

        public Cluster()
    • Method Detail

      • getName

        public String getName()
        Gets the name.
        Returns:
        the name
      • setName

        public void setName​(String name)
        Sets the name.
        Parameters:
        name - the new name
      • getInfo

        public String getInfo()
        Gets the info.
        Returns:
        the info
      • setInfo

        public void setInfo​(String info)
        Sets the info.
        Parameters:
        info - the new info
      • getManagerClassName

        public String getManagerClassName()
        Gets the manager class name.
        Returns:
        the manager class name
      • setManagerClassName

        public void setManagerClassName​(String managerClassName)
        Sets the manager class name.
        Parameters:
        managerClassName - the new manager class name
      • getMcastAddress

        public String getMcastAddress()
        Gets the mcast address.
        Returns:
        the mcast address
      • setMcastAddress

        public void setMcastAddress​(String mcastAddress)
        Sets the mcast address.
        Parameters:
        mcastAddress - the new mcast address
      • getMcastBindAddress

        public String getMcastBindAddress()
        Gets the mcast bind address.
        Returns:
        the mcast bind address
      • setMcastBindAddress

        public void setMcastBindAddress​(String mcastBindAddress)
        Sets the mcast bind address.
        Parameters:
        mcastBindAddress - the new mcast bind address
      • getMcastClusterDomain

        public String getMcastClusterDomain()
        Gets the mcast cluster domain.
        Returns:
        the mcast cluster domain
      • setMcastClusterDomain

        public void setMcastClusterDomain​(String mcastClusterDomain)
        Sets the mcast cluster domain.
        Parameters:
        mcastClusterDomain - the new mcast cluster domain
      • getMembers

        public List<ClusterSender> getMembers()
        Gets the members.
        Returns:
        the members
      • setMembers

        public void setMembers​(List<ClusterSender> members)
        Sets the members.
        Parameters:
        members - the new members
      • getTcpListenAddress

        public String getTcpListenAddress()
        Gets the tcp listen address.
        Returns:
        the tcp listen address
      • setTcpListenAddress

        public void setTcpListenAddress​(String tcpListenAddress)
        Sets the tcp listen address.
        Parameters:
        tcpListenAddress - the new tcp listen address
      • getTcpListenPort

        public int getTcpListenPort()
        Gets the tcp listen port.
        Returns:
        the tcp listen port
      • setTcpListenPort

        public void setTcpListenPort​(int tcpListenPort)
        Sets the tcp listen port.
        Parameters:
        tcpListenPort - the new tcp listen port
      • getTcpSelectorTimeout

        public long getTcpSelectorTimeout()
        Gets the tcp selector timeout.
        Returns:
        the tcp selector timeout
      • setTcpSelectorTimeout

        public void setTcpSelectorTimeout​(long tcpSelectorTimeout)
        Sets the tcp selector timeout.
        Parameters:
        tcpSelectorTimeout - the new tcp selector timeout
      • getNrOfMsgsReceived

        public long getNrOfMsgsReceived()
        Gets the nr of msgs received.
        Returns:
        the nr of msgs received
      • setNrOfMsgsReceived

        public void setNrOfMsgsReceived​(long nrOfMsgsReceived)
        Sets the nr of msgs received.
        Parameters:
        nrOfMsgsReceived - the new nr of msgs received
      • getSenderAckTimeout

        public long getSenderAckTimeout()
        Gets the sender ack timeout.
        Returns:
        the sender ack timeout
      • setSenderAckTimeout

        public void setSenderAckTimeout​(long senderAckTimeout)
        Sets the sender ack timeout.
        Parameters:
        senderAckTimeout - the new sender ack timeout
      • isSenderAutoConnect

        public boolean isSenderAutoConnect()
        Checks if is sender auto connect.
        Returns:
        true, if is sender auto connect
      • setSenderAutoConnect

        public void setSenderAutoConnect​(boolean senderAutoConnect)
        Sets the sender auto connect.
        Parameters:
        senderAutoConnect - the new sender auto connect
      • getSenderFailureCounter

        public long getSenderFailureCounter()
        Gets the sender failure counter.
        Returns:
        the sender failure counter
      • setSenderFailureCounter

        public void setSenderFailureCounter​(long senderFailureCounter)
        Sets the sender failure counter.
        Parameters:
        senderFailureCounter - the new sender failure counter
      • getSenderNrOfRequests

        public long getSenderNrOfRequests()
        Gets the sender nr of requests.
        Returns:
        the sender nr of requests
      • setSenderNrOfRequests

        public void setSenderNrOfRequests​(long senderNrOfRequests)
        Sets the sender nr of requests.
        Parameters:
        senderNrOfRequests - the new sender nr of requests
      • getSenderReplicationMode

        public String getSenderReplicationMode()
        Gets the sender replication mode.
        Returns:
        the sender replication mode
      • setSenderReplicationMode

        public void setSenderReplicationMode​(String senderReplicationMode)
        Sets the sender replication mode.
        Parameters:
        senderReplicationMode - the new sender replication mode
      • getSenderTotalBytes

        public long getSenderTotalBytes()
        Gets the sender total bytes.
        Returns:
        the sender total bytes
      • setSenderTotalBytes

        public void setSenderTotalBytes​(long senderTotalBytes)
        Sets the sender total bytes.
        Parameters:
        senderTotalBytes - the new sender total bytes
      • getMcastDropTime

        public long getMcastDropTime()
        Gets the mcast drop time.
        Returns:
        the mcast drop time
      • setMcastDropTime

        public void setMcastDropTime​(long mcastDropTime)
        Sets the mcast drop time.
        Parameters:
        mcastDropTime - the new mcast drop time
      • getMcastFrequency

        public long getMcastFrequency()
        Gets the mcast frequency.
        Returns:
        the mcast frequency
      • setMcastFrequency

        public void setMcastFrequency​(long mcastFrequency)
        Sets the mcast frequency.
        Parameters:
        mcastFrequency - the new mcast frequency
      • getMcastPort

        public int getMcastPort()
        Gets the mcast port.
        Returns:
        the mcast port
      • setMcastPort

        public void setMcastPort​(int mcastPort)
        Sets the mcast port.
        Parameters:
        mcastPort - the new mcast port
      • getMcastSoTimeout

        public int getMcastSoTimeout()
        Gets the mcast so timeout.
        Returns:
        the mcast so timeout
      • setMcastSoTimeout

        public void setMcastSoTimeout​(int mcastSoTimeout)
        Sets the mcast so timeout.
        Parameters:
        mcastSoTimeout - the new mcast so timeout
      • getMcastTtl

        public int getMcastTtl()
        Gets the mcast ttl.
        Returns:
        the mcast ttl
      • setMcastTtl

        public void setMcastTtl​(int mcastTtl)
        Sets the mcast ttl.
        Parameters:
        mcastTtl - the new mcast ttl
      • getTcpThreadCount

        public int getTcpThreadCount()
        Gets the tcp thread count.
        Returns:
        the tcp thread count
      • setTcpThreadCount

        public void setTcpThreadCount​(int tcpThreadCount)
        Sets the tcp thread count.
        Parameters:
        tcpThreadCount - the new tcp thread count
      • getTotalReceivedBytes

        public long getTotalReceivedBytes()
        Gets the total received bytes.
        Returns:
        the total received bytes
      • setTotalReceivedBytes

        public void setTotalReceivedBytes​(long totalReceivedBytes)
        Sets the total received bytes.
        Parameters:
        totalReceivedBytes - the new total received bytes