Example usage for org.apache.zookeeper WatchedEvent subclass-usage

List of usage examples for org.apache.zookeeper WatchedEvent subclass-usage

Introduction

In this page you can find the example usage for org.apache.zookeeper WatchedEvent subclass-usage.

Usage

From source file com.netflix.curator.framework.imps.NamespaceWatchedEvent.java

class NamespaceWatchedEvent extends WatchedEvent {
    NamespaceWatchedEvent(CuratorFrameworkImpl client, WatchedEvent event) {
        super(event.getType(), event.getState(), client.unfixForNamespace(event.getPath()));
    }
}

From source file org.apache.curator.framework.imps.NamespaceWatchedEvent.java

class NamespaceWatchedEvent extends WatchedEvent {
    NamespaceWatchedEvent(CuratorFrameworkImpl client, WatchedEvent event) {
        super(event.getType(), event.getState(), client.unfixForNamespace(event.getPath()));
    }
}