Class HttpShardedServiceFinderBuilder<T>
java.lang.Object
io.appform.ranger.core.finder.BaseServiceFinderBuilder<T,MapBasedServiceRegistry<T>,SimpleShardedServiceFinder<T>,B,D>
io.appform.ranger.core.finder.SimpleShardedServiceFinderBuilder<T,HttpShardedServiceFinderBuilder<T>,HTTPResponseDataDeserializer<T>>
io.appform.ranger.http.servicefinder.HttpShardedServiceFinderBuilder<T>
public class HttpShardedServiceFinderBuilder<T>
extends SimpleShardedServiceFinderBuilder<T,HttpShardedServiceFinderBuilder<T>,HTTPResponseDataDeserializer<T>>
-
Field Summary
Fields inherited from class io.appform.ranger.core.finder.BaseServiceFinderBuilder
additionalRefreshSignals, deserializer, disablePushUpdaters, namespace, nodeRefreshIntervalMs, nodeSelector, serviceName, shardSelector, startSignalHandlers, stopSignalHandlers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()protected NodeDataSource<T,HTTPResponseDataDeserializer<T>> dataSource(Service service) withClientConfig(HttpClientConfig clientConfig) withObjectMapper(com.fasterxml.jackson.databind.ObjectMapper mapper) Methods inherited from class io.appform.ranger.core.finder.SimpleShardedServiceFinderBuilder
buildFinderMethods inherited from class io.appform.ranger.core.finder.BaseServiceFinderBuilder
buildFinder, implementationSpecificRefreshSignals, withAdditionalSignalGenerator, withAdditionalSignalGenerators, withAdditionalSignalGenerators, withDeserializer, withDisableWatchers, withDisableWatchers, withNamespace, withNodeRefreshIntervalMs, withNodeSelector, withServiceName, withShardSelector, withStartSignalHandler, withStartSignalHandlers, withStopSignalHandler, withStopSignalHandlers
-
Constructor Details
-
HttpShardedServiceFinderBuilder
public HttpShardedServiceFinderBuilder()
-
-
Method Details
-
withClientConfig
-
withObjectMapper
public HttpShardedServiceFinderBuilder<T> withObjectMapper(com.fasterxml.jackson.databind.ObjectMapper mapper) -
build
- Specified by:
buildin classBaseServiceFinderBuilder<T,MapBasedServiceRegistry<T>, SimpleShardedServiceFinder<T>, HttpShardedServiceFinderBuilder<T>, HTTPResponseDataDeserializer<T>>
-
dataSource
- Specified by:
dataSourcein classBaseServiceFinderBuilder<T,MapBasedServiceRegistry<T>, SimpleShardedServiceFinder<T>, HttpShardedServiceFinderBuilder<T>, HTTPResponseDataDeserializer<T>>
-