Index

A B C D E F G H I J K L M N O P R S Z 
All Classes and Interfaces|All Packages|Constant Field Values

A

alwaysMergeWithInitialCriteria(T) - Method in class io.appform.ranger.discovery.bundle.ServiceDiscoveryBundle
 

B

base36() - Static method in class io.appform.ranger.discovery.bundle.id.formatter.IdFormatters
 
Base36IdFormatter - Class in io.appform.ranger.discovery.bundle.id.formatter
 
Base36IdFormatter(IdFormatter) - Constructor for class io.appform.ranger.discovery.bundle.id.formatter.Base36IdFormatter
 
bir() - Method in class io.appform.ranger.discovery.bundle.rotationstatus.RotationStatus
 
BIRTask - Class in io.appform.ranger.discovery.bundle.rotationstatus
Admin task to take node bir in ranger
BIRTask(RotationStatus) - Constructor for class io.appform.ranger.discovery.bundle.rotationstatus.BIRTask
 

C

check() - Method in class io.appform.ranger.discovery.bundle.healthchecks.InitialDelayChecker
 
check() - Method in class io.appform.ranger.discovery.bundle.healthchecks.InternalHealthChecker
 
check() - Method in class io.appform.ranger.discovery.bundle.healthchecks.RotationCheck
 
check() - Method in class io.appform.ranger.discovery.bundle.monitors.DropwizardServerStartupCheck
 
check(long, int) - Method in class io.appform.ranger.discovery.bundle.id.CollisionChecker
 
cleanUp() - Static method in class io.appform.ranger.discovery.bundle.id.IdGenerator
 
CollisionChecker - Class in io.appform.ranger.discovery.bundle.id
Checks collisions between ids in given period
CollisionChecker() - Constructor for class io.appform.ranger.discovery.bundle.id.CollisionChecker
 
CollisionChecker(TimeUnit) - Constructor for class io.appform.ranger.discovery.bundle.id.CollisionChecker
 
ConfigurationUtils - Class in io.appform.ranger.discovery.bundle.util
 
ConfigurationUtils() - Constructor for class io.appform.ranger.discovery.bundle.util.ConfigurationUtils
 
Constants - Class in io.appform.ranger.discovery.bundle
Constants
Constants - Class in io.appform.ranger.discovery.bundle.id
All constants for this project
Constants() - Constructor for class io.appform.ranger.discovery.bundle.Constants
 
Constants() - Constructor for class io.appform.ranger.discovery.bundle.id.Constants
 
createNodeInfoResolver() - Method in class io.appform.ranger.discovery.bundle.ServiceDiscoveryBundle
 
createPortSchemeResolver() - Method in class io.appform.ranger.discovery.bundle.ServiceDiscoveryBundle
 
CriteriaResolver<T,A> - Interface in io.appform.ranger.discovery.bundle.resolvers
CriteriaResolver.java Interface to help resolve from an argument A to the typed object T.
CuratorPathUtils - Class in io.appform.ranger.discovery.bundle.id
Utilities for curator
CuratorPathUtils(String) - Constructor for class io.appform.ranger.discovery.bundle.id.CuratorPathUtils
 

D

DEFAULT - Static variable in class io.appform.ranger.discovery.bundle.id.Domain
 
DEFAULT_DOMAIN_NAME - Static variable in class io.appform.ranger.discovery.bundle.id.Domain
 
DEFAULT_DW_CHECK_INTERVAL - Static variable in class io.appform.ranger.discovery.bundle.Constants
 
DEFAULT_HOST - Static variable in class io.appform.ranger.discovery.bundle.Constants
 
DEFAULT_NAMESPACE - Static variable in class io.appform.ranger.discovery.bundle.Constants
 
DEFAULT_PORT - Static variable in class io.appform.ranger.discovery.bundle.Constants
 
DEFAULT_RETRY_CONN_INTERVAL - Static variable in class io.appform.ranger.discovery.bundle.Constants
 
DefaultIdFormatter - Class in io.appform.ranger.discovery.bundle.id.formatter
 
DefaultIdFormatter() - Constructor for class io.appform.ranger.discovery.bundle.id.formatter.DefaultIdFormatter
 
