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 TypeClassDescriptionclass
Group severalAgent
s into one composite, so they can be scheduled as a unit.class
Group severalAgent
s into one composite, so they can be scheduled as a unit.Fields in org.agrona.concurrent declared as AgentModifier and TypeFieldDescriptionprivate final Agent
AgentInvoker.agent
private final Agent
AgentRunner.agent
private final Agent[]
CompositeAgent.agents
private Agent[]
DynamicCompositeAgent.agents
private static final Agent[]
DynamicCompositeAgent.EMPTY_AGENTS
Fields in org.agrona.concurrent with type parameters of type AgentModifier and TypeFieldDescriptionprivate final AtomicReference
<Agent> DynamicCompositeAgent.addAgent
private final AtomicReference
<Agent> DynamicCompositeAgent.removeAgent
Methods in org.agrona.concurrent that return AgentModifier and TypeMethodDescriptionAgentInvoker.agent()
TheAgent
which is contained.AgentRunner.agent()
TheAgent
which is contained.Methods in org.agrona.concurrent with parameters of type AgentModifier and TypeMethodDescriptionprivate void
private void
AgentRunner.doWork
(IdleStrategy idleStrategy, Agent agent) private void
boolean
Try and add a newAgent
to the composite.boolean
Try and remove anAgent
from the composite.private void
AgentRunner.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) DynamicCompositeAgent
(String roleName, Agent... agents) Constructor parameters in org.agrona.concurrent with type arguments of type AgentModifierConstructorDescriptionCompositeAgent
(List<? extends Agent> agents) DynamicCompositeAgent
(String roleName, List<? extends Agent> agents)