ServiceProviderBuilder<T> |
ServiceProviderBuilder.withConnectionString(String connectionString) |
ServiceProviderBuilder<T> |
ServiceProviderBuilder.withCuratorFramework(org.apache.curator.framework.CuratorFramework curatorFramework) |
ServiceProviderBuilder<T> |
ServiceProviderBuilder.withHealthcheck(Healthcheck healthcheck) |
ServiceProviderBuilder<T> |
ServiceProviderBuilder.withHealthMetricSupplier(Supplier<Double> healthMetricSupplier) |
ServiceProviderBuilder<T> |
ServiceProviderBuilder.withHealthUpdateIntervalMs(int healthUpdateIntervalMs) |
ServiceProviderBuilder<T> |
ServiceProviderBuilder.withHostname(String hostname) |
ServiceProviderBuilder<T> |
ServiceProviderBuilder.withIsolatedHealthMonitor(IsolatedHealthMonitor monitor)
Register a monitor to the service, to setup a continuous monitoring on the monitor
this method can be used to add a IsolatedHealthMonitor which will later be
scheduled at regular intervals and monitored to generate and maintain an aggregated health of the service
the scheduling will happen in an isolated thread
|
ServiceProviderBuilder<T> |
ServiceProviderBuilder.withNamespace(String namespace) |
ServiceProviderBuilder<T> |
ServiceProviderBuilder.withNodeData(T nodeData) |
ServiceProviderBuilder<T> |
ServiceProviderBuilder.withPort(int port) |
ServiceProviderBuilder<T> |
ServiceProviderBuilder.withSerializer(Serializer<T> deserializer) |
ServiceProviderBuilder<T> |
ServiceProviderBuilder.withServiceName(String serviceName) |
ServiceProviderBuilder<T> |
ServiceProviderBuilder.withStaleUpdateThresholdMs(int staleUpdateThresholdMs) |