DefaultNodeInfoResolver - Class in io.appform.ranger.discovery.bundle.resolvers
 
DefaultNodeInfoResolver() - Constructor for class io.appform.ranger.discovery.bundle.resolvers.DefaultNodeInfoResolver
 
DefaultPortSchemeResolver<T extends io.dropwizard.Configuration> - Class in io.appform.ranger.discovery.bundle.resolvers
DefaultPortSchemeResolver.java To derive PortScheme from the ServerFactory from Dropwizard startup config
DefaultPortSchemeResolver() - Constructor for class io.appform.ranger.discovery.bundle.resolvers.DefaultPortSchemeResolver
 
Domain - Class in io.appform.ranger.discovery.bundle.id
 
Domain(String, List<IdValidationConstraint>, IdFormatter, TimeUnit) - Constructor for class io.appform.ranger.discovery.bundle.id.Domain
 
DropwizardHealthMonitor - Class in io.appform.ranger.discovery.bundle.monitors
This monitor calls dropwizard healthchecks every few secs.
DropwizardHealthMonitor(TimeEntity, long, Environment) - Constructor for class io.appform.ranger.discovery.bundle.monitors.DropwizardHealthMonitor
 
DropwizardServerStartupCheck - Class in io.appform.ranger.discovery.bundle.monitors
This healthcheck listens to server started event to mark service healthy on ranger.
DropwizardServerStartupCheck(Environment, DropwizardServerStatus) - Constructor for class io.appform.ranger.discovery.bundle.monitors.DropwizardServerStartupCheck
 
DropwizardServerStatus - Class in io.appform.ranger.discovery.bundle.rotationstatus
Current server startup started
DropwizardServerStatus(boolean) - Constructor for class io.appform.ranger.discovery.bundle.rotationstatus.DropwizardServerStatus
 

E

execute(Map<String, List<String>>, PrintWriter) - Method in class io.appform.ranger.discovery.bundle.rotationstatus.BIRTask
 
execute(Map<String, List<String>>, PrintWriter) - Method in class io.appform.ranger.discovery.bundle.rotationstatus.OORTask
 

F

failFast() - Method in interface io.appform.ranger.discovery.bundle.id.constraints.IdValidationConstraint
 
fixNodeId() - Method in class io.appform.ranger.discovery.bundle.id.NodeIdManager
 
format(DateTime, int, int) - Method in class io.appform.ranger.discovery.bundle.id.formatter.Base36IdFormatter
 
format(DateTime, int, int) - Method in class io.appform.ranger.discovery.bundle.id.formatter.DefaultIdFormatter
 
format(DateTime, int, int) - Method in interface io.appform.ranger.discovery.bundle.id.formatter.IdFormatter
 
free(long, int) - Method in class io.appform.ranger.discovery.bundle.id.CollisionChecker
 

G

generate(IdGenerationRequest) - Static method in class io.appform.ranger.discovery.bundle.id.IdGenerator
 
generate(String) - Static method in class io.appform.ranger.discovery.bundle.id.IdGenerator
Generate id with given prefix
generate(String, IdFormatter) - Static method in class io.appform.ranger.discovery.bundle.id.IdGenerator
 
generateWithConstraints(String, String) - Static method in class io.appform.ranger.discovery.bundle.id.IdGenerator
Generate id that mathces all passed constraints.
generateWithConstraints(String, String, boolean) - Static method in class io.appform.ranger.discovery.bundle.id.IdGenerator
Generate id that mathces all passed constraints.
generateWithConstraints(String, List<IdValidationConstraint>) - Static method in class io.appform.ranger.discovery.bundle.id.IdGenerator
Generate id that mathces all passed constraints.
generateWithConstraints(String, List<IdValidationConstraint>, boolean) - Static method in class io.appform.ranger.discovery.bundle.id.IdGenerator
Generate id that mathces all passed constraints.
get() - Method in class io.appform.ranger.discovery.bundle.InfoResource
 
getHealthMonitors() - Method in class io.appform.ranger.discovery.bundle.ServiceDiscoveryBundle
 
getHost() - Method in class io.appform.ranger.discovery.bundle.ServiceDiscoveryBundle
 
