java.lang.Object | |
↳ | sun.management.snmp.jvminstr.JvmMemGCTableMetaImpl.GCTableFilter |
This class acts as a filter over the SnmpTableHandler used for the JvmMemoryManagerTable. It filters out (skip) all MemoryManagerMXBean that are not instances of GarbageCollectorMXBean so that only Garbage Collectors are seen. This is a better solution than relying on ManagementFactory.getGarbageCollectorMXBeans() because it makes it possible to guarantee the consistency betwen the MemoryManager table and the GCTable since both will be sharing the same cache.
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns true if the given index is present.
| |||||||||||
Returns the data associated with the given index.
| |||||||||||
Returns the index that immediately follows the given
index.
| |||||||||||
Returns the index that immediately follows the given
index.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Returns true if the given index is present.
Returns the data associated with the given index. If the given index is not found, null is returned. Note that returning null does not necessarily means that the index was not found.
Returns the index that immediately follows the given
index. The returned index is strictly greater
than the given index, and is contained in the table.
If the given index is null, returns the first
index in the table.
If there are no index after the given index,
returns null.
This method is an optimization for the case where the
SnmpTableHandler is in fact an instance of SnmpCachedData.
Returns the index that immediately follows the given
index. The returned index is strictly greater
than the given index, and is contained in the table.
If the given index is null, returns the first
index in the table.
If there are no index after the given index,
returns null.