Package org.apache.druid.curator.cache
Class PathChildrenCacheFactory.Builder
- java.lang.Object
-
- org.apache.druid.curator.cache.PathChildrenCacheFactory.Builder
-
- Enclosing class:
- PathChildrenCacheFactory
public static class PathChildrenCacheFactory.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PathChildrenCacheFactorybuild()static ExecutorServicecreateDefaultExecutor()PathChildrenCacheFactory.BuilderwithCacheData(boolean cacheData)PathChildrenCacheFactory.BuilderwithCompressed(boolean compressed)PathChildrenCacheFactory.BuilderwithExecutorService(ExecutorService exec)PathChildrenCacheFactory.BuilderwithShutdownExecutorOnClose(boolean shutdownExecutorOnClose)
-
-
-
Method Detail
-
withCacheData
public PathChildrenCacheFactory.Builder withCacheData(boolean cacheData)
-
withCompressed
public PathChildrenCacheFactory.Builder withCompressed(boolean compressed)
-
withExecutorService
public PathChildrenCacheFactory.Builder withExecutorService(ExecutorService exec)
-
withShutdownExecutorOnClose
public PathChildrenCacheFactory.Builder withShutdownExecutorOnClose(boolean shutdownExecutorOnClose)
-
build
public PathChildrenCacheFactory build()
-
createDefaultExecutor
public static ExecutorService createDefaultExecutor()
-
-