All Implemented Interfaces:
Serializable, Identifiable<String>, JsonSerializable

@Experimental public class DiskStore extends GroupableConfiguration<DiskStoreInfo>
See Also:
  • Field Details

  • Constructor Details

    • DiskStore

      public DiskStore()
  • Method Details

    • isAutoCompact

      public Boolean isAutoCompact()
    • setAutoCompact

      public void setAutoCompact(Boolean autoCompact)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getDirectories

      public List<DiskDir> getDirectories()
    • setDirectories

      public void setDirectories(List<DiskDir> directories)
    • getId

      public String getId()
      Description copied from class: AbstractConfiguration
      Returns the attribute of the configuration that uniquely identifies it
      Specified by:
      getId in interface Identifiable<String>
      Specified by:
      getId in class AbstractConfiguration<DiskStoreInfo>
      Returns:
      an identifier uniquely identifying this Object.
    • getCompactionThreshold

      public Integer getCompactionThreshold()
    • setCompactionThreshold

      public void setCompactionThreshold(Integer compactionThreshold)
    • getDiskUsageCriticalPercentage

      public Float getDiskUsageCriticalPercentage()
    • setDiskUsageCriticalPercentage

      public void setDiskUsageCriticalPercentage(Float diskUsageCriticalPercentage)
    • getDiskUsageWarningPercentage

      public Float getDiskUsageWarningPercentage()
    • setDiskUsageWarningPercentage

      public void setDiskUsageWarningPercentage(Float diskUsageWarningPercentage)
    • getMaxOplogSizeInBytes

      public Long getMaxOplogSizeInBytes()
    • setMaxOplogSizeInBytes

      public void setMaxOplogSizeInBytes(Long maxOplogSize)
    • getQueueSize

      public Integer getQueueSize()
    • setQueueSize

      public void setQueueSize(Integer queueSize)
    • getTimeInterval

      public Long getTimeInterval()
    • setTimeInterval

      public void setTimeInterval(Long timeInterval)
    • getWriteBufferSize

      public Integer getWriteBufferSize()
    • setWriteBufferSize

      public void setWriteBufferSize(Integer writeBufferSize)
    • isAllowForceCompaction

      public Boolean isAllowForceCompaction()
    • setAllowForceCompaction

      public void setAllowForceCompaction(Boolean allowForceCompaction)
    • getLinks

      public Links getLinks()
      Specified by:
      getLinks in class AbstractConfiguration<DiskStoreInfo>
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class GroupableConfiguration<DiskStoreInfo>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class GroupableConfiguration<DiskStoreInfo>