Package groovyx.gpars.actor

Examples of groovyx.gpars.actor.BlockingActor


     *
     * @param handler The body of the newly created actor's act method.
     * @return A newly created instance of the BlockingActor class
     */
    public final BlockingActor blockingActor(@DelegatesTo(BlockingActor.class) final Runnable handler) {
        final BlockingActor actor = new RunnableBackedBlockingActor(handler);
        actor.setParallelGroup(this);
        actor.start();
        return actor;
    }
View Full Code Here

TOP

Related Classes of groovyx.gpars.actor.BlockingActor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.