Package org.modeshape.jcr.clustering

Examples of org.modeshape.jcr.clustering.ClusteringService$Listener


        assertThat(listener3.getObservedChangeSet().size(), is(0));
        assertThat(listener1.getObservedChangeSet().get(0), is(changeSet));
    }

    private ClusteredChangeBus startNewBus() throws Exception {
        ClusteringService clusteringService = ClusteringService.startStandalone("test-bus-process", "config/jgroups-test-config.xml");
        clusteringServices.add(clusteringService);
        ChangeBus internalBus = new RepositoryChangeBus("repo", Executors.newCachedThreadPool());
        ClusteredChangeBus bus = new ClusteredChangeBus(internalBus, clusteringService);
        bus.start();
        buses.add(bus);
View Full Code Here

TOP

Related Classes of org.modeshape.jcr.clustering.ClusteringService$Listener

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.