Package com.dtsx.astra.sdk.db.domain
Class DatabaseMetrics
java.lang.Object
com.dtsx.astra.sdk.db.domain.DatabaseMetrics
Wrap Database Metrics.
- Author:
- Cedrick LUNVEN (@clunven)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Getter accessor for attribute 'errorsTotalCount'.int
Getter accessor for attribute 'liveDataSizeBytes'.int
Getter accessor for attribute 'readRequestsTotalCount'.int
Getter accessor for attribute 'writeRequestsTotalCount'.void
setErrorsTotalCount
(int errorsTotalCount) Setter accessor for attribute 'errorsTotalCount'.void
setLiveDataSizeBytes
(int liveDataSizeBytes) Setter accessor for attribute 'liveDataSizeBytes'.void
setReadRequestsTotalCount
(int readRequestsTotalCount) Setter accessor for attribute 'readRequestsTotalCount'.void
setWriteRequestsTotalCount
(int writeRequestsTotalCount) Setter accessor for attribute 'writeRequestsTotalCount'.
-
Constructor Details
-
DatabaseMetrics
public DatabaseMetrics()
-
-
Method Details
-
getWriteRequestsTotalCount
public int getWriteRequestsTotalCount()Getter accessor for attribute 'writeRequestsTotalCount'.- Returns:
- current value of 'writeRequestsTotalCount'
-
setWriteRequestsTotalCount
public void setWriteRequestsTotalCount(int writeRequestsTotalCount) Setter accessor for attribute 'writeRequestsTotalCount'.- Parameters:
writeRequestsTotalCount
- new value for 'writeRequestsTotalCount '
-
getReadRequestsTotalCount
public int getReadRequestsTotalCount()Getter accessor for attribute 'readRequestsTotalCount'.- Returns:
- current value of 'readRequestsTotalCount'
-
setReadRequestsTotalCount
public void setReadRequestsTotalCount(int readRequestsTotalCount) Setter accessor for attribute 'readRequestsTotalCount'.- Parameters:
readRequestsTotalCount
- new value for 'readRequestsTotalCount '
-
getLiveDataSizeBytes
public int getLiveDataSizeBytes()Getter accessor for attribute 'liveDataSizeBytes'.- Returns:
- current value of 'liveDataSizeBytes'
-
setLiveDataSizeBytes
public void setLiveDataSizeBytes(int liveDataSizeBytes) Setter accessor for attribute 'liveDataSizeBytes'.- Parameters:
liveDataSizeBytes
- new value for 'liveDataSizeBytes '
-
getErrorsTotalCount
public int getErrorsTotalCount()Getter accessor for attribute 'errorsTotalCount'.- Returns:
- current value of 'errorsTotalCount'
-
setErrorsTotalCount
public void setErrorsTotalCount(int errorsTotalCount) Setter accessor for attribute 'errorsTotalCount'.- Parameters:
errorsTotalCount
- new value for 'errorsTotalCount '
-