com.threerings.presents.annotation
Annotation Type BlockingThread


@Target(value={METHOD,TYPE})
@Retention(value=SOURCE)
public @interface BlockingThread

An annotation indicating that a particular method or all methods in a class (that are not otherwise explicitly annotated) should only be called while on a servlet or invoker thread (threads which allow blocking). NOTE: These annotations are currently merely advisory, but someday we would like to use AspectJ or something like that to inject code that enforces these requirements on dev server builds.