Uses of Interface
org.agrona.concurrent.Agent
-
Packages that use Agent Package Description org.agrona.concurrent 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 Agent Modifier and Type Class Description class
CompositeAgent
Group severalAgent
s into one composite, so they can be scheduled as a unit.class
DynamicCompositeAgent
Group severalAgent
s into one composite, so they can be scheduled as a unit.Fields in org.agrona.concurrent declared as Agent Modifier and Type Field Description private Agent
AgentInvoker. agent
private Agent
AgentRunner. agent
private Agent[]
CompositeAgent. agents
private Agent[]
DynamicCompositeAgent. agents
private static Agent[]
DynamicCompositeAgent. EMPTY_AGENTS
Fields in org.agrona.concurrent with type parameters of type Agent Modifier and Type Field Description private java.util.concurrent.atomic.AtomicReference<Agent>
DynamicCompositeAgent. addAgent
private java.util.concurrent.atomic.AtomicReference<Agent>
DynamicCompositeAgent. removeAgent
Methods in org.agrona.concurrent that return Agent Modifier and Type Method Description Agent
AgentInvoker. agent()
TheAgent
which is contained.Agent
AgentRunner. agent()
TheAgent
which is contained.Methods in org.agrona.concurrent with parameters of type Agent Modifier and Type Method Description private void
DynamicCompositeAgent. add(Agent agent)
private void
AgentRunner. doWork(IdleStrategy idleStrategy, Agent agent)
private void
DynamicCompositeAgent. remove(Agent agent)
boolean
DynamicCompositeAgent. tryAdd(Agent agent)
Try and add a newAgent
to the composite.boolean
DynamicCompositeAgent. tryRemove(Agent agent)
Try and remove anAgent
from the composite.private void
AgentRunner. workLoop(IdleStrategy idleStrategy, Agent agent)
Constructors in org.agrona.concurrent with parameters of type Agent Constructor Description AgentInvoker(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 listAgent
s to begin with.DynamicCompositeAgent(java.lang.String roleName, Agent... agents)
Construct a new composite with a given listAgent
s to begin with.Constructor parameters in org.agrona.concurrent with type arguments of type Agent Constructor Description CompositeAgent(java.util.List<? extends Agent> agents)
Construct a new composite with a given listAgent
s to begin with.DynamicCompositeAgent(java.lang.String roleName, java.util.List<? extends Agent> agents)
Construct a new composite with a given listAgent
s to begin with.
-