Package apoc.metrics
Class Metrics.StorageMetric
- java.lang.Object
-
- apoc.metrics.Metrics.StorageMetric
-
- Enclosing class:
- Metrics
public static class Metrics.StorageMetric extends java.lang.Object
DAO that gets streamed to the user with apoc.metric.storage() Note that we divulge the storage directory setting, not the internal path. It isn't a secret that neo4j has a dbms.directories.logs, but user doesn't need to know where that is on a physical hard disk.
-
-
Field Summary
Fields Modifier and Type Field Description long
freeSpaceBytes
double
percentFree
java.lang.String
setting
long
totalSpaceBytes
long
usableSpaceBytes
-
Constructor Summary
Constructors Constructor Description StorageMetric(java.lang.String setting, long freeSpaceBytes, long totalSpaceBytes, long usableSpaceBytes)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Metrics.StorageMetric
fromStoragePair(Metrics.StoragePair storagePair)
Produce a StorageMetric object from a pair
-
-
-
Method Detail
-
fromStoragePair
public static Metrics.StorageMetric fromStoragePair(Metrics.StoragePair storagePair)
Produce a StorageMetric object from a pair
-
-