public class AlertBeanUtils extends Object
Constructor and Description |
---|
AlertBeanUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
generateBeanUUID(Class<? extends AlertBean> clazz)
Generate a unique bean UUID for a specific class by it's name.
|
static double |
getAverage(int period,
List<Double> timeline)
average in specified period.
|
static String |
getCpuPercToString(double cpuPerc) |
static String |
getGridComponentDescription(VirtualMachine virtualMachine) |
static String |
getGridComponentFullName(VirtualMachine virtualMachine)
Returns the full name of a grid component running inside a JVM.
|
static String |
getGridComponentShortName(VirtualMachine virtualMachine)
Returns the short name of a grid component running inside a JVM.
|
static String |
getMachineDescription(Machine machine) |
static String |
getMachineDescription(OperatingSystemDetails details) |
static String |
getProcessingUnitDescription(ProcessingUnit processingUnit) |
static String |
getSpaceInstanceDescription(SpaceInstance spaceInstance) |
public static double getAverage(int period, List<Double> timeline)
period
- sliding window of timeline samples.timeline
- timeline of samples.public static String generateBeanUUID(Class<? extends AlertBean> clazz)
clazz
- the class of the alert bean to generate a UUID for.public static String getGridComponentShortName(VirtualMachine virtualMachine)
public static String getGridComponentFullName(VirtualMachine virtualMachine)
public static String getGridComponentDescription(VirtualMachine virtualMachine)
public static String getMachineDescription(Machine machine)
public static String getMachineDescription(OperatingSystemDetails details)
public static String getSpaceInstanceDescription(SpaceInstance spaceInstance)
public static String getProcessingUnitDescription(ProcessingUnit processingUnit)
public static String getCpuPercToString(double cpuPerc)
Copyright © GigaSpaces.