getInitialCriteria(T) - Method in class io.appform.ranger.discovery.bundle.ServiceDiscoveryBundle
Override the following if you require.
getPort(T) - Method in class io.appform.ranger.discovery.bundle.ServiceDiscoveryBundle
 
getRangerConfiguration(T) - Method in class io.appform.ranger.discovery.bundle.ServiceDiscoveryBundle
 
getServiceName(T) - Method in class io.appform.ranger.discovery.bundle.ServiceDiscoveryBundle
 
getShardSelector(T) - Method in class io.appform.ranger.discovery.bundle.ServiceDiscoveryBundle
 

H

HierarchicalEnvironmentAwareShardSelector - Class in io.appform.ranger.discovery.bundle.selectors
 
HierarchicalEnvironmentAwareShardSelector(String) - Constructor for class io.appform.ranger.discovery.bundle.selectors.HierarchicalEnvironmentAwareShardSelector
 
HierarchicalEnvironmentAwareShardSelector(String, String) - Constructor for class io.appform.ranger.discovery.bundle.selectors.HierarchicalEnvironmentAwareShardSelector
 
HOST_PORT_DELIMITER - Static variable in class io.appform.ranger.discovery.bundle.Constants
 

I

Id - Class in io.appform.ranger.discovery.bundle.id
A representation of an ID
Id() - Constructor for class io.appform.ranger.discovery.bundle.id.Id
 
IdFormatter - Interface in io.appform.ranger.discovery.bundle.id.formatter
 
IdFormatters - Class in io.appform.ranger.discovery.bundle.id.formatter
 
IdFormatters() - Constructor for class io.appform.ranger.discovery.bundle.id.formatter.IdFormatters
 
IdGenerationRequest - Class in io.appform.ranger.discovery.bundle.id.request
 
IdGenerationRequest() - Constructor for class io.appform.ranger.discovery.bundle.id.request.IdGenerationRequest
 
IdGenerator - Class in io.appform.ranger.discovery.bundle.id
Id generation
IdGenerator() - Constructor for class io.appform.ranger.discovery.bundle.id.IdGenerator
 
IdValidationConstraint - Interface in io.appform.ranger.discovery.bundle.id.constraints
 
InfoResource - Class in io.appform.ranger.discovery.bundle
Given information about the cluster.
InfoResource(RangerClient<ShardInfo, MapBasedServiceRegistry<ShardInfo>>) - Constructor for class io.appform.ranger.discovery.bundle.InfoResource
 
InitialDelayChecker - Class in io.appform.ranger.discovery.bundle.healthchecks
The following will return healthy only after stipulated time This will give other bundles etc to startup properly By the time the node joins the cluster
InitialDelayChecker(long) - Constructor for class io.appform.ranger.discovery.bundle.healthchecks.InitialDelayChecker
 
initialize(int) - Static method in class io.appform.ranger.discovery.bundle.id.IdGenerator
 
initialize(int, List<IdValidationConstraint>, Map<String, List<IdValidationConstraint>>) - Static method in class io.appform.ranger.discovery.bundle.id.IdGenerator
 
initialize(Bootstrap<?>) - Method in class io.appform.ranger.discovery.bundle.ServiceDiscoveryBundle
 
InternalHealthChecker - Class in io.appform.ranger.discovery.bundle.healthchecks
Evaluates all registered healthchecks
InternalHealthChecker(List<Healthcheck>) - Constructor for class io.appform.ranger.discovery.bundle.healthchecks.InternalHealthChecker
 
io.appform.ranger.discovery.bundle - package io.appform.ranger.discovery.bundle
 
io.appform.ranger.discovery.bundle.healthchecks - package io.appform.ranger.discovery.bundle.healthchecks
 
io.appform.ranger.discovery.bundle.id - package io.appform.ranger.discovery.bundle.id
 
io.appform.ranger.discovery.bundle.id.constraints - package io.appform.ranger.discovery.bundle.id.constraints
 
io.appform.ranger.discovery.bundle.id.constraints.impl - package io.appform.ranger.discovery.bundle.id.constraints.impl
 
io.appform.ranger.discovery.bundle.id.formatter - package io.appform.ranger.discovery.bundle.id.formatter
 
