org.ow2.jasmine.vmm.agent.driver.libvirt
Class LibvirtPerfCollector

java.lang.Object
  extended by org.ow2.jasmine.vmm.agent.driver.libvirt.LibvirtPerfCollector
All Implemented Interfaces:
java.lang.Runnable

public class LibvirtPerfCollector
extends java.lang.Object
implements java.lang.Runnable

LibvirtPerfCollector is a thread launch on every Libvirt Host, It use Jna Libvirt to get metrics. It collect metrics, stock them in a LibvirtDomainMetrics tab and, after, update VM ResourceUsage.


Constructor Summary
LibvirtPerfCollector(LibvirtHost host)
           
 
Method Summary
 void run()
           
 void start()
          Start the thread
 void stop()
          Stop the thread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LibvirtPerfCollector

public LibvirtPerfCollector(LibvirtHost host)
Method Detail

start

public void start()
Start the thread


stop

public void stop()
Stop the thread


run

public void run()
Specified by:
run in interface java.lang.Runnable


Copyright © 2011 OW2 Consortium. All Rights Reserved.