org.springframework.boot.actuate.system

Class DiskSpaceHealthIndicator

    • Constructor Detail

      • DiskSpaceHealthIndicator

        public DiskSpaceHealthIndicator(File path,
                                        long threshold)
        Create a new DiskSpaceHealthIndicator instance.
        Parameters:
        path - the Path used to compute the available disk space
        threshold - the minimum disk space that should be available (in bytes)