io.appform.ranger.discovery.bundle.id.request - package io.appform.ranger.discovery.bundle.id.request
 
io.appform.ranger.discovery.bundle.monitors - package io.appform.ranger.discovery.bundle.monitors
 
io.appform.ranger.discovery.bundle.resolvers - package io.appform.ranger.discovery.bundle.resolvers
 
io.appform.ranger.discovery.bundle.rotationstatus - package io.appform.ranger.discovery.bundle.rotationstatus
 
io.appform.ranger.discovery.bundle.selectors - package io.appform.ranger.discovery.bundle.selectors
 
io.appform.ranger.discovery.bundle.util - package io.appform.ranger.discovery.bundle.util
 
isValid(Id) - Method in interface io.appform.ranger.discovery.bundle.id.constraints.IdValidationConstraint
 
isValid(Id) - Method in class io.appform.ranger.discovery.bundle.id.constraints.impl.PartitionValidator
 

J

JavaHashCodeBasedKeyPartitioner - Class in io.appform.ranger.discovery.bundle.id.constraints.impl
 
JavaHashCodeBasedKeyPartitioner(int) - Constructor for class io.appform.ranger.discovery.bundle.id.constraints.impl.JavaHashCodeBasedKeyPartitioner
 

K

KeyPartitioner - Interface in io.appform.ranger.discovery.bundle.id.constraints.impl
Takes an id and generates a partition

L

LOCAL_ADDRESSES - Static variable in class io.appform.ranger.discovery.bundle.Constants
 

M

markStarted() - Method in class io.appform.ranger.discovery.bundle.rotationstatus.DropwizardServerStatus
 
markStopped() - Method in class io.appform.ranger.discovery.bundle.rotationstatus.DropwizardServerStatus
 
MAX_ID_PER_MS - Static variable in class io.appform.ranger.discovery.bundle.id.Constants
 
MAX_NUM_NODES - Static variable in class io.appform.ranger.discovery.bundle.id.Constants
 
monitor() - Method in class io.appform.ranger.discovery.bundle.monitors.DropwizardHealthMonitor
 
MurmurBasedKeyPartitioner - Class in io.appform.ranger.discovery.bundle.id.constraints.impl
 
MurmurBasedKeyPartitioner(int) - Constructor for class io.appform.ranger.discovery.bundle.id.constraints.impl.MurmurBasedKeyPartitioner
 

N

NodeIdManager - Class in io.appform.ranger.discovery.bundle.id
Created by santanu on 2/5/16.
NodeIdManager(CuratorFramework, String) - Constructor for class io.appform.ranger.discovery.bundle.id.NodeIdManager
 
NodeInfoResolver - Interface in io.appform.ranger.discovery.bundle.resolvers
NodeInfoResolver.java Interface to help build a node to be saved in the discovery backend while building the serviceProvider.
nodes(Predicate<ShardInfo>, MapBasedServiceRegistry<ShardInfo>) - Method in class io.appform.ranger.discovery.bundle.selectors.HierarchicalEnvironmentAwareShardSelector
 

O

oor() - Method in class io.appform.ranger.discovery.bundle.rotationstatus.RotationStatus
 
OORTask - Class in io.appform.ranger.discovery.bundle.rotationstatus
Admin task to take node oor in ranger
OORTask(RotationStatus) - Constructor for class io.appform.ranger.discovery.bundle.rotationstatus.OORTask
 
original() - Static method in class io.appform.ranger.discovery.bundle.id.formatter.IdFormatters
 

P

parse(String) - Static method in class io.appform.ranger.discovery.bundle.id.IdGenerator
Generate id by parsing given string
partition(Id) - Method in class io.appform.ranger.discovery.bundle.id.constraints.impl.JavaHashCodeBasedKeyPartitioner
 
partition(Id) - Method in interface io.appform.ranger.discovery.bundle.id.constraints.impl.KeyPartitioner
 
partition(Id) - Method in class io.appform.ranger.discovery.bundle.id.constraints.impl.MurmurBasedKeyPartitioner
 
