org.actorsguildframework.annotations
Annotation Type Model


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Model

Model sets the concurrency model for the Actor.

The default model for all Actors is ConcurrencyModel.SingleThreaded.


Optional Element Summary
 ConcurrencyModel value
          The model of the actor.
 

value

public abstract ConcurrencyModel value
The model of the actor.

Returns:
the threading model of the actor
Default:
SingleThreaded