Interface DiskResource

All Superinterfaces:
PhysicalResource, Resource, SizedResource<PhysicalUsageEvent>

public interface DiskResource extends PhysicalResource
  • Method Details

    • getTotal

      long getTotal()
      Specified by:
      getTotal in interface PhysicalResource
      Returns:
      total space of the os partition where data-dir resides.
    • getTCUsage

      long getTCUsage()
      Returns:
      the shared disk usage by various terracotta entities i.e dataset/cache under data-dir.