org.inria.myriads.snoozenode.localcontroller.monitoring.api.impl
Class LibVirtHostMonitor

java.lang.Object
  extended by org.inria.myriads.snoozenode.localcontroller.monitoring.api.impl.LibVirtHostMonitor
All Implemented Interfaces:
HostMonitor

public final class LibVirtHostMonitor
extends Object
implements HostMonitor

Libvirt based host monitoring implementation.

Author:
Eugen Feller

Constructor Summary
LibVirtHostMonitor(Connector connector, org.inria.myriads.snoozecommon.communication.virtualcluster.monitoring.NetworkDemand networkCapacity)
          Constructor.
 
Method Summary
 ArrayList<Double> getTotalCapacity()
          Returns a vector of total host capacity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LibVirtHostMonitor

public LibVirtHostMonitor(Connector connector,
                          org.inria.myriads.snoozecommon.communication.virtualcluster.monitoring.NetworkDemand networkCapacity)
                   throws HostMonitoringException
Constructor.

Parameters:
connector - The hypervisor connector
networkCapacity - The network capacity
Throws:
HostMonitoringException - The monitoring exception
Method Detail

getTotalCapacity

public ArrayList<Double> getTotalCapacity()
                                   throws HostMonitoringException
Returns a vector of total host capacity.

Specified by:
getTotalCapacity in interface HostMonitor
Returns:
The list of double values
Throws:
HostMonitoringException


Copyright © 2012. All Rights Reserved.