org.inria.myriads.snoozenode.localcontroller.monitoring.producer
Class VirtualMachineMonitorDataProducer
java.lang.Object
java.lang.Thread
org.inria.myriads.snoozenode.localcontroller.monitoring.producer.VirtualMachineMonitorDataProducer
- All Implemented Interfaces:
- Runnable
public final class VirtualMachineMonitorDataProducer
- extends Thread
Virtual machine monitoring data producer.
- Author:
- Eugen Feller
Method Summary |
void |
run()
The run routine. |
void |
setSuspend()
Suspends the tread. |
void |
terminate()
Terminates the thread. |
void |
wakeup()
Wakeup the thread. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
VirtualMachineMonitorDataProducer
public VirtualMachineMonitorDataProducer(org.inria.myriads.snoozecommon.communication.virtualcluster.VirtualMachineMetaData virtualMachineMetaData,
InfrastructureMonitoring infrastructureMonitoring,
BlockingQueue<AggregatedVirtualMachineData> dataQueue,
VirtualMachineMonitoringListener monitoringListener)
- Constructor.
- Parameters:
virtualMachineMetaData
- The virtual machine meta datainfrastructureMonitoring
- The infrastructure monitoringdataQueue
- The data queuemonitoringListener
- The virtual machine monitoring callback
run
public void run()
- The run routine.
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
terminate
public void terminate()
- Terminates the thread.
setSuspend
public void setSuspend()
- Suspends the tread.
wakeup
public void wakeup()
- Wakeup the thread.
Copyright © 2012. All Rights Reserved.