Package akka.actor

Examples of akka.actor.AllForOneStrategy


        return new OneForOneStrategy(maxRetries, Duration.create(duringSec, TimeUnit.SECONDS), stopDecider);
    }

    public static SupervisorStrategy allForOne(int maxRetries, int duringSec)
    {
        return new AllForOneStrategy(maxRetries, Duration.create(duringSec, TimeUnit.SECONDS), stopDecider);
    }
View Full Code Here


        return new OneForOneStrategy(maxRetries, Duration.create(duringSec, TimeUnit.SECONDS), decider);
    }

    public static SupervisorStrategy allForOne(int maxRetries, int duringSec, Function<Throwable, Directive> decider)
    {
        return new AllForOneStrategy(maxRetries, Duration.create(duringSec, TimeUnit.SECONDS), decider);
    }
View Full Code Here

TOP

Related Classes of akka.actor.AllForOneStrategy

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.