public class ContainersSlaUtils extends Object
Constructor and Description |
---|
ContainersSlaUtils() |
public static Collection<GridServiceContainer> getContainersByZone(Admin admin, String zone)
public static List<GridServiceContainer> getContainersByZoneOnAgentUid(Admin admin, String zone, String agentUid)
public static boolean isContainerMatchesZone(GridServiceContainer container, String zone)
public static long getMemoryInMB(GridServiceContainer container)
public static String getCommandLineArgumentRemovePrefix(VirtualMachineAware container, String prefix)
public static String getContainerZone(ProcessingUnit pu)
public static ProcessingUnit findProcessingUnitWithSameZone(Set<ProcessingUnit> processingUnits, ProcessingUnit pu)
public static ProcessingUnit findProcessingUnitWithSameName(Set<ProcessingUnit> processingUnits, ProcessingUnit pu)
public static String gscToString(GridComponent container)
public static String gscsToString(GridServiceContainer[] containers)
public static String gscsToString(Collection<GridServiceContainer> containers)
public static String gscToStringWithPuInstance(GridServiceContainer container, ProcessingUnit pu)
Copyright © GigaSpaces.