Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- add(Service) - Method in class io.appform.ranger.core.finderhub.DynamicDataSource
- add(Service) - Method in interface io.appform.ranger.core.finderhub.ServiceDataSource
- addInlineMonitor(Monitor<HealthcheckStatus>) - Method in class io.appform.ranger.core.healthservice.ServiceHealthAggregator
-
this method can be used to add a
Monitorthis monitor will not be scheduled in a separate isolated thread, but instead its execution will happen inline, in a single thread, along with other inline monitors - addInlineMonitor(Monitor<T>) - Method in interface io.appform.ranger.core.healthservice.HealthService
-
Add a monitor which will be run in the same thread.
- addIsolatedMonitor(IsolatedHealthMonitor<HealthcheckStatus>) - Method in class io.appform.ranger.core.healthservice.ServiceHealthAggregator
-
this method can be used to add a
IsolatedHealthMonitorwhich 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 - addIsolatedMonitor(IsolatedHealthMonitor<T>) - Method in interface io.appform.ranger.core.healthservice.HealthService
-
Register a monitor to the service, to setup a continuous monitoring on the monitor this method can be used to add a
IsolatedHealthMonitorwhich 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 - additionalRefreshSignals - Variable in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- additionalRefreshSignals - Variable in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
B
- BaseServiceFinderBuilder<T,
R extends ServiceRegistry<T>, F extends ServiceFinder<T, R>, B extends BaseServiceFinderBuilder<T, R, F, B, D>, D extends Deserializer<T>> - Class in io.appform.ranger.core.finder - BaseServiceFinderBuilder() - Constructor for class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- BaseServiceProviderBuilder<T,
B extends BaseServiceProviderBuilder<T, B, S>, S extends Serializer<T>> - Class in io.appform.ranger.core.serviceprovider - BaseServiceProviderBuilder() - Constructor for class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- build() - Method in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- build() - Method in class io.appform.ranger.core.finderhub.ServiceFinderHubBuilder
- build() - Method in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- buildFinder() - Method in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- buildFinder(Service) - Method in interface io.appform.ranger.core.finderhub.ServiceFinderFactory
- buildFinder(Service) - Method in class io.appform.ranger.core.finderhub.ServiceFinderHub
- buildFinder(Service, ShardSelector<T, ListBasedServiceRegistry<T>>, ServiceNodeSelector<T>) - Method in class io.appform.ranger.core.finder.SimpleUnshardedServiceFinderBuilder
- buildFinder(Service, ShardSelector<T, MapBasedServiceRegistry<T>>, ServiceNodeSelector<T>) - Method in class io.appform.ranger.core.finder.SimpleShardedServiceFinderBuilder
- buildFinder(Service, ShardSelector<T, R>, ServiceNodeSelector<T>) - Method in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- buildProvider() - Method in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
C
- check() - Method in interface io.appform.ranger.core.healthcheck.Healthcheck
-
return healthy/unhealthy status of the service
- check() - Method in class io.appform.ranger.core.healthservice.ServiceHealthAggregator
- checkForUpdate(T) - Method in class io.appform.ranger.core.finder.serviceregistry.ServiceRegistryUpdater
- checkInRollingWindow(HealthcheckStatus) - Method in class io.appform.ranger.core.healthservice.monitor.RollingWindowHealthQueue
-
dequeues the latest incoming status, enqueues the latest health status updates the failure counts accordingly
- CountMonitor - Class in io.appform.ranger.core.healthservice.monitor.sample
-
A monitor that can be used as a counting monitor to check if any countable entity breaches a threashhold Eg: 1.
- CountMonitor(String, CountMonitor.CheckSign, Integer, TimeEntity) - Constructor for class io.appform.ranger.core.healthservice.monitor.sample.CountMonitor
- CountMonitor.CheckSign - Enum Class in io.appform.ranger.core.healthservice.monitor.sample
D
- dataSink(Service) - Method in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- dataSource(Service) - Method in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- defaultHealthyCheck() - Static method in class io.appform.ranger.core.healthcheck.Healthchecks
- defaultHealthyMonitor() - Static method in class io.appform.ranger.core.healthservice.monitor.Monitors
- deserializer - Variable in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- Deserializer<T> - Interface in io.appform.ranger.core.model
- disable() - Method in class io.appform.ranger.core.healthservice.monitor.IsolatedHealthMonitor
-
disable the monitor, and dont use this monitor to track the aggregated health of the system monitor is enabled by default
- disablePushUpdaters - Variable in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- DiskSpaceMonitor - Class in io.appform.ranger.core.healthservice.monitor.sample
-
A simple monitor to keep track of the disk space in a partition
- DiskSpaceMonitor(String, Integer, TimeEntity) - Constructor for class io.appform.ranger.core.healthservice.monitor.sample.DiskSpaceMonitor
- DiskSpaceMonitor(String, String, Integer, TimeEntity) - Constructor for class io.appform.ranger.core.healthservice.monitor.sample.DiskSpaceMonitor
- DynamicDataSource - Class in io.appform.ranger.core.finderhub
- DynamicDataSource(Collection<Service>) - Constructor for class io.appform.ranger.core.finderhub.DynamicDataSource
E
- enable() - Method in class io.appform.ranger.core.healthservice.monitor.IsolatedHealthMonitor
-
enable the monitor, and consider it while aggregating the health of the system monitor is enabled by default
- ensureConnected() - Method in interface io.appform.ranger.core.model.NodeDataStoreConnector
- everyDay() - Static method in class io.appform.ranger.core.healthservice.TimeEntity
- everyHour() - Static method in class io.appform.ranger.core.healthservice.TimeEntity
- everyMinute() - Static method in class io.appform.ranger.core.healthservice.TimeEntity
- everySecond() - Static method in class io.appform.ranger.core.healthservice.TimeEntity
- Exceptions - Class in io.appform.ranger.core.util
- Exceptions() - Constructor for class io.appform.ranger.core.util.Exceptions
- ExternalTriggeredSignal<T> - Class in io.appform.ranger.core.signals
- ExternalTriggeredSignal(Supplier<T>, List<Consumer<T>>) - Constructor for class io.appform.ranger.core.signals.ExternalTriggeredSignal
F
- fileExistenceCheck(String) - Static method in class io.appform.ranger.core.healthcheck.Healthchecks
- fileExistenceCheckMonitor(String) - Static method in class io.appform.ranger.core.healthservice.monitor.Monitors
- filterValidNodes(Service, Collection<ServiceNode<T>>, long) - Static method in class io.appform.ranger.core.util.FinderUtils
- finder(Service) - Method in class io.appform.ranger.core.finderhub.ServiceFinderHub
- FinderUtils - Class in io.appform.ranger.core.util
- FinderUtils() - Constructor for class io.appform.ranger.core.util.FinderUtils
G
- get() - Method in class io.appform.ranger.core.healthcheck.HealthChecker
- get(Predicate<T>) - Method in class io.appform.ranger.core.finder.ServiceFinder
- get(Predicate<T>, ShardSelector<T, R>) - Method in class io.appform.ranger.core.finder.ServiceFinder
- get(Predicate<T>, ShardSelector<T, R>, ServiceNodeSelector<T>) - Method in class io.appform.ranger.core.finder.ServiceFinder
- getAll(Predicate<T>) - Method in class io.appform.ranger.core.finder.ServiceFinder
- getAll(Predicate<T>, ShardSelector<T, R>) - Method in class io.appform.ranger.core.finder.ServiceFinder
- getCount() - Method in class io.appform.ranger.core.healthservice.monitor.sample.CountMonitor
- getCount() - Method in class io.appform.ranger.core.healthservice.monitor.sample.DiskSpaceMonitor
- getHealthStatus() - Method in class io.appform.ranger.core.healthservice.monitor.IsolatedHealthMonitor
- getInitialDelay() - Method in class io.appform.ranger.core.healthservice.TimeEntity
- getServiceHealth() - Method in interface io.appform.ranger.core.healthservice.HealthService
-
aggregate all registered (enabled) monitors, collect individual monitor healths, and aggregate them accordingly
- getServiceHealth() - Method in class io.appform.ranger.core.healthservice.ServiceHealthAggregator
-
aggregate all registered (enabled) monitors, collect individual monitor healths, and aggregate them accordingly
- getTimeInterval() - Method in class io.appform.ranger.core.healthservice.TimeEntity
- getTimeUnit() - Method in class io.appform.ranger.core.healthservice.TimeEntity
- GREATER_THAN - Enum constant in enum class io.appform.ranger.core.healthservice.monitor.sample.CountMonitor.CheckSign
- GREATER_THAN_EQUALTO - Enum constant in enum class io.appform.ranger.core.healthservice.monitor.sample.CountMonitor.CheckSign
H
- hasValidUpdatedTime(Date) - Method in class io.appform.ranger.core.healthservice.monitor.IsolatedHealthMonitor
- Healthcheck - Interface in io.appform.ranger.core.healthcheck
-
An interface used to check the health of the service
- HealthChecker - Class in io.appform.ranger.core.healthcheck
-
A Runnable which maintains the health state of the ServiceProvider
- HealthChecker(List<Healthcheck>, int) - Constructor for class io.appform.ranger.core.healthcheck.HealthChecker
- HealthcheckResult - Class in io.appform.ranger.core.healthcheck
- HealthcheckResult() - Constructor for class io.appform.ranger.core.healthcheck.HealthcheckResult
- healthchecks - Variable in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- Healthchecks - Class in io.appform.ranger.core.healthcheck
- Healthchecks() - Constructor for class io.appform.ranger.core.healthcheck.Healthchecks
- HealthcheckStatus - Enum Class in io.appform.ranger.core.healthcheck
- healthcheckZombieCheckThresholdTime(Service) - Method in interface io.appform.ranger.core.model.NodeDataSource
- HealthService<T> - Interface in io.appform.ranger.core.healthservice
-
An interface which can be used to track the health of any service You can add a set of monitors, and a general health will be tracked by
- healthUpdateIntervalMs - Variable in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- healthy - Enum constant in enum class io.appform.ranger.core.healthcheck.HealthcheckStatus
- hostname - Variable in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- HTTP - Static variable in class io.appform.ranger.core.model.PortSchemes
- HTTPS - Static variable in class io.appform.ranger.core.model.PortSchemes
I
- illegalState(String) - Static method in class io.appform.ranger.core.util.Exceptions
- illegalState(String, Throwable) - Static method in class io.appform.ranger.core.util.Exceptions
- illegalState(Throwable) - Static method in class io.appform.ranger.core.util.Exceptions
- implementationSpecificRefreshSignals(Service, NodeDataSource<T, D>) - Method in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- io.appform.ranger.core.finder - package io.appform.ranger.core.finder
- io.appform.ranger.core.finder.nodeselector - package io.appform.ranger.core.finder.nodeselector
- io.appform.ranger.core.finder.serviceregistry - package io.appform.ranger.core.finder.serviceregistry
- io.appform.ranger.core.finder.serviceregistry.signal - package io.appform.ranger.core.finder.serviceregistry.signal
- io.appform.ranger.core.finder.shardselector - package io.appform.ranger.core.finder.shardselector
- io.appform.ranger.core.finderhub - package io.appform.ranger.core.finderhub
- io.appform.ranger.core.healthcheck - package io.appform.ranger.core.healthcheck
- io.appform.ranger.core.healthservice - package io.appform.ranger.core.healthservice
- io.appform.ranger.core.healthservice.monitor - package io.appform.ranger.core.healthservice.monitor
- io.appform.ranger.core.healthservice.monitor.sample - package io.appform.ranger.core.healthservice.monitor.sample
- io.appform.ranger.core.model - package io.appform.ranger.core.model
- io.appform.ranger.core.serviceprovider - package io.appform.ranger.core.serviceprovider
- io.appform.ranger.core.signals - package io.appform.ranger.core.signals
- io.appform.ranger.core.util - package io.appform.ranger.core.util
- isActive() - Method in interface io.appform.ranger.core.model.NodeDataStoreConnector
- isDisabled() - Method in class io.appform.ranger.core.healthservice.monitor.IsolatedHealthMonitor
- isDisabled() - Method in interface io.appform.ranger.core.healthservice.monitor.Monitor
- IsolatedHealthMonitor<T> - Class in io.appform.ranger.core.healthservice.monitor
- IsolatedHealthMonitor(String, TimeEntity) - Constructor for class io.appform.ranger.core.healthservice.monitor.IsolatedHealthMonitor
- IsolatedHealthMonitor(String, TimeEntity, long) - Constructor for class io.appform.ranger.core.healthservice.monitor.IsolatedHealthMonitor
- isRefreshed() - Method in class io.appform.ranger.core.model.ServiceRegistry
- isValidNode(Service, long, ServiceNode<T>) - Static method in class io.appform.ranger.core.util.FinderUtils
L
- LESSER_THAN - Enum constant in enum class io.appform.ranger.core.healthservice.monitor.sample.CountMonitor.CheckSign
- LESSER_THAN_EQUALTO - Enum constant in enum class io.appform.ranger.core.healthservice.monitor.sample.CountMonitor.CheckSign
- ListBasedServiceRegistry<T> - Class in io.appform.ranger.core.finder.serviceregistry
- ListBasedServiceRegistry(Service) - Constructor for class io.appform.ranger.core.finder.serviceregistry.ListBasedServiceRegistry
- ListShardSelector<T> - Class in io.appform.ranger.core.finder.shardselector
- ListShardSelector() - Constructor for class io.appform.ranger.core.finder.shardselector.ListShardSelector
M
- MapBasedServiceRegistry<T> - Class in io.appform.ranger.core.finder.serviceregistry
- MapBasedServiceRegistry(Service) - Constructor for class io.appform.ranger.core.finder.serviceregistry.MapBasedServiceRegistry
- MatchingShardSelector<T> - Class in io.appform.ranger.core.finder.shardselector
- MatchingShardSelector() - Constructor for class io.appform.ranger.core.finder.shardselector.MatchingShardSelector
- monitor() - Method in interface io.appform.ranger.core.healthservice.monitor.Monitor
-
trigger a single check of the monitor service
- monitor() - Method in class io.appform.ranger.core.healthservice.monitor.sample.CountMonitor
- monitor() - Method in class io.appform.ranger.core.healthservice.monitor.sample.PingCheckMonitor
- monitor() - Method in class io.appform.ranger.core.healthservice.monitor.sample.RotationStatusMonitor
-
checks if the rotation file exists or not
- Monitor<T> - Interface in io.appform.ranger.core.healthservice.monitor
-
An generic interface to monitor any entity
- Monitors - Class in io.appform.ranger.core.healthservice.monitor
-
Helper for creating instances of
Monitor
N
- name - Variable in class io.appform.ranger.core.healthservice.monitor.IsolatedHealthMonitor
- name() - Method in class io.appform.ranger.core.model.Service
- namespace - Variable in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- namespace - Variable in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- nodeData - Variable in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- NodeDataSink<T,
S extends Serializer<T>> - Interface in io.appform.ranger.core.model - nodeDataSource - Variable in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- NodeDataSource<T,
D extends Deserializer<T>> - Interface in io.appform.ranger.core.model - NodeDataStoreConnector<T> - Interface in io.appform.ranger.core.model
- nodeList() - Method in class io.appform.ranger.core.finder.serviceregistry.ListBasedServiceRegistry
- nodeList() - Method in class io.appform.ranger.core.finder.serviceregistry.MapBasedServiceRegistry
- nodeList() - Method in class io.appform.ranger.core.model.ServiceRegistry
- nodeRefreshIntervalMs - Variable in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- nodes() - Method in class io.appform.ranger.core.finder.serviceregistry.MapBasedServiceRegistry
- nodes(Predicate<T>, ListBasedServiceRegistry<T>) - Method in class io.appform.ranger.core.finder.shardselector.ListShardSelector
- nodes(Predicate<T>, ListBasedServiceRegistry<T>) - Method in class io.appform.ranger.core.finder.shardselector.NoopShardSelector
- nodes(Predicate<T>, MapBasedServiceRegistry<T>) - Method in class io.appform.ranger.core.finder.shardselector.MatchingShardSelector
- nodes(Predicate<T>, R) - Method in interface io.appform.ranger.core.model.ShardSelector
- nodeSelector - Variable in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- NoopShardSelector<T> - Class in io.appform.ranger.core.finder.shardselector
- NoopShardSelector() - Constructor for class io.appform.ranger.core.finder.shardselector.NoopShardSelector
O
- ObjectUtils - Class in io.appform.ranger.core.util
-
Utility calss .
- ObjectUtils() - Constructor for class io.appform.ranger.core.util.ObjectUtils
- onSignalReceived() - Method in class io.appform.ranger.core.signals.Signal
P
- PingCheckMonitor - Class in io.appform.ranger.core.healthservice.monitor.sample
-
A Ping checking monitor, which executes a
HttpRequestat regular intervals Maintains every healthcheck in aRollingWindowHealthQueueto prevent continuous flaps of health - PingCheckMonitor(TimeEntity, HttpRequest, Integer, Integer, Integer, String, Integer) - Constructor for class io.appform.ranger.core.healthservice.monitor.sample.PingCheckMonitor
- port - Variable in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- portScheme - Variable in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- PortSchemes - Class in io.appform.ranger.core.model
- PortSchemes() - Constructor for class io.appform.ranger.core.model.PortSchemes
- postBuild(ServiceFinderHub<T, R>) - Method in class io.appform.ranger.core.finderhub.ServiceFinderHubBuilder
- preBuild() - Method in class io.appform.ranger.core.finderhub.ServiceFinderHubBuilder
R
- RandomServiceNodeSelector<T> - Class in io.appform.ranger.core.finder.nodeselector
- RandomServiceNodeSelector() - Constructor for class io.appform.ranger.core.finder.nodeselector.RandomServiceNodeSelector
- refresh(D) - Method in interface io.appform.ranger.core.model.NodeDataSource
- registerConsumer(Consumer<T>) - Method in class io.appform.ranger.core.signals.Signal
- registerConsumers(List<Consumer<T>>) - Method in class io.appform.ranger.core.signals.Signal
- registerUpdateSignal(Signal<Void>) - Method in class io.appform.ranger.core.finderhub.ServiceFinderHub
- representation() - Method in class io.appform.ranger.core.model.ServiceNode
- requireNonNullElse(T, T) - Method in class io.appform.ranger.core.util.ObjectUtils
- RollingWindowHealthQueue - Class in io.appform.ranger.core.healthservice.monitor
-
This class may be used to keep track of health in a rolling window Maintains a queue of
HealthcheckStatuss of sizerollingWindowSize - RollingWindowHealthQueue(Integer, Integer) - Constructor for class io.appform.ranger.core.healthservice.monitor.RollingWindowHealthQueue
- RotationStatusMonitor - Class in io.appform.ranger.core.healthservice.monitor.sample
-
This is a simple service in/out rotation check monitor Initialize this class with a filePath (location of the file) This monitor then: Marks service as unhealthy when the file does not exist Marks service as healthy when the file exists
- RotationStatusMonitor(TimeEntity, long, String) - Constructor for class io.appform.ranger.core.healthservice.monitor.sample.RotationStatusMonitor
- RotationStatusMonitor(TimeEntity, String) - Constructor for class io.appform.ranger.core.healthservice.monitor.sample.RotationStatusMonitor
- RotationStatusMonitor(String) - Constructor for class io.appform.ranger.core.healthservice.monitor.sample.RotationStatusMonitor
- RoundRobinServiceNodeSelector<T> - Class in io.appform.ranger.core.finder.nodeselector
- RoundRobinServiceNodeSelector() - Constructor for class io.appform.ranger.core.finder.nodeselector.RoundRobinServiceNodeSelector
- run() - Method in class io.appform.ranger.core.healthservice.monitor.IsolatedHealthMonitor
-
updates the healthStatus with the latest value from the monitor check also updates the
lastStatusUpdateTime
S
- ScheduledRegistryUpdateSignal<T> - Class in io.appform.ranger.core.finder.serviceregistry.signal
- ScheduledRegistryUpdateSignal(Service, long) - Constructor for class io.appform.ranger.core.finder.serviceregistry.signal.ScheduledRegistryUpdateSignal
- ScheduledSignal<T> - Class in io.appform.ranger.core.signals
- ScheduledSignal(Service, Supplier<T>, List<Consumer<T>>, long) - Constructor for class io.appform.ranger.core.signals.ScheduledSignal
- ScheduledSignal(String, Supplier<T>, List<Consumer<T>>, long) - Constructor for class io.appform.ranger.core.signals.ScheduledSignal
- select(List<ServiceNode<T>>) - Method in class io.appform.ranger.core.finder.nodeselector.RandomServiceNodeSelector
- select(List<ServiceNode<T>>) - Method in class io.appform.ranger.core.finder.nodeselector.RoundRobinServiceNodeSelector
- select(List<ServiceNode<T>>) - Method in interface io.appform.ranger.core.model.ServiceNodeSelector
- serializer - Variable in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- Serializer<T> - Interface in io.appform.ranger.core.model
- Service - Class in io.appform.ranger.core.model
- Service() - Constructor for class io.appform.ranger.core.model.Service
- ServiceDataSource - Interface in io.appform.ranger.core.finderhub
- ServiceFinder<T,
R extends ServiceRegistry<T>> - Class in io.appform.ranger.core.finder - ServiceFinder(R, ShardSelector<T, R>, ServiceNodeSelector<T>) - Constructor for class io.appform.ranger.core.finder.ServiceFinder
- ServiceFinderFactory<T,
R extends ServiceRegistry<T>> - Interface in io.appform.ranger.core.finderhub - ServiceFinderHub<T,
R extends ServiceRegistry<T>> - Class in io.appform.ranger.core.finderhub - ServiceFinderHub(ServiceDataSource, ServiceFinderFactory<T, R>) - Constructor for class io.appform.ranger.core.finderhub.ServiceFinderHub
- ServiceFinderHubBuilder<T,
R extends ServiceRegistry<T>> - Class in io.appform.ranger.core.finderhub - ServiceFinderHubBuilder() - Constructor for class io.appform.ranger.core.finderhub.ServiceFinderHubBuilder
- ServiceHealthAggregator - Class in io.appform.ranger.core.healthservice
-
This is a simple
HealthServiceimplementation, which can be used to register a set ofIsolatedHealthMonitors and get an aggregated health of the service. - ServiceHealthAggregator() - Constructor for class io.appform.ranger.core.healthservice.ServiceHealthAggregator
- serviceName - Variable in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- serviceName - Variable in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- ServiceNode<T> - Class in io.appform.ranger.core.model
- ServiceNode() - Constructor for class io.appform.ranger.core.model.ServiceNode
- ServiceNodeSelector<T> - Interface in io.appform.ranger.core.model
- ServiceProvider<T,
S extends Serializer<T>> - Class in io.appform.ranger.core.serviceprovider - ServiceProvider(Service, ServiceNode<T>, S, NodeDataSink<T, S>, List<Signal<HealthcheckResult>>) - Constructor for class io.appform.ranger.core.serviceprovider.ServiceProvider
- ServiceRegistry<T> - Class in io.appform.ranger.core.model
- ServiceRegistry(Service) - Constructor for class io.appform.ranger.core.model.ServiceRegistry
- ServiceRegistryUpdater<T,
D extends Deserializer<T>> - Class in io.appform.ranger.core.finder.serviceregistry - ServiceRegistryUpdater(ServiceRegistry<T>, NodeDataSource<T, D>, List<Signal<T>>, D) - Constructor for class io.appform.ranger.core.finder.serviceregistry.ServiceRegistryUpdater
- services() - Method in class io.appform.ranger.core.finderhub.DynamicDataSource
- services() - Method in interface io.appform.ranger.core.finderhub.ServiceDataSource
- services() - Method in class io.appform.ranger.core.finderhub.StaticDataSource
- setInitialDelay(long) - Method in class io.appform.ranger.core.healthservice.TimeEntity
- setTimeInterval(long) - Method in class io.appform.ranger.core.healthservice.TimeEntity
- setTimeUnit(TimeUnit) - Method in class io.appform.ranger.core.healthservice.TimeEntity
- shardSelector - Variable in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- ShardSelector<T,
R extends ServiceRegistry<T>> - Interface in io.appform.ranger.core.model - Signal<T> - Class in io.appform.ranger.core.signals
- Signal(Supplier<T>, List<Consumer<T>>) - Constructor for class io.appform.ranger.core.signals.Signal
- SimpleShardedServiceFinder<T> - Class in io.appform.ranger.core.finder
- SimpleShardedServiceFinder(MapBasedServiceRegistry<T>, ShardSelector<T, MapBasedServiceRegistry<T>>, ServiceNodeSelector<T>) - Constructor for class io.appform.ranger.core.finder.SimpleShardedServiceFinder
- SimpleShardedServiceFinderBuilder<T,
B extends SimpleShardedServiceFinderBuilder<T, B, D>, D extends Deserializer<T>> - Class in io.appform.ranger.core.finder - SimpleShardedServiceFinderBuilder() - Constructor for class io.appform.ranger.core.finder.SimpleShardedServiceFinderBuilder
- SimpleUnshardedServiceFinder<T> - Class in io.appform.ranger.core.finder
- SimpleUnshardedServiceFinder(ListBasedServiceRegistry<T>, ShardSelector<T, ListBasedServiceRegistry<T>>, ServiceNodeSelector<T>) - Constructor for class io.appform.ranger.core.finder.SimpleUnshardedServiceFinder
- SimpleUnshardedServiceFinderBuilder<T,
B extends SimpleUnshardedServiceFinderBuilder<T, B, D>, D extends Deserializer<T>> - Class in io.appform.ranger.core.finder - SimpleUnshardedServiceFinderBuilder() - Constructor for class io.appform.ranger.core.finder.SimpleUnshardedServiceFinderBuilder
- staleUpdateThresholdMs - Variable in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- start() - Method in class io.appform.ranger.core.finder.ServiceFinder
- start() - Method in class io.appform.ranger.core.finder.serviceregistry.ServiceRegistryUpdater
- start() - Method in class io.appform.ranger.core.finderhub.DynamicDataSource
- start() - Method in interface io.appform.ranger.core.finderhub.ServiceDataSource
- start() - Method in class io.appform.ranger.core.finderhub.ServiceFinderHub
- start() - Method in class io.appform.ranger.core.finderhub.StaticDataSource
- start() - Method in interface io.appform.ranger.core.healthservice.HealthService
-
Start monitoring all registered monitors.
- start() - Method in class io.appform.ranger.core.healthservice.ServiceHealthAggregator
-
start monitoring all registered monitors (triggers a scheduled execution of all registered monitors) and saves their futures for later reference)
- start() - Method in interface io.appform.ranger.core.model.NodeDataStoreConnector
- start() - Method in class io.appform.ranger.core.serviceprovider.ServiceProvider
- start() - Method in class io.appform.ranger.core.signals.ExternalTriggeredSignal
- start() - Method in class io.appform.ranger.core.signals.ScheduledSignal
- start() - Method in class io.appform.ranger.core.signals.Signal
- startSignalHandlers - Variable in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- startSignalHandlers - Variable in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- StaticDataSource - Class in io.appform.ranger.core.finderhub
- StaticDataSource() - Constructor for class io.appform.ranger.core.finderhub.StaticDataSource
- stop() - Method in class io.appform.ranger.core.finder.ServiceFinder
- stop() - Method in class io.appform.ranger.core.finder.serviceregistry.ServiceRegistryUpdater
- stop() - Method in class io.appform.ranger.core.finderhub.DynamicDataSource
- stop() - Method in interface io.appform.ranger.core.finderhub.ServiceDataSource
- stop() - Method in class io.appform.ranger.core.finderhub.ServiceFinderHub
- stop() - Method in class io.appform.ranger.core.finderhub.StaticDataSource
- stop() - Method in interface io.appform.ranger.core.healthservice.HealthService
-
Stop the health service, and stop tracking all monitors
- stop() - Method in class io.appform.ranger.core.healthservice.ServiceHealthAggregator
-
stop all running monitors
- stop() - Method in interface io.appform.ranger.core.model.NodeDataStoreConnector
- stop() - Method in class io.appform.ranger.core.serviceprovider.ServiceProvider
- stop() - Method in class io.appform.ranger.core.signals.ExternalTriggeredSignal
- stop() - Method in class io.appform.ranger.core.signals.ScheduledSignal
- stop() - Method in class io.appform.ranger.core.signals.Signal
- stopSignalHandlers - Variable in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- stopSignalHandlers - Variable in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
T
- TCP - Static variable in class io.appform.ranger.core.model.PortSchemes
- TimeEntity - Class in io.appform.ranger.core.healthservice
-
A simple time unit wrapper for any task, with initialDelay, interval and unit
- TimeEntity(long, long, TimeUnit) - Constructor for class io.appform.ranger.core.healthservice.TimeEntity
- TimeEntity(long, TimeUnit) - Constructor for class io.appform.ranger.core.healthservice.TimeEntity
-
defaults initial delay to 0 timeunits
- toString() - Method in class io.appform.ranger.core.healthservice.TimeEntity
- toString() - Method in class io.appform.ranger.core.model.Service
- trigger() - Method in class io.appform.ranger.core.signals.ExternalTriggeredSignal
U
- unhealthy - Enum constant in enum class io.appform.ranger.core.healthcheck.HealthcheckStatus
- update(List<ServiceNode<T>>) - Method in class io.appform.ranger.core.finder.serviceregistry.ListBasedServiceRegistry
- update(List<ServiceNode<T>>) - Method in class io.appform.ranger.core.finder.serviceregistry.MapBasedServiceRegistry
- update(List<ServiceNode<T>>) - Method in class io.appform.ranger.core.model.ServiceRegistry
- updateAvailable() - Method in class io.appform.ranger.core.finderhub.ServiceFinderHub
- updateNodes(List<ServiceNode<T>>) - Method in class io.appform.ranger.core.model.ServiceRegistry
- updateState(S, ServiceNode<T>) - Method in interface io.appform.ranger.core.model.NodeDataSink
V
- valueOf(String) - Static method in enum class io.appform.ranger.core.healthcheck.HealthcheckStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.appform.ranger.core.healthservice.monitor.sample.CountMonitor.CheckSign
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.appform.ranger.core.healthcheck.HealthcheckStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.appform.ranger.core.healthservice.monitor.sample.CountMonitor.CheckSign
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withAdditionalRefreshSignal(Signal<HealthcheckResult>) - Method in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- withAdditionalRefreshSignals(List<Signal<HealthcheckResult>>) - Method in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- withAdditionalSignalGenerator(Signal<T>) - Method in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- withAdditionalSignalGenerators(Signal<T>...) - Method in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- withAdditionalSignalGenerators(List<Signal<T>>) - Method in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- withDeserializer(D) - Method in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- withDisableWatchers() - Method in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- withDisableWatchers(boolean) - Method in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- withExtraRefreshSignal(Signal<Void>) - Method in class io.appform.ranger.core.finderhub.ServiceFinderHubBuilder
- withExtraStartSignalConsumer(Consumer<Void>) - Method in class io.appform.ranger.core.finderhub.ServiceFinderHubBuilder
- withExtraStopSignalConsumer(Consumer<Void>) - Method in class io.appform.ranger.core.finderhub.ServiceFinderHubBuilder
- withHealthcheck(Healthcheck) - Method in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- withHealthUpdateIntervalMs(int) - Method in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- withHostname(String) - Method in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- withIsolatedHealthMonitor(IsolatedHealthMonitor<HealthcheckStatus>) - Method in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
-
Register a monitor to the service, to set up a continuous monitoring on the monitor this method can be used to add a
IsolatedHealthMonitorwhich 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 - withNamespace(String) - Method in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- withNamespace(String) - Method in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- withNodeData(T) - Method in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- withNodeDataSource(NodeDataSink<T, S>) - Method in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- withNodeRefreshIntervalMs(int) - Method in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- withNodeSelector(ServiceNodeSelector<T>) - Method in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- withPort(int) - Method in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- withPortScheme(String) - Method in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- withRefreshFrequencyMs(long) - Method in class io.appform.ranger.core.finderhub.ServiceFinderHubBuilder
- withSerializer(S) - Method in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- withServiceDataSource(ServiceDataSource) - Method in class io.appform.ranger.core.finderhub.ServiceFinderHubBuilder
- withServiceFinderFactory(ServiceFinderFactory<T, R>) - Method in class io.appform.ranger.core.finderhub.ServiceFinderHubBuilder
- withServiceName(String) - Method in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- withServiceName(String) - Method in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- withShardSelector(ShardSelector<T, R>) - Method in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- withStaleUpdateThresholdMs(int) - Method in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- withStartSignalHandler(Consumer<Void>) - Method in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- withStartSignalHandler(Consumer<Void>) - Method in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- withStartSignalHandlers(List<Consumer<Void>>) - Method in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- withStartSignalHandlers(List<Consumer<Void>>) - Method in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- withStopSignalHandler(Consumer<Void>) - Method in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- withStopSignalHandler(Consumer<Void>) - Method in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
- withStopSignalHandlers(List<Consumer<Void>>) - Method in class io.appform.ranger.core.finder.BaseServiceFinderBuilder
- withStopSignalHandlers(List<Consumer<Void>>) - Method in class io.appform.ranger.core.serviceprovider.BaseServiceProviderBuilder
All Classes and Interfaces|All Packages|Constant Field Values