Package com.terracottatech.store.usage
Interface DiskResource
- All Superinterfaces:
PhysicalResource
,Resource
,SizedResource<PhysicalUsageEvent>
-
Method Summary
Methods inherited from interface com.terracottatech.store.usage.PhysicalResource
getAvailable, getUsed
Methods inherited from interface com.terracottatech.store.usage.Resource
getIdentifier, getType
Methods inherited from interface com.terracottatech.store.usage.SizedResource
deRegisterUsageListener, getOccupancy, registerUsageListener
-
Method Details
-
getTotal
long getTotal()- Specified by:
getTotal
in interfacePhysicalResource
- 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.
-