Uses of Interface
org.agrona.concurrent.Agent
Packages that use Agent
Package
Description
Concurrent data structures and utilities that support both on and off Java heap usage.
-
Uses of Agent in org.agrona.concurrent
Classes in org.agrona.concurrent that implement AgentModifier and TypeClassDescriptionclassGroup severalAgents into one composite, so they can be scheduled as a unit.classGroup severalAgents into one composite, so they can be scheduled as a unit.Fields in org.agrona.concurrent declared as AgentModifier and TypeFieldDescriptionprivate final AgentAgentInvoker.agentprivate final AgentAgentRunner.agentprivate final Agent[]CompositeAgent.agentsprivate Agent[]DynamicCompositeAgent.agentsprivate static final Agent[]DynamicCompositeAgent.EMPTY_AGENTSFields in org.agrona.concurrent with type parameters of type AgentModifier and TypeFieldDescriptionprivate final AtomicReference<Agent> DynamicCompositeAgent.addAgentprivate final AtomicReference<Agent> DynamicCompositeAgent.removeAgentMethods in org.agrona.concurrent that return AgentModifier and TypeMethodDescriptionAgentInvoker.agent()TheAgentwhich is contained.AgentRunner.agent()TheAgentwhich is contained.Methods in org.agrona.concurrent with parameters of type AgentModifier and TypeMethodDescriptionprivate voidprivate voidAgentRunner.doWork(IdleStrategy idleStrategy, Agent agent) private voidbooleanTry and add a newAgentto the composite.booleanTry and remove anAgentfrom the composite.private voidAgentRunner.workLoop(IdleStrategy idleStrategy, Agent agent) Constructors in org.agrona.concurrent with parameters of type AgentModifierConstructorDescriptionAgentInvoker(ErrorHandler errorHandler, AtomicCounter errorCounter, Agent agent) Create an agent and initialise it.AgentRunner(IdleStrategy idleStrategy, ErrorHandler errorHandler, AtomicCounter errorCounter, Agent agent) Create an agent runner and initialise it.CompositeAgent(Agent... agents) Construct a new composite with a given listAgents to begin with.DynamicCompositeAgent(String roleName, Agent... agents) Construct a new composite with a given listAgents to begin with.Constructor parameters in org.agrona.concurrent with type arguments of type AgentModifierConstructorDescriptionCompositeAgent(List<? extends Agent> agents) Construct a new composite with a given listAgents to begin with.DynamicCompositeAgent(String roleName, List<? extends Agent> agents) Construct a new composite with a given listAgents to begin with.