org.inria.myriads.snoozenode.localcontroller.monitoring.information
Class VirtualMachineInformation

java.lang.Object
  extended by org.inria.myriads.snoozenode.localcontroller.monitoring.information.VirtualMachineInformation

public final class VirtualMachineInformation
extends Object

Virtual machine monitoring information.

Author:
Eugen Feller

Constructor Summary
VirtualMachineInformation(int numberOfVirtualCpus, long cpuTime, long memoryUsage, List<NetworkTrafficInformation> networkTraffic)
          Constructor.
 
Method Summary
 long getCpuTime()
          Returns the CPU time.
 long getMemoryUsage()
          Returns the memory usage.
 List<NetworkTrafficInformation> getNetworkTraffic()
          Returns the network traffic information.
 int getNumberOfVirtualCpus()
          Returns the number of virtual CPUs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VirtualMachineInformation

public VirtualMachineInformation(int numberOfVirtualCpus,
                                 long cpuTime,
                                 long memoryUsage,
                                 List<NetworkTrafficInformation> networkTraffic)
Constructor.

Parameters:
numberOfVirtualCpus - The number of virtual CPUs
cpuTime - The CPU time
memoryUsage - The memory usage
networkTraffic - The network traffic
Method Detail

getCpuTime

public long getCpuTime()
Returns the CPU time.

Returns:
The CPU time

getMemoryUsage

public long getMemoryUsage()
Returns the memory usage.

Returns:
The memory usage

getNumberOfVirtualCpus

public int getNumberOfVirtualCpus()
Returns the number of virtual CPUs.

Returns:
Then number of virtual CPUs

getNetworkTraffic

public List<NetworkTrafficInformation> getNetworkTraffic()
Returns the network traffic information.

Returns:
The network traffic information


Copyright © 2012. All Rights Reserved.