java.lang.Object | |
↳ | sun.jvmstat.perfdata.monitor.PerfDataBufferImpl |
![]() |
The base classes for the concrete implementations of the HotSpot PerfData instrumentation buffer.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
aliasCache | A cache of resolved monitor aliases. | ||||||||||
aliasMap | A Map of monitor object names to aliases as read in from the alias map file. | ||||||||||
buffer | The buffer containing the instrumentation data. | ||||||||||
lvmid | The Local Java Virtual Machine Identifier for this buffer. | ||||||||||
monitors | A Map of monitor objects found in the instrumentation buffer. |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Find a named Instrumentation object.
| |||||||||||
Find all Instrumentation objects with names matching the given pattern.
| |||||||||||
Get a copy of the raw instrumentation data.
| |||||||||||
Get the capacity of the instrumentation buffer.
| |||||||||||
Get the Local Java Virtual Machine Identifier, or lvmid
for the target JVM associated with this instrumentation buffer.
| |||||||||||
Get a list of the inserted and removed monitors since last called.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
build the map of Monitor objects.
| |||||||||||
Find the Monitor object for the named counter by using one of its
aliases.
| |||||||||||
get the list of inserted and removed monitors since last called.
| |||||||||||
get the new Monitor objects from the Map of Monitor objects.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
A Map of monitor object names to aliases as read in from the alias map file.
The buffer containing the instrumentation data.
The Local Java Virtual Machine Identifier for this buffer.
A Map of monitor objects found in the instrumentation buffer.
Constructor.
buffer | the ByteBuffer containing the instrumentation data. |
---|---|
lvmid | the Local Java Virtual Machine Identifier for this instrumentation buffer. |
Find a named Instrumentation object. This method will look for the named instrumentation object in the instrumentation exported by this Java Virtual Machine. If an instrumentation object with the given name exists, a Monitor interface to that object will be return. Otherwise, the method returns null. The method will map requests for instrumention objects using old names to their current names, if applicable.
name | the name of the Instrumentation object to find. |
---|
Monitor
object that can be used to
monitor the the named instrumentation object, or
null if the named object doesn't exist.MonitorException | Thrown if an error occurs while communicating with the target Java Virtual Machine. |
---|
Find all Instrumentation objects with names matching the given pattern.
This method returns a List
of Monitor objects such that
the name of each object matches the given pattern.
patternString | a string containing a pattern as described in
Pattern . |
---|
Monitor
objects that can be used to
monitor the instrumentation objects whose names match
the given pattern. If no instrumentation objects have`
names matching the given pattern, then an empty List
is returned.MonitorException | Thrown if an error occurs while communicating with the target Java Virtual Machine. |
---|---|
PatternSyntaxException |
Get a copy of the raw instrumentation data. This method is used to get a copy of the current bytes in the instrumentation buffer. It is generally used for transporting those bytes over the network.
Get the capacity of the instrumentation buffer.
Get the Local Java Virtual Machine Identifier, or lvmid for the target JVM associated with this instrumentation buffer.
Get a list of the inserted and removed monitors since last called.
MonitorException | Thrown if communications errors occur while communicating with the target. |
---|
build the map of Monitor objects.
m | the map of Monitors. |
---|
MonitorException | Thrown if communications errors occur while communicating with the target. |
---|
Find the Monitor object for the named counter by using one of its aliases.
get the list of inserted and removed monitors since last called.
m | the map of Monitors. |
---|
MonitorException | Thrown if communications errors occur while communicating with the target. |
---|
get the new Monitor objects from the Map of Monitor objects.
m | the map of Monitors. |
---|
MonitorException | Thrown if communications errors occur while communicating with the target. |
---|