Package com.netflix.simianarmy.basic.chaos

Examples of com.netflix.simianarmy.basic.chaos.BasicChaosInstanceSelector


        return selectedOn;
    }

    @Override
    public ChaosInstanceSelector chaosInstanceSelector() {
        return new BasicChaosInstanceSelector() {
            @Override
            public Collection<String> select(InstanceGroup group, double probability) {
                selectedOn.add(group);
                Collection<String> instances = super.select(group, probability);
                selected.addAll(instances);
View Full Code Here


     * Instantiates a new basic context.
     */
    public BasicChaosMonkeyContext() {
        super("simianarmy.properties", "client.properties", "chaos.properties");
        setChaosCrawler(new ASGChaosCrawler(awsClient()));
        setChaosInstanceSelector(new BasicChaosInstanceSelector());
        MonkeyConfiguration cfg = configuration();
        setChaosEmailNotifier(new BasicChaosEmailNotifier(cfg, new AmazonSimpleEmailServiceClient(), null));
    }
View Full Code Here

TOP

Related Classes of com.netflix.simianarmy.basic.chaos.BasicChaosInstanceSelector

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.