Class: Dcm4chee::Service::FileSystemManagement

Inherits:
MBean
  • Object
show all
Defined in:
lib/dcm4chee/services/file_system_management.rb

Constant Summary collapse

MBEAN_NAME =
'dcm4chee.archive:group=ONLINE_STORAGE,service=FileSystemMgt'

Instance Attribute Summary

Attributes inherited from MBean

#jolokia

Instance Method Summary collapse

Methods inherited from MBean

#initialize

Constructor Details

This class inherits a constructor from Dcm4chee::Service::MBean

Instance Method Details

#expected_data_volume_per_day_bytesObject



11
12
13
# File 'lib/dcm4chee/services/file_system_management.rb', line 11

def expected_data_volume_per_day_bytes
  jolokia.get_attribute(MBEAN_NAME, 'ExpectedDataVolumePerDayBytes') || 1_000_000_000
end

#minimum_free_disk_space_bytesObject



7
8
9
# File 'lib/dcm4chee/services/file_system_management.rb', line 7

def minimum_free_disk_space_bytes
  jolokia.get_attribute(MBEAN_NAME, 'MinimumFreeDiskSpaceBytes') || 0
end