Package org.apache.curator.framework.recipes.cache

Examples of org.apache.curator.framework.recipes.cache.PathChildrenCacheEvent


    bus.unbindProducers("topic:y");
    bus.unbindProducers("topic:z");
  }

  protected void assertModuleRequest(String streamName, String moduleName, boolean remove) {
    PathChildrenCacheEvent event = remove ? deploymentsListener.nextUndeployEvent(streamName)
        : deploymentsListener.nextDeployEvent(streamName);
    assertNotNull(String.format("deploymentsListener returned a null event for stream %s, module %s",
        streamName, moduleName), event);
    assertTrue(moduleName + " not found in " + event.getData().getPath() + " (remove = " + remove + ")",
        event.getData().getPath().contains(moduleName));
  }
View Full Code Here

TOP

Related Classes of org.apache.curator.framework.recipes.cache.PathChildrenCacheEvent

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.