Class User
- java.lang.Object
-
- org.apache.storm.scheduler.resource.User
-
public class User extends Object
-
-
Method Summary
-
-
-
Method Detail
-
getId
public String getId()
-
getRunningTopologies
public TreeSet<TopologyDetails> getRunningTopologies(ISchedulingState cluster)
-
getPendingTopologies
public TreeSet<TopologyDetails> getPendingTopologies(ISchedulingState cluster)
-
markTopoUnsuccess
public void markTopoUnsuccess(TopologyDetails topo, Cluster cluster, String msg)
-
markTopoUnsuccess
public void markTopoUnsuccess(TopologyDetails topo)
-
getResourcePoolAverageUtilization
public double getResourcePoolAverageUtilization(ISchedulingState cluster)
-
getCpuResourcePoolUtilization
public double getCpuResourcePoolUtilization(ISchedulingState cluster)
-
getMemoryResourcePoolUtilization
public double getMemoryResourcePoolUtilization(ISchedulingState cluster)
-
getMemoryResourceRequest
public double getMemoryResourceRequest(ISchedulingState cluster)
-
getCpuResourceRequest
public double getCpuResourceRequest(ISchedulingState cluster)
-
getCpuResourceUsedByUser
public double getCpuResourceUsedByUser(ISchedulingState cluster)
-
getMemoryResourceUsedByUser
public double getMemoryResourceUsedByUser(ISchedulingState cluster)
-
getMemoryResourceGuaranteed
public double getMemoryResourceGuaranteed()
-
getCpuResourceGuaranteed
public double getCpuResourceGuaranteed()
-
getNextTopologyToSchedule
public TopologyDetails getNextTopologyToSchedule(ISchedulingState cluster)
-
hasTopologyNeedSchedule
public boolean hasTopologyNeedSchedule(ISchedulingState cluster)
-
getRunningTopologyWithLowestPriority
public TopologyDetails getRunningTopologyWithLowestPriority(ISchedulingState cluster)
-
-