Merge "Provide base method for inspect_memory_resident"

This commit is contained in:
Jenkins
2015-07-31 20:35:37 +00:00
committed by Gerrit Code Review

View File

@@ -245,6 +245,16 @@ class Inspector(object):
"""
raise ceilometer.NotImplementedError
def inspect_memory_resident(self, instance, duration=None):
"""Inspect the resident memory statistics for an instance.
:param instance: the target instance
:param duration: the last 'n' seconds, over which the value should be
inspected
:return: the amount of resident memory
"""
raise ceilometer.NotImplementedError
def inspect_disk_rates(self, instance, duration=None):
"""Inspect the disk statistics as rates for an instance.