Package | Description |
---|---|
org.apache.curator.x.discovery | |
org.apache.curator.x.discovery.details |
Modifier and Type | Method and Description |
---|---|
ServiceCacheBuilder<T> |
ServiceCacheBuilder.executorService(CloseableExecutorService executorService)
Optional CloseableExecutorService to use for the cache's background thread.
|
ServiceCacheBuilder<T> |
ServiceCacheBuilder.executorService(ExecutorService executorService)
Optional ExecutorService to use for the cache's background thread.
|
ServiceCacheBuilder<T> |
ServiceCacheBuilder.name(String name)
The name of the service to cache (required)
|
ServiceCacheBuilder<T> |
ServiceDiscovery.serviceCacheBuilder()
Allocate a new service cache builder.
|
ServiceCacheBuilder<T> |
ServiceCacheBuilder.threadFactory(ThreadFactory threadFactory)
Optional thread factory to use for the cache's internal thread.
|
Modifier and Type | Method and Description |
---|---|
ServiceCacheBuilder<T> |
ServiceDiscoveryImpl.serviceCacheBuilder()
Allocate a new service cache builder.
|
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.