@Deprecated public static final class ZkBasedNodeResource.Builder<E> extends Object
ZkBasedNodeResource.newGenericBuilder() instead| Constructor and Description |
|---|
Builder()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
<E1> ZkBasedNodeResource.Builder<E1> |
addFactoryFailedListener(com.github.phantomthief.util.ThrowableBiConsumer<org.apache.curator.framework.recipes.cache.ChildData,Throwable,Throwable> listener)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
addFactoryFailedListener(com.github.phantomthief.util.ThrowableConsumer<Throwable,Throwable> listener)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
asyncRefresh(com.google.common.util.concurrent.ListeningExecutorService executor)
Deprecated.
|
<E1> ZkBasedNodeResource<E1> |
build()
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
onResourceChange(BiConsumer<? super E1,? super E1> callback)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withAsyncRefreshFactory(com.github.phantomthief.util.ThrowableBiFunction<byte[],org.apache.zookeeper.data.Stat,com.google.common.util.concurrent.ListenableFuture<E1>,Exception> factory)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withAsyncRefreshFactory(com.github.phantomthief.util.ThrowableFunction<byte[],com.google.common.util.concurrent.ListenableFuture<E1>,Exception> factory)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withAsyncRefreshStringFactory(com.github.phantomthief.util.ThrowableBiFunction<String,org.apache.zookeeper.data.Stat,com.google.common.util.concurrent.ListenableFuture<E1>,Exception> factory)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withAsyncRefreshStringFactory(com.github.phantomthief.util.ThrowableFunction<String,com.google.common.util.concurrent.ListenableFuture<E1>,Exception> factory)
Deprecated.
|
ZkBasedNodeResource.Builder<E> |
withCacheFactory(String path,
org.apache.curator.framework.CuratorFramework curator)
Deprecated.
|
ZkBasedNodeResource.Builder<E> |
withCacheFactory(String path,
Supplier<org.apache.curator.framework.CuratorFramework> curatorFactory)
Deprecated.
|
ZkBasedNodeResource.Builder<E> |
withCacheFactory(Supplier<org.apache.curator.framework.recipes.cache.NodeCache> cacheFactory)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withCleanup(Predicate<? super E1> cleanup)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withCleanup(com.github.phantomthief.util.ThrowableConsumer<? super E1,Throwable> cleanup)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withCleanupConsumer(com.github.phantomthief.util.ThrowableConsumer<? super E1,Throwable> cleanup)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withCleanupPredicate(Predicate<? super E1> cleanup)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withEmptyObject(E1 emptyObject)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withFactory(BiFunction<byte[],org.apache.zookeeper.data.Stat,? extends E1> factory)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withFactory(Function<byte[],? extends E1> factory)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withFactoryEx(com.github.phantomthief.util.ThrowableBiFunction<byte[],org.apache.zookeeper.data.Stat,? extends E1,Exception> factory)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withFactoryEx(com.github.phantomthief.util.ThrowableFunction<byte[],? extends E1,Exception> factory)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withRefreshFactory(com.google.common.util.concurrent.ListeningExecutorService executor,
com.github.phantomthief.util.ThrowableBiFunction<byte[],org.apache.zookeeper.data.Stat,? extends E1,Exception> factory)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withRefreshFactory(com.google.common.util.concurrent.ListeningExecutorService executor,
com.github.phantomthief.util.ThrowableFunction<byte[],? extends E1,Exception> factory)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withRefreshFactory(com.github.phantomthief.util.ThrowableBiFunction<byte[],org.apache.zookeeper.data.Stat,? extends E1,Exception> factory)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withRefreshFactory(com.github.phantomthief.util.ThrowableFunction<byte[],? extends E1,Exception> factory)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withRefreshStringFactory(com.google.common.util.concurrent.ListeningExecutorService executor,
com.github.phantomthief.util.ThrowableBiFunction<String,org.apache.zookeeper.data.Stat,? extends E1,Exception> factory)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withRefreshStringFactory(com.google.common.util.concurrent.ListeningExecutorService executor,
com.github.phantomthief.util.ThrowableFunction<String,? extends E1,Exception> factory)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withRefreshStringFactory(com.github.phantomthief.util.ThrowableBiFunction<String,org.apache.zookeeper.data.Stat,? extends E1,Exception> factory)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withRefreshStringFactory(com.github.phantomthief.util.ThrowableFunction<String,? extends E1,Exception> factory)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withStringFactory(BiFunction<String,org.apache.zookeeper.data.Stat,? extends E1> factory)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withStringFactory(Function<String,? extends E1> factory)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withStringFactoryEx(com.github.phantomthief.util.ThrowableBiFunction<String,org.apache.zookeeper.data.Stat,? extends E1,Exception> factory)
Deprecated.
|
<E1> ZkBasedNodeResource.Builder<E1> |
withStringFactoryEx(com.github.phantomthief.util.ThrowableFunction<String,? extends E1,Exception> factory)
Deprecated.
|
ZkBasedNodeResource.Builder<E> |
withWaitStopPeriod(long waitStopPeriod)
Deprecated.
|
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> addFactoryFailedListener(@Nonnull com.github.phantomthief.util.ThrowableConsumer<Throwable,Throwable> listener)
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> addFactoryFailedListener(@Nonnull com.github.phantomthief.util.ThrowableBiConsumer<org.apache.curator.framework.recipes.cache.ChildData,Throwable,Throwable> listener)
@Deprecated @CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withFactory(@Nonnull BiFunction<byte[],org.apache.zookeeper.data.Stat,? extends E1> factory)
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withFactoryEx(@Nonnull com.github.phantomthief.util.ThrowableBiFunction<byte[],org.apache.zookeeper.data.Stat,? extends E1,Exception> factory)
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withRefreshStringFactory(@Nonnull com.github.phantomthief.util.ThrowableBiFunction<String,org.apache.zookeeper.data.Stat,? extends E1,Exception> factory)
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withRefreshStringFactory(@Nullable com.google.common.util.concurrent.ListeningExecutorService executor, @Nonnull com.github.phantomthief.util.ThrowableBiFunction<String,org.apache.zookeeper.data.Stat,? extends E1,Exception> factory)
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withRefreshFactory(@Nonnull com.github.phantomthief.util.ThrowableBiFunction<byte[],org.apache.zookeeper.data.Stat,? extends E1,Exception> factory)
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withRefreshFactory(@Nullable com.google.common.util.concurrent.ListeningExecutorService executor, @Nonnull com.github.phantomthief.util.ThrowableBiFunction<byte[],org.apache.zookeeper.data.Stat,? extends E1,Exception> factory)
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withAsyncRefreshStringFactory(@Nonnull com.github.phantomthief.util.ThrowableBiFunction<String,org.apache.zookeeper.data.Stat,com.google.common.util.concurrent.ListenableFuture<E1>,Exception> factory)
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withAsyncRefreshFactory(@Nonnull com.github.phantomthief.util.ThrowableBiFunction<byte[],org.apache.zookeeper.data.Stat,com.google.common.util.concurrent.ListenableFuture<E1>,Exception> factory)
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> onResourceChange(BiConsumer<? super E1,? super E1> callback)
@Deprecated @CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withFactory(@Nonnull Function<byte[],? extends E1> factory)
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withFactoryEx(@Nonnull com.github.phantomthief.util.ThrowableFunction<byte[],? extends E1,Exception> factory)
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withRefreshStringFactory(@Nonnull com.github.phantomthief.util.ThrowableFunction<String,? extends E1,Exception> factory)
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withRefreshStringFactory(@Nullable com.google.common.util.concurrent.ListeningExecutorService executor, @Nonnull com.github.phantomthief.util.ThrowableFunction<String,? extends E1,Exception> factory)
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withRefreshFactory(@Nonnull com.github.phantomthief.util.ThrowableFunction<byte[],? extends E1,Exception> factory)
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withRefreshFactory(@Nullable com.google.common.util.concurrent.ListeningExecutorService executor, @Nonnull com.github.phantomthief.util.ThrowableFunction<byte[],? extends E1,Exception> factory)
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withAsyncRefreshStringFactory(com.github.phantomthief.util.ThrowableFunction<String,com.google.common.util.concurrent.ListenableFuture<E1>,Exception> factory)
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withAsyncRefreshFactory(com.github.phantomthief.util.ThrowableFunction<byte[],com.google.common.util.concurrent.ListenableFuture<E1>,Exception> factory)
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> asyncRefresh(@Nonnull com.google.common.util.concurrent.ListeningExecutorService executor)
@Deprecated @CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withStringFactory(BiFunction<String,org.apache.zookeeper.data.Stat,? extends E1> factory)
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withStringFactoryEx(com.github.phantomthief.util.ThrowableBiFunction<String,org.apache.zookeeper.data.Stat,? extends E1,Exception> factory)
@Deprecated @CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withStringFactory(Function<String,? extends E1> factory)
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withStringFactoryEx(com.github.phantomthief.util.ThrowableFunction<String,? extends E1,Exception> factory)
@CheckReturnValue @Nonnull public ZkBasedNodeResource.Builder<E> withCacheFactory(Supplier<org.apache.curator.framework.recipes.cache.NodeCache> cacheFactory)
@CheckReturnValue @Nonnull public ZkBasedNodeResource.Builder<E> withCacheFactory(String path, org.apache.curator.framework.CuratorFramework curator)
@CheckReturnValue @Nonnull public ZkBasedNodeResource.Builder<E> withCacheFactory(String path, Supplier<org.apache.curator.framework.CuratorFramework> curatorFactory)
@Deprecated @CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withCleanup(com.github.phantomthief.util.ThrowableConsumer<? super E1,Throwable> cleanup)
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withCleanupConsumer(com.github.phantomthief.util.ThrowableConsumer<? super E1,Throwable> cleanup)
@Deprecated @CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withCleanup(Predicate<? super E1> cleanup)
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withCleanupPredicate(Predicate<? super E1> cleanup)
@CheckReturnValue @Nonnull public ZkBasedNodeResource.Builder<E> withWaitStopPeriod(long waitStopPeriod)
@CheckReturnValue @Nonnull public <E1> ZkBasedNodeResource.Builder<E1> withEmptyObject(E1 emptyObject)
@Nonnull public <E1> ZkBasedNodeResource<E1> build()
Copyright © 2019. All rights reserved.