Package io.deephaven.process
Class MemoryMxBeanInfo
java.lang.Object
io.deephaven.process.MemoryMxBeanInfo
- All Implemented Interfaces:
PropertySet
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.properties.PropertySet
PropertySet.PropertiesImpl, PropertySet.StringListImpl, PropertySet.StringMapImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract MemoryUsageInfo
heap()
abstract MemoryUsageInfo
nonHeap()
static MemoryMxBeanInfo
of
(MemoryMXBean bean) final void
traverse
(PropertyVisitor visitor) Traverse this property set and output the property key/values to the given visitor.
-
Constructor Details
-
MemoryMxBeanInfo
public MemoryMxBeanInfo()
-
-
Method Details
-
of
-
heap
-
nonHeap
-
traverse
Description copied from interface:PropertySet
Traverse this property set and output the property key/values to the given visitor.Callers should typically prefer to call
PropertyVisitor.visitProperties(PropertySet)
, as the inversion of logic allows the visitor (the more stateful object) to potentially perform initialization logic and traverse more efficiently.- Specified by:
traverse
in interfacePropertySet
- Parameters:
visitor
- the visitor- See Also:
-