Methods in groovyx.gpars.agent that return Agent |
static
|
Agent.agent(T state)
Creates an agent instance initialized with the given state. |
static
|
Agent.agent(T state,
groovy.lang.Closure copy)
Creates an agent instance initialized with the given state. |
static
|
Agent.fairAgent(T state)
Creates an agent instance initialized with the given state, which will cooperate in thread sharing with other Agent instances
in a fair manner. |
static
|
Agent.fairAgent(T state,
groovy.lang.Closure copy)
Creates an agent instance initialized with the given state, which will cooperate in thread sharing with other agents and actors in a fair manner. |