Package psiprobe.model.jmx
Class Cluster
- java.lang.Object
-
- psiprobe.model.jmx.Cluster
-
public class Cluster extends Object
The Class Cluster.
-
-
Field Summary
Fields Modifier and Type Field Description private String
info
The info.private String
managerClassName
The manager class name.private String
mcastAddress
The mcast address.private String
mcastBindAddress
The mcast bind address.private String
mcastClusterDomain
The mcast cluster domain.private long
mcastDropTime
The mcast drop time.private long
mcastFrequency
The mcast frequency.private int
mcastPort
The mcast port.private int
mcastSoTimeout
The mcast so timeout.private int
mcastTtl
The mcast ttl.private List<ClusterSender>
members
The members.private String
name
The name.private long
nrOfMsgsReceived
The nr of msgs received.private long
senderAckTimeout
The sender ack timeout.private boolean
senderAutoConnect
The sender auto connect.private long
senderFailureCounter
The sender failure counter.private long
senderNrOfRequests
The sender nr of requests.private String
senderReplicationMode
The sender replication mode.private long
senderTotalBytes
The sender total bytes.private String
tcpListenAddress
The tcp listen address.private int
tcpListenPort
The tcp listen port.private long
tcpSelectorTimeout
The tcp selector timeout.private int
tcpThreadCount
The tcp thread count.private long
totalReceivedBytes
The total received bytes.
-
Constructor Summary
Constructors Constructor Description Cluster()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getInfo()
Gets the info.String
getManagerClassName()
Gets the manager class name.String
getMcastAddress()
Gets the mcast address.String
getMcastBindAddress()
Gets the mcast bind address.String
getMcastClusterDomain()
Gets the mcast cluster domain.long
getMcastDropTime()
Gets the mcast drop time.long
getMcastFrequency()
Gets the mcast frequency.int
getMcastPort()
Gets the mcast port.int
getMcastSoTimeout()
Gets the mcast so timeout.int
getMcastTtl()
Gets the mcast ttl.List<ClusterSender>
getMembers()
Gets the members.String
getName()
Gets the name.long
getNrOfMsgsReceived()
Gets the nr of msgs received.long
getSenderAckTimeout()
Gets the sender ack timeout.long
getSenderFailureCounter()
Gets the sender failure counter.long
getSenderNrOfRequests()
Gets the sender nr of requests.String
getSenderReplicationMode()
Gets the sender replication mode.long
getSenderTotalBytes()
Gets the sender total bytes.String
getTcpListenAddress()
Gets the tcp listen address.int
getTcpListenPort()
Gets the tcp listen port.long
getTcpSelectorTimeout()
Gets the tcp selector timeout.int
getTcpThreadCount()
Gets the tcp thread count.long
getTotalReceivedBytes()
Gets the total received bytes.boolean
isSenderAutoConnect()
Checks if is sender auto connect.void
setInfo(String info)
Sets the info.void
setManagerClassName(String managerClassName)
Sets the manager class name.void
setMcastAddress(String mcastAddress)
Sets the mcast address.void
setMcastBindAddress(String mcastBindAddress)
Sets the mcast bind address.void
setMcastClusterDomain(String mcastClusterDomain)
Sets the mcast cluster domain.void
setMcastDropTime(long mcastDropTime)
Sets the mcast drop time.void
setMcastFrequency(long mcastFrequency)
Sets the mcast frequency.void
setMcastPort(int mcastPort)
Sets the mcast port.void
setMcastSoTimeout(int mcastSoTimeout)
Sets the mcast so timeout.void
setMcastTtl(int mcastTtl)
Sets the mcast ttl.void
setMembers(List<ClusterSender> members)
Sets the members.void
setName(String name)
Sets the name.void
setNrOfMsgsReceived(long nrOfMsgsReceived)
Sets the nr of msgs received.void
setSenderAckTimeout(long senderAckTimeout)
Sets the sender ack timeout.void
setSenderAutoConnect(boolean senderAutoConnect)
Sets the sender auto connect.void
setSenderFailureCounter(long senderFailureCounter)
Sets the sender failure counter.void
setSenderNrOfRequests(long senderNrOfRequests)
Sets the sender nr of requests.void
setSenderReplicationMode(String senderReplicationMode)
Sets the sender replication mode.void
setSenderTotalBytes(long senderTotalBytes)
Sets the sender total bytes.void
setTcpListenAddress(String tcpListenAddress)
Sets the tcp listen address.void
setTcpListenPort(int tcpListenPort)
Sets the tcp listen port.void
setTcpSelectorTimeout(long tcpSelectorTimeout)
Sets the tcp selector timeout.void
setTcpThreadCount(int tcpThreadCount)
Sets the tcp thread count.void
setTotalReceivedBytes(long totalReceivedBytes)
Sets the total received bytes.
-
-
-
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.
-
members
private List<ClusterSender> members
The members.
-
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.
-
-
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
-
-