|
Jvmstat | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsun.jvmstat.perfdata.monitor.AbstractPerfDataBufferPrologue
sun.jvmstat.perfdata.monitor.v2_0.PerfDataBufferPrologue
public class PerfDataBufferPrologue
Class representing the 2.0 version of the HotSpot PerfData instrumentation buffer header.
The PerfDataBufferPrologue class supports parsing of the version specific portions of the PerfDataPrologue C structure:
typedef struct {
... // handled by superclass
jint used; // number of PerfData memory bytes used
jint overflow; // number of bytes of overflow
jlong mod_time_stamp; // time stamp of the last structural modification
jint entry_offset; // offset of the first PerfDataEntry
jint num_entries; // number of allocated PerfData entries
} PerfDataPrologue
| Field Summary |
|---|
| Fields inherited from class sun.jvmstat.perfdata.monitor.AbstractPerfDataBufferPrologue |
|---|
byteBuffer, PERFDATA_MAJOR_NAME, PERFDATA_MINOR_NAME |
| Constructor Summary | |
|---|---|
PerfDataBufferPrologue(ByteBuffer byteBuffer)
Create an instance of PerfDataBufferPrologue from the given ByteBuffer object. |
|
| Method Summary | |
|---|---|
int |
getBufferSize()
Get the size of the instrumentation memory buffer. |
int |
getEntryOffset()
Get the offset of the first PerfDataEntry. |
long |
getModificationTimeStamp()
Get the time of last modification for the instrumentation memory buffer. |
int |
getNumEntries()
Get the offset of the first PerfDataEntry. |
int |
getOverflow()
Get the buffer overflow amount. |
int |
getSize()
Get the size of the header portion of the instrumentation buffer. |
int |
getUsed()
Get the utilization of the instrumentation memory buffer. |
boolean |
isAccessible()
Get the accessible flag. |
boolean |
supportsAccessible()
Test if the accessible flag is supported by this version of the PerfDataBufferPrologue. |
| Methods inherited from class sun.jvmstat.perfdata.monitor.AbstractPerfDataBufferPrologue |
|---|
getByteOrder, getByteOrder, getMagic, getMagic, getMajorVersion, getMajorVersion, getMinorVersion, getMinorVersion, majorVersionBuffer, minorVersionBuffer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PerfDataBufferPrologue(ByteBuffer byteBuffer)
throws MonitorException
byteBuffer - the buffer containing the binary header data
MonitorException| Method Detail |
|---|
public boolean supportsAccessible()
supportsAccessible in class AbstractPerfDataBufferPrologueAbstractPerfDataBufferPrologue.isAccessible()public boolean isAccessible()
isAccessible in class AbstractPerfDataBufferPrologueAbstractPerfDataBufferPrologue.supportsAccessible()public int getUsed()
public int getBufferSize()
public int getOverflow()
public long getModificationTimeStamp()
public int getEntryOffset()
public int getNumEntries()
public int getSize()
getSize in class AbstractPerfDataBufferPrologue
|
Jvmstat | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||