Class DatabaseStorage

java.lang.Object
com.dtsx.astra.sdk.db.domain.DatabaseStorage

public class DatabaseStorage extends Object
Represents Storage information for the db.
Author:
Cedrick LUNVEN (@clunven)
  • 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 '