PartitionValidator - Class in io.appform.ranger.discovery.bundle.id.constraints.impl
Checks if key is same partition as provided.
PartitionValidator(int, KeyPartitioner) - Constructor for class io.appform.ranger.discovery.bundle.id.constraints.impl.PartitionValidator
 
path(int) - Method in class io.appform.ranger.discovery.bundle.id.CuratorPathUtils
 
PATH_DELIMITER - Static variable in class io.appform.ranger.discovery.bundle.Constants
 
PortSchemeResolver<T extends io.dropwizard.Configuration> - Interface in io.appform.ranger.discovery.bundle.resolvers
NodeInfoResolver.java Interface to help build a portScheme basis the server Configuration

R

registerDomain(Domain) - Static method in class io.appform.ranger.discovery.bundle.id.IdGenerator
 
registerDomainSpecificConstraints(String, IdValidationConstraint...) - Static method in class io.appform.ranger.discovery.bundle.id.IdGenerator
 
registerDomainSpecificConstraints(String, List<IdValidationConstraint>) - Static method in class io.appform.ranger.discovery.bundle.id.IdGenerator
 
registerGlobalConstraints(IdValidationConstraint...) - Static method in class io.appform.ranger.discovery.bundle.id.IdGenerator
 
registerGlobalConstraints(List<IdValidationConstraint>) - Static method in class io.appform.ranger.discovery.bundle.id.IdGenerator
 
registerHealthcheck(Healthcheck) - Method in class io.appform.ranger.discovery.bundle.ServiceDiscoveryBundle
 
registerHealthchecks(List<Healthcheck>) - Method in class io.appform.ranger.discovery.bundle.ServiceDiscoveryBundle
 
resolve(A) - Method in interface io.appform.ranger.discovery.bundle.resolvers.CriteriaResolver
 
resolve(ServiceDiscoveryConfiguration) - Method in class io.appform.ranger.discovery.bundle.resolvers.DefaultNodeInfoResolver
 
resolve(T) - Method in class io.appform.ranger.discovery.bundle.resolvers.DefaultPortSchemeResolver
Returns a PortScheme basis the configuration.
resolveNonEmptyPublishedHost(String) - Static method in class io.appform.ranger.discovery.bundle.util.ConfigurationUtils
 
resolveZookeeperHosts(String) - Static method in class io.appform.ranger.discovery.bundle.util.ConfigurationUtils
 
RotationCheck - Class in io.appform.ranger.discovery.bundle.healthchecks
This allows the node to be taken offline in the cluster but still keep running
RotationCheck(RotationStatus) - Constructor for class io.appform.ranger.discovery.bundle.healthchecks.RotationCheck
 
RotationStatus - Class in io.appform.ranger.discovery.bundle.rotationstatus
Current rotation status
RotationStatus(boolean) - Constructor for class io.appform.ranger.discovery.bundle.rotationstatus.RotationStatus
 
run(T, Environment) - Method in class io.appform.ranger.discovery.bundle.ServiceDiscoveryBundle
 

S

ServiceDiscoveryBundle<T extends io.dropwizard.Configuration> - Class in io.appform.ranger.discovery.bundle
A dropwizard bundle for service discovery.
ServiceDiscoveryBundle() - Constructor for class io.appform.ranger.discovery.bundle.ServiceDiscoveryBundle
 
ServiceDiscoveryBundle(List<IdValidationConstraint>) - Constructor for class io.appform.ranger.discovery.bundle.ServiceDiscoveryBundle
 
ServiceDiscoveryConfiguration - Class in io.appform.ranger.discovery.bundle
Ranger configuration.
ServiceDiscoveryConfiguration(String, String, String, int, String, int, int, boolean, long, boolean, int, int, Set<String>) - Constructor for class io.appform.ranger.discovery.bundle.ServiceDiscoveryConfiguration
 
started() - Method in class io.appform.ranger.discovery.bundle.rotationstatus.DropwizardServerStatus
 
status() - Method in class io.appform.ranger.discovery.bundle.rotationstatus.RotationStatus
 

Z

ZOOKEEPER_HOST_DELIMITER - Static variable in class io.appform.ranger.discovery.bundle.Constants
 
A B C D E F G H I J K L M N O P R S Z 
All Classes and Interfaces|All Packages|Constant Field Values