org.inria.myriads.snoozenode.localcontroller.monitoring.api.impl
Class LibVirtHostMonitor
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LibVirtHostMonitor
public LibVirtHostMonitor(Connector connector,
org.inria.myriads.snoozecommon.communication.virtualcluster.monitoring.NetworkDemand networkCapacity)
throws HostMonitoringException
- Constructor.
- Parameters:
connector
- The hypervisor connectornetworkCapacity
- The network capacity
- Throws:
HostMonitoringException
- The monitoring exception
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.