Class Statistics
java.lang.Object
com.dtsx.astra.sdk.streaming.domain.Statistics
Hold statistics for an item.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets backlogStorageByteSizeint
Gets consumerCountint
Gets msgBacklogNumberdouble
Gets msgRateIndouble
Gets msgRateOutgetName()
Gets nameint
Gets producerCountint
Gets storageSizeint
Gets subscriptionCountint
Gets subscriptionDelayeddouble
Gets throughputIndouble
Gets throughputOutlong
Gets totalBytesInlong
Gets totalBytesOutlong
Gets totalMessagesInlong
Gets totalMessagesOutGets updatedAtvoid
setBacklogStorageByteSize
(int backlogStorageByteSize) Set value for backlogStorageByteSizevoid
setConsumerCount
(int consumerCount) Set value for consumerCountvoid
setMsgBacklogNumber
(int msgBacklogNumber) Set value for msgBacklogNumbervoid
setMsgRateIn
(double msgRateIn) Set value for msgRateInvoid
setMsgRateOut
(double msgRateOut) Set value for msgRateOutvoid
Set value for namevoid
setProducerCount
(int producerCount) Set value for producerCountvoid
setStorageSize
(int storageSize) Set value for storageSizevoid
setSubscriptionCount
(int subscriptionCount) Set value for subscriptionCountvoid
setSubscriptionDelayed
(int subscriptionDelayed) Set value for subscriptionDelayedvoid
setThroughputIn
(double throughputIn) Set value for throughputInvoid
setThroughputOut
(double throughputOut) Set value for throughputOutvoid
setTotalBytesIn
(long totalBytesIn) Set value for totalBytesInvoid
setTotalBytesOut
(long totalBytesOut) Set value for totalBytesOutvoid
setTotalMessagesIn
(long totalMessagesIn) Set value for totalMessagesInvoid
setTotalMessagesOut
(long totalMessagesOut) Set value for totalMessagesOutvoid
setUpdatedAt
(Date updatedAt) Set value for updatedAt
-
Constructor Details
-
Statistics
public Statistics()default constructor.
-
-
Method Details
-
getName
Gets name- Returns:
- value of name
-
setName
Set value for name- Parameters:
name
- new value for name
-
getTotalMessagesIn
public long getTotalMessagesIn()Gets totalMessagesIn- Returns:
- value of totalMessagesIn
-
setTotalMessagesIn
public void setTotalMessagesIn(long totalMessagesIn) Set value for totalMessagesIn- Parameters:
totalMessagesIn
- new value for totalMessagesIn
-
getTotalMessagesOut
public long getTotalMessagesOut()Gets totalMessagesOut- Returns:
- value of totalMessagesOut
-
setTotalMessagesOut
public void setTotalMessagesOut(long totalMessagesOut) Set value for totalMessagesOut- Parameters:
totalMessagesOut
- new value for totalMessagesOut
-
getTotalBytesIn
public long getTotalBytesIn()Gets totalBytesIn- Returns:
- value of totalBytesIn
-
setTotalBytesIn
public void setTotalBytesIn(long totalBytesIn) Set value for totalBytesIn- Parameters:
totalBytesIn
- new value for totalBytesIn
-
getTotalBytesOut
public long getTotalBytesOut()Gets totalBytesOut- Returns:
- value of totalBytesOut
-
setTotalBytesOut
public void setTotalBytesOut(long totalBytesOut) Set value for totalBytesOut- Parameters:
totalBytesOut
- new value for totalBytesOut
-
getMsgRateIn
public double getMsgRateIn()Gets msgRateIn- Returns:
- value of msgRateIn
-
setMsgRateIn
public void setMsgRateIn(double msgRateIn) Set value for msgRateIn- Parameters:
msgRateIn
- new value for msgRateIn
-
getMsgRateOut
public double getMsgRateOut()Gets msgRateOut- Returns:
- value of msgRateOut
-
setMsgRateOut
public void setMsgRateOut(double msgRateOut) Set value for msgRateOut- Parameters:
msgRateOut
- new value for msgRateOut
-
getThroughputIn
public double getThroughputIn()Gets throughputIn- Returns:
- value of throughputIn
-
setThroughputIn
public void setThroughputIn(double throughputIn) Set value for throughputIn- Parameters:
throughputIn
- new value for throughputIn
-
getThroughputOut
public double getThroughputOut()Gets throughputOut- Returns:
- value of throughputOut
-
setThroughputOut
public void setThroughputOut(double throughputOut) Set value for throughputOut- Parameters:
throughputOut
- new value for throughputOut
-
getSubscriptionCount
public int getSubscriptionCount()Gets subscriptionCount- Returns:
- value of subscriptionCount
-
setSubscriptionCount
public void setSubscriptionCount(int subscriptionCount) Set value for subscriptionCount- Parameters:
subscriptionCount
- new value for subscriptionCount
-
getProducerCount
public int getProducerCount()Gets producerCount- Returns:
- value of producerCount
-
setProducerCount
public void setProducerCount(int producerCount) Set value for producerCount- Parameters:
producerCount
- new value for producerCount
-
getConsumerCount
public int getConsumerCount()Gets consumerCount- Returns:
- value of consumerCount
-
setConsumerCount
public void setConsumerCount(int consumerCount) Set value for consumerCount- Parameters:
consumerCount
- new value for consumerCount
-
getSubscriptionDelayed
public int getSubscriptionDelayed()Gets subscriptionDelayed- Returns:
- value of subscriptionDelayed
-
setSubscriptionDelayed
public void setSubscriptionDelayed(int subscriptionDelayed) Set value for subscriptionDelayed- Parameters:
subscriptionDelayed
- new value for subscriptionDelayed
-
getStorageSize
public int getStorageSize()Gets storageSize- Returns:
- value of storageSize
-
setStorageSize
public void setStorageSize(int storageSize) Set value for storageSize- Parameters:
storageSize
- new value for storageSize
-
getBacklogStorageByteSize
public int getBacklogStorageByteSize()Gets backlogStorageByteSize- Returns:
- value of backlogStorageByteSize
-
setBacklogStorageByteSize
public void setBacklogStorageByteSize(int backlogStorageByteSize) Set value for backlogStorageByteSize- Parameters:
backlogStorageByteSize
- new value for backlogStorageByteSize
-
getMsgBacklogNumber
public int getMsgBacklogNumber()Gets msgBacklogNumber- Returns:
- value of msgBacklogNumber
-
setMsgBacklogNumber
public void setMsgBacklogNumber(int msgBacklogNumber) Set value for msgBacklogNumber- Parameters:
msgBacklogNumber
- new value for msgBacklogNumber
-
getUpdatedAt
Gets updatedAt- Returns:
- value of updatedAt
-
setUpdatedAt
Set value for updatedAt- Parameters:
updatedAt
- new value for updatedAt
-