Package com.dtsx.astra.sdk.db.domain
Class DatabaseStorage
java.lang.Object
com.dtsx.astra.sdk.db.domain.DatabaseStorage
Represents Storage information for the db.
- Author:
- Cedrick LUNVEN (@clunven)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Getter accessor for attribute 'nodeCount'.int
Getter accessor for attribute 'replicationFactor'.int
Getter accessor for attribute 'totalStorage'.int
Getter accessor for attribute 'usedStorage'.void
setNodeCount
(int nodeCount) Setter accessor for attribute 'nodeCount'.void
setReplicationFactor
(int replicationFactor) Setter accessor for attribute 'replicationFactor'.void
setTotalStorage
(int totalStorage) Setter accessor for attribute 'totalStorage'.void
setUsedStorage
(int usedStorage) Setter accessor for attribute 'usedStorage'.
-
Constructor Details
-
DatabaseStorage
public DatabaseStorage()
-
-
Method Details
-
getNodeCount
public int getNodeCount()Getter accessor for attribute 'nodeCount'.- Returns:
- current value of 'nodeCount'
-
setNodeCount
public void setNodeCount(int nodeCount) Setter accessor for attribute 'nodeCount'.- Parameters:
nodeCount
- new value for 'nodeCount '
-
getReplicationFactor
public int getReplicationFactor()Getter accessor for attribute 'replicationFactor'.- Returns:
- current value of 'replicationFactor'
-
setReplicationFactor
public void setReplicationFactor(int replicationFactor) Setter accessor for attribute 'replicationFactor'.- Parameters:
replicationFactor
- new value for 'replicationFactor '
-
getTotalStorage
public int getTotalStorage()Getter accessor for attribute 'totalStorage'.- Returns:
- current value of 'totalStorage'
-
setTotalStorage
public void setTotalStorage(int totalStorage) Setter accessor for attribute 'totalStorage'.- Parameters:
totalStorage
- new value for 'totalStorage '
-
getUsedStorage
public int getUsedStorage()Getter accessor for attribute 'usedStorage'.- Returns:
- current value of 'usedStorage'
-
setUsedStorage
public void setUsedStorage(int usedStorage) Setter accessor for attribute 'usedStorage'.- Parameters:
usedStorage
- new value for 'usedStorage '
-