Class StoreStatsDTO

  • Direct Known Subclasses:
    SpaceStatsDTO

    public class StoreStatsDTO
    extends Object
    Represents a storage providers byte and object count at a moment in time.
    Author:
    Daniel Bernstein
    • Constructor Detail

      • StoreStatsDTO

        public StoreStatsDTO()
      • StoreStatsDTO

        public StoreStatsDTO​(Date timestamp,
                             String account,
                             String storeId,
                             long byteCount,
                             long objectCount)
    • Method Detail

      • getStoreId

        public String getStoreId()
      • setStoreId

        public void setStoreId​(String storeId)
      • getAccountId

        public String getAccountId()
      • setAccountId

        public void setAccountId​(String accountId)
      • getByteCount

        public long getByteCount()
      • setByteCount

        public void setByteCount​(long byteCount)
      • getObjectCount

        public long getObjectCount()
      • setObjectCount

        public void setObjectCount​(long objectCount)
      • getTimestamp

        public Date getTimestamp()
      • setTimestamp

        public void setTimestamp​(Date timestamp)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object