Package groovyx.gpars.actor.impl

Examples of groovyx.gpars.actor.impl.RunnableBackedBlockingActor.start()


     * @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;
    }

    /**
     * Creates a new instance of DefaultActor, using the passed-in runnable/closure as the body of the actor's act() method.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.