Class User
java.lang.Object
org.apache.storm.scheduler.resource.User
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
double
double
double
getCpuResourceRequest
(ISchedulingState cluster) double
getCpuResourceUsedByUser
(ISchedulingState cluster) getId()
double
double
double
getMemoryResourceRequest
(ISchedulingState cluster) double
getPendingTopologies
(ISchedulingState cluster) double
getRunningTopologies
(ISchedulingState cluster) int
hashCode()
boolean
hasTopologyNeedSchedule
(ISchedulingState cluster) void
void
markTopoUnsuccess
(TopologyDetails topo, Cluster cluster, String msg) toString()
-
Constructor Details
-
User
-
User
-
-
Method Details
-
getId
-
getRunningTopologies
-
getPendingTopologies
-
markTopoUnsuccess
-
markTopoUnsuccess
-
getResourcePoolAverageUtilization
-
getCpuResourcePoolUtilization
-
getMemoryResourcePoolUtilization
-
getMemoryResourceRequest
-
getCpuResourceRequest
-
getCpuResourceUsedByUser
-
getMemoryResourceUsedByUser
-
getMemoryResourceGuaranteed
public double getMemoryResourceGuaranteed() -
getCpuResourceGuaranteed
public double getCpuResourceGuaranteed() -
getGenericGuaranteed
-
getNextTopologyToSchedule
-
hasTopologyNeedSchedule
-
getRunningTopologyWithLowestPriority
-
hashCode
public int hashCode() -
equals
-
toString
-