Enum Class BottleneckDetector.BottleneckType
java.lang.Object
java.lang.Enum<BottleneckDetector.BottleneckType>
com.tnsai.coordination.observability.BottleneckDetector.BottleneckType
- All Implemented Interfaces:
Serializable,Comparable<BottleneckDetector.BottleneckType>,Constable
- Enclosing class:
BottleneckDetector
public static enum BottleneckDetector.BottleneckType
extends Enum<BottleneckDetector.BottleneckType>
Types of bottlenecks that can be detected.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEdge between two agents has disproportionately high weightAgent has very low activityAgent receives too many messages/tasksAgent is sole connector between subgraphsHigh variance in agent activity levels -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static BottleneckDetector.BottleneckType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
OVERLOADED
Agent receives too many messages/tasks -
SINGLE_POINT_FAILURE
Agent is sole connector between subgraphs -
IDLE
Agent has very low activity -
COMMUNICATION_HOT_SPOT
Edge between two agents has disproportionately high weight -
UNBALANCED_LOAD
High variance in agent activity levels
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-