org.apache.zookeeper.Watcher#WatcherType ( )源码实例Demo

下面列出了org.apache.zookeeper.Watcher#WatcherType ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: curator   文件: AsyncRemoveWatchesBuilderImpl.java
@Override
public AsyncPathable<AsyncStage<Void>> removing(Watcher watcher, Watcher.WatcherType watcherType, Set<RemoveWatcherOption> options)
{
    this.watcher = Objects.requireNonNull(watcher, "watcher cannot be null");
    this.options = Objects.requireNonNull(options, "options cannot be null");
    this.watcherType = Objects.requireNonNull(watcherType, "watcherType cannot be null");
    this.curatorWatcher = null;
    return this;
}
 
源代码2 项目: curator   文件: AsyncRemoveWatchesBuilderImpl.java
@Override
public AsyncPathable<AsyncStage<Void>> removing(CuratorWatcher watcher, Watcher.WatcherType watcherType, Set<RemoveWatcherOption> options)
{
    this.curatorWatcher = Objects.requireNonNull(watcher, "watcher cannot be null");
    this.options = Objects.requireNonNull(options, "options cannot be null");
    this.watcherType = Objects.requireNonNull(watcherType, "watcherType cannot be null");
    this.watcher = null;
    return this;
}
 
源代码3 项目: curator   文件: AsyncRemoveWatchesBuilderImpl.java
@Override
public AsyncPathable<AsyncStage<Void>> removingAll(Watcher.WatcherType watcherType, Set<RemoveWatcherOption> options)
{
    this.options = Objects.requireNonNull(options, "options cannot be null");
    this.watcherType = Objects.requireNonNull(watcherType, "watcherType cannot be null");
    this.curatorWatcher = null;
    this.watcher = null;
    return this;
}
 
源代码4 项目: curator   文件: AsyncRemoveWatchesBuilderImpl.java
@Override
public AsyncPathable<AsyncStage<Void>> removing(Watcher watcher, Watcher.WatcherType watcherType)
{
    this.watcher = Objects.requireNonNull(watcher, "watcher cannot be null");
    this.watcherType = Objects.requireNonNull(watcherType, "watcherType cannot be null");
    this.curatorWatcher = null;
    return this;
}
 
源代码5 项目: curator   文件: AsyncRemoveWatchesBuilderImpl.java
@Override
public AsyncPathable<AsyncStage<Void>> removing(CuratorWatcher watcher, Watcher.WatcherType watcherType)
{
    this.curatorWatcher = Objects.requireNonNull(watcher, "watcher cannot be null");
    this.watcherType = Objects.requireNonNull(watcherType, "watcherType cannot be null");
    this.watcher = null;
    return this;
}
 
源代码6 项目: curator   文件: AsyncRemoveWatchesBuilderImpl.java
@Override
public AsyncPathable<AsyncStage<Void>> removingAll(Watcher.WatcherType watcherType)
{
    this.watcherType = Objects.requireNonNull(watcherType, "watcherType cannot be null");
    this.curatorWatcher = null;
    this.watcher = null;
    return this;
}
 
源代码7 项目: curator   文件: AsyncRemoveWatchesBuilder.java
/**
 * Remove a watcher of a given type
 *
 * @param watcher the watcher to remove
 * @param watcherType watcher type
 * @param options watcher removal options
 * @return this
 */
AsyncPathable<AsyncStage<Void>> removing(Watcher watcher, Watcher.WatcherType watcherType, Set<RemoveWatcherOption> options);
 
源代码8 项目: curator   文件: AsyncRemoveWatchesBuilder.java
/**
 * Remove a watcher of a given type
 *
 * @param watcher the watcher to remove
 * @param watcherType watcher type
 * @param options watcher removal options
 * @return this
 */
AsyncPathable<AsyncStage<Void>> removing(CuratorWatcher watcher, Watcher.WatcherType watcherType, Set<RemoveWatcherOption> options);
 
源代码9 项目: curator   文件: AsyncRemoveWatchesBuilder.java
/**
 * Remove all watchers of a given type
 *
 * @param watcherType watcher type
 * @param options watcher removal options
 * @return this
 */
AsyncPathable<AsyncStage<Void>> removingAll(Watcher.WatcherType watcherType, Set<RemoveWatcherOption> options);
 
源代码10 项目: curator   文件: AsyncRemoveWatchesBuilder.java
/**
 * Remove a watcher of a given type
 *
 * @param watcher the watcher to remove
 * @param watcherType watcher type
 * @return this
 */
AsyncPathable<AsyncStage<Void>> removing(Watcher watcher, Watcher.WatcherType watcherType);
 
源代码11 项目: curator   文件: AsyncRemoveWatchesBuilder.java
/**
 * Remove a watcher of a given type
 *
 * @param watcher the watcher to remove
 * @param watcherType watcher type
 * @return this
 */
AsyncPathable<AsyncStage<Void>> removing(CuratorWatcher watcher, Watcher.WatcherType watcherType);
 
源代码12 项目: curator   文件: AsyncRemoveWatchesBuilder.java
/**
 * Remove all watchers of a given type
 *
 * @param watcherType watcher type
 * @return this
 */
AsyncPathable<AsyncStage<Void>> removingAll(Watcher.WatcherType watcherType);
 
 方法所在类