Package io.appform.ranger.server.bundle
Class ZKServerBundle<U extends io.dropwizard.Configuration>
java.lang.Object
io.appform.ranger.server.bundle.RangerServerBundle<ShardInfo,io.appform.ranger.core.finder.serviceregistry.ListBasedServiceRegistry<ShardInfo>,U>
io.appform.ranger.server.bundle.ZKServerBundle<U>
- All Implemented Interfaces:
io.dropwizard.ConfiguredBundle<U>
@Singleton
public abstract class ZKServerBundle<U extends io.dropwizard.Configuration>
extends RangerServerBundle<ShardInfo,io.appform.ranger.core.finder.serviceregistry.ListBasedServiceRegistry<ShardInfo>,U>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract RangerConfigurationgetRangerConfiguration(U configuration) protected voidprotected List<com.codahale.metrics.health.HealthCheck>withHealthChecks(U configuration) protected List<io.appform.ranger.client.RangerHubClient<ShardInfo,io.appform.ranger.core.finder.serviceregistry.ListBasedServiceRegistry<ShardInfo>>> withLifecycleSignals(U configuration) Methods inherited from class io.appform.ranger.server.bundle.RangerServerBundle
getHubs, getMapper, initialize, run, withInitialRotationStatus
-
Constructor Details
-
ZKServerBundle
public ZKServerBundle()
-
-
Method Details
-
getRangerConfiguration
-
preBundle
- Overrides:
preBundlein classRangerServerBundle<ShardInfo,io.appform.ranger.core.finder.serviceregistry.ListBasedServiceRegistry<ShardInfo>, U extends io.dropwizard.Configuration>
-
withHubs
protected List<io.appform.ranger.client.RangerHubClient<ShardInfo,io.appform.ranger.core.finder.serviceregistry.ListBasedServiceRegistry<ShardInfo>>> withHubs(U configuration) - Specified by:
withHubsin classRangerServerBundle<ShardInfo,io.appform.ranger.core.finder.serviceregistry.ListBasedServiceRegistry<ShardInfo>, U extends io.dropwizard.Configuration>
-
withLifecycleSignals
protected List<io.appform.ranger.core.signals.Signal<ShardInfo>> withLifecycleSignals(U configuration) - Overrides:
withLifecycleSignalsin classRangerServerBundle<ShardInfo,io.appform.ranger.core.finder.serviceregistry.ListBasedServiceRegistry<ShardInfo>, U extends io.dropwizard.Configuration>
-
withHealthChecks
- Specified by:
withHealthChecksin classRangerServerBundle<ShardInfo,io.appform.ranger.core.finder.serviceregistry.ListBasedServiceRegistry<ShardInfo>, U extends io.dropwizard.Configuration>
-