Uses of Enum Class
com.tnsai.agents.groups.GroupLifecycle
Packages that use GroupLifecycle
-
Uses of GroupLifecycle in com.tnsai.agents.groups
Methods in com.tnsai.agents.groups that return GroupLifecycleModifier and TypeMethodDescriptionAgentGroup.getLifecycle()Returns the current lifecycle state of this group.GroupMetrics.lifecycle()Returns the value of thelifecyclerecord component.static GroupLifecycleReturns the enum constant of this class with the specified name.static GroupLifecycle[]GroupLifecycle.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.tnsai.agents.groups with parameters of type GroupLifecycleModifier and TypeMethodDescriptionbooleanGroupLifecycle.canTransitionTo(GroupLifecycle target) Checks if transition to target state is valid.static GroupEventGroupEvent.lifecycleChanged(String groupId, GroupLifecycle oldState, GroupLifecycle newState) Creates a lifecycle changed event.voidGroupLifecycleListener.onLifecycleChanged(String groupId, GroupLifecycle oldState, GroupLifecycle newState) Called when group lifecycle state changes.Constructors in com.tnsai.agents.groups with parameters of type GroupLifecycleModifierConstructorDescriptionGroupMetrics(String groupId, int memberCount, int healthyMemberCount, GroupLifecycle lifecycle, long tasksCompleted, long tasksFailed, long messagesExchanged, Duration averageResponseTime, Duration uptime, int leaderElections, Instant timestamp) Creates an instance of aGroupMetricsrecord class.