public class VmClassStatDataExtractor extends Object
Implementation details: For local vms, jvmstat uses a ByteBuffer corresponding to mmap()ed hsperfdata file. The hsperfdata file is updated asynchronously by the vm that created the file. The polling that jvmstat api provides is merely an abstraction over this (possibly always up-to-date) ByteBuffer. So the data this class extracts is as current as possible, and does not correspond to when the jvmstat update events fired.
Constructor and Description |
---|
VmClassStatDataExtractor(VmUpdate update) |
public VmClassStatDataExtractor(VmUpdate update)
public long getLoadedClasses() throws VmUpdateException
VmUpdateException
Copyright © 2013. All rights reserved.