org.openspaces.grid.gsm.containers
Class ContainersSlaUtils
java.lang.Object
org.openspaces.grid.gsm.containers.ContainersSlaUtils
public class ContainersSlaUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContainersSlaUtils
public ContainersSlaUtils()
getContainersByZone
public static Collection<GridServiceContainer> getContainersByZone(Admin admin,
String zone)
getContainersByZoneOnAgentUid
public static List<GridServiceContainer> getContainersByZoneOnAgentUid(Admin admin,
String zone,
String agentUid)
isContainerMatchesZone
public static boolean isContainerMatchesZone(GridServiceContainer container,
String zone)
getMemoryInMB
public static long getMemoryInMB(GridServiceContainer container)
getCommandLineArgumentRemovePrefix
public static String getCommandLineArgumentRemovePrefix(VirtualMachineAware container,
String prefix)
getContainerZone
public static String getContainerZone(ProcessingUnit pu)
findProcessingUnitWithSameZone
public static ProcessingUnit findProcessingUnitWithSameZone(Set<ProcessingUnit> processingUnits,
ProcessingUnit pu)
findProcessingUnitWithSameName
public static ProcessingUnit findProcessingUnitWithSameName(Set<ProcessingUnit> processingUnits,
ProcessingUnit pu)
machineToString
public static String machineToString(Machine machine)
gscToString
public static String gscToString(GridComponent container)
gscsToString
public static String gscsToString(GridServiceContainer[] containers)
gscsToString
public static String gscsToString(Collection<GridServiceContainer> containers)
Copyright © GigaSpaces.