Package brooklyn.entity.proxying

Examples of brooklyn.entity.proxying.EntitySpec


    @CatalogConfig(label="Enable Weave SDN", priority=50)
    public static final ConfigKey<Boolean> WEAVE_ENABLED = ConfigKeys.newConfigKeyWithDefault(WeaveInfrastructure.ENABLED, false);

    @Override
    public void initApp() {
        EntitySpec dockerSpec = EntitySpec.create(DockerHost.class)
                .configure(SoftwareProcess.START_TIMEOUT, Duration.minutes(15));

        BreadthFirstPlacementStrategy strategy = new BreadthFirstPlacementStrategy();
        strategy.injectManagementContext(getManagementContext());
        strategy.setConfig(BreadthFirstPlacementStrategy.DOCKER_CONTAINER_CLUSTER_MAX_SIZE, getConfig(DOCKER_CONTAINER_CLUSTER_MAX_SIZE));
View Full Code Here

TOP

Related Classes of brooklyn.entity.proxying.EntitySpec

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.