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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGetter accessor for attribute 'errorsTotalCount'.intGetter accessor for attribute 'liveDataSizeBytes'.intGetter accessor for attribute 'readRequestsTotalCount'.intGetter accessor for attribute 'writeRequestsTotalCount'.voidsetErrorsTotalCount(int errorsTotalCount) Setter accessor for attribute 'errorsTotalCount'.voidsetLiveDataSizeBytes(int liveDataSizeBytes) Setter accessor for attribute 'liveDataSizeBytes'.voidsetReadRequestsTotalCount(int readRequestsTotalCount) Setter accessor for attribute 'readRequestsTotalCount'.voidsetWriteRequestsTotalCount(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 '
-