Package apoc.metrics

Class 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 Detail

      • setting

        public final java.lang.String setting
      • freeSpaceBytes

        public final long freeSpaceBytes
      • totalSpaceBytes

        public final long totalSpaceBytes
      • usableSpaceBytes

        public final long usableSpaceBytes
      • percentFree

        public final double percentFree
    • Constructor Detail

      • StorageMetric

        public StorageMetric​(java.lang.String setting,
                             long freeSpaceBytes,
                             long totalSpaceBytes,
                             long usableSpaceBytes)