A B C D E F G H I K L M P R S U

A

Application - Annotation Type in com.netflix.karyon.spi
An annotation specifying that the containing class is an application which holds the basic functioning of the module.
ApplicationFinder - Class in com.netflix.karyon.finder
Discovers all the classes that are annotated with Application.
ApplicationFinder(ClasspathScanner) - Constructor for class com.netflix.karyon.finder.ApplicationFinder
 
AsyncHealthCheckInvocationStrategy - Class in com.netflix.karyon.server.eureka
An implementation of HealthCheckInvocationStrategy that calls the underlying HealthCheckHandler asynchronously.
AsyncHealthCheckInvocationStrategy(HealthCheckHandler) - Constructor for class com.netflix.karyon.server.eureka.AsyncHealthCheckInvocationStrategy
 

B

beforeInjectorCreation(LifecycleInjectorBuilder) - Method in class com.netflix.karyon.server.ServerBootstrap
A callback before creating the Injector from LifecycleInjectorBuilder provided by this class to KaryonServer.

C

close() - Method in class com.netflix.karyon.server.KaryonServer
Stops the karyon server by stopping Governator and ServerInitializer.close().
close() - Method in class com.netflix.karyon.server.lifecycle.ServerInitializer
Marks the application as down in eureka.
com.netflix.karyon.finder - package com.netflix.karyon.finder
 
com.netflix.karyon.server - package com.netflix.karyon.server
 
com.netflix.karyon.server.eureka - package com.netflix.karyon.server.eureka
 
com.netflix.karyon.server.lifecycle - package com.netflix.karyon.server.lifecycle
 
com.netflix.karyon.server.utils - package com.netflix.karyon.server.utils
 
com.netflix.karyon.spi - package com.netflix.karyon.spi
 
Component - Annotation Type in com.netflix.karyon.spi
Annotations to indicate that a class is a component.
COMPONENT_DISABLE_PROP_PEFIX - Static variable in class com.netflix.karyon.spi.PropertyNames
Prefix for disabling a particular component.
ComponentFinder - Class in com.netflix.karyon.finder
Discovers all the classes that are annotated with Component.
ComponentFinder(ClasspathScanner) - Constructor for class com.netflix.karyon.finder.ComponentFinder
 
configureBinder(Binder) - Method in class com.netflix.karyon.server.ServerBootstrap
Callback to configure Binder before returning from Module.configure(Binder).
configureBootstrapBinder(BootstrapBinder) - Method in class com.netflix.karyon.server.ServerBootstrap
Callback to configure BootstrapBinder before returning from BootstrapModule.configure(com.netflix.governator.guice.BootstrapBinder).

D

DISABLE_APPLICATION_DISCOVERY_PROP_NAME - Static variable in class com.netflix.karyon.spi.PropertyNames
Set this to true if you want to disable application discovery.
DISABLE_EUREKA_INTEGRATION - Static variable in class com.netflix.karyon.spi.PropertyNames
Set this to true to disable integration with eureka.

E

EUREKA_COMPONENT_NAME - Static variable in class com.netflix.karyon.spi.PropertyNames
 
EUREKA_DATACENTER_TYPE_PROP_NAME - Static variable in class com.netflix.karyon.spi.PropertyNames
Datacenter type for eureka.
EUREKA_PROPERTIES_NAME_PREFIX_PROP_NAME - Static variable in class com.netflix.karyon.spi.PropertyNames
Prefix for all eureka related properties.
EurekaHandler - Class in com.netflix.karyon.server.eureka
A handler for integrating with Eureka.
EurekaHandler(EurekaHealthCheckCallback, HealthCheckInvocationStrategy) - Constructor for class com.netflix.karyon.server.eureka.EurekaHandler
 
EurekaHealthCheckCallback - Class in com.netflix.karyon.server.eureka
 
EurekaHealthCheckCallback(HealthCheckInvocationStrategy) - Constructor for class com.netflix.karyon.server.eureka.EurekaHealthCheckCallback
 
EXPLICIT_APPLICATION_CLASS_PROP_NAME - Static variable in class com.netflix.karyon.spi.PropertyNames
A fully qualified classname of the application class.
EXPLICIT_COMPONENT_CLASSES_PROP_NAME - Static variable in class com.netflix.karyon.spi.PropertyNames
Sets this to a comma separated list of fully qualified component class names if you need to explicitly specify component classes.

F

findApplication() - Method in class com.netflix.karyon.finder.ApplicationFinder
 
findComponents() - Method in class com.netflix.karyon.finder.ComponentFinder
 

G

getBasePackages() - Method in class com.netflix.karyon.server.ServerBootstrap
Specify the base packages to be added for governator classpath scanning.
getConfigurationProvider() - Method in class com.netflix.karyon.server.ServerBootstrap
Returns the ConfigurationProvider to be used by governator.
getHandler() - Method in class com.netflix.karyon.server.eureka.AsyncHealthCheckInvocationStrategy
 
getHandler() - Method in interface com.netflix.karyon.server.eureka.HealthCheckInvocationStrategy
Returns the instance of HealthCheckHandler associated with this strategy.
getHandler() - Method in class com.netflix.karyon.server.eureka.SyncHealthCheckInvocationStrategy
 
getStatus() - Method in interface com.netflix.karyon.spi.HealthCheckHandler
Checks the health of the application and returns a status code, which can be directly consumed as a HTTP status code.

H

HEALTH_CHECK_HANDLER_CLASS_PROP_NAME - Static variable in class com.netflix.karyon.spi.PropertyNames
Fully qualified classname for the karyon health check handler.
HEALTH_CHECK_STRATEGY - Static variable in class com.netflix.karyon.spi.PropertyNames
Fully qualified classname of the health check invocation strategy.
HEALTH_CHECK_TIMEOUT_DEFAULT_MILLIS - Static variable in class com.netflix.karyon.spi.PropertyNames
Default value of PropertyNames.HEALTH_CHECK_TIMEOUT_MILLIS
HEALTH_CHECK_TIMEOUT_MILLIS - Static variable in class com.netflix.karyon.spi.PropertyNames
Health check timeout in milliseconds.
HealthCheckHandler - Interface in com.netflix.karyon.spi
This is an extension to the callback handler in eureka to provide a more flexible health check response (an HTTP status code) as a healthcheck request.
HealthCheckInvocationStrategy - Interface in com.netflix.karyon.server.eureka
A strategy to make application specific healthchecks.

I

initialize() - Method in class com.netflix.karyon.server.KaryonServer
Bootstraps karyon by using ServerBootstrap by default.
initialize(Injector) - Method in class com.netflix.karyon.server.lifecycle.ServerInitializer
Initializes karyon which is to instantiate applications and components defined in the classpath.
invokeCheck() - Method in class com.netflix.karyon.server.eureka.AsyncHealthCheckInvocationStrategy
 
invokeCheck() - Method in interface com.netflix.karyon.server.eureka.HealthCheckInvocationStrategy
Invokes the handler associated with this strategy and returns the response.
invokeCheck() - Method in class com.netflix.karyon.server.eureka.SyncHealthCheckInvocationStrategy
 
isCoreComponentEnabled(String) - Static method in class com.netflix.karyon.server.utils.KaryonUtils
Karyon provides a few core components like eureka which can be enabled/disabled using a property of the form: PropertyNames.KARYON_PROPERTIES_PREFIX.[component_name].disable with the value set to true for disabling.
isHealthy() - Method in class com.netflix.karyon.server.eureka.EurekaHealthCheckCallback
 

K

KARYON_PROPERTIES_PREFIX - Static variable in class com.netflix.karyon.spi.PropertyNames
Common prefix for all karyon properties.
KaryonServer - Class in com.netflix.karyon.server
The core server for Karyon.
KaryonServer() - Constructor for class com.netflix.karyon.server.KaryonServer
 
KaryonUtils - Class in com.netflix.karyon.server.utils
Utility methods for karyon
KaryonUtils() - Constructor for class com.netflix.karyon.server.utils.KaryonUtils
 

L

logger - Static variable in class com.netflix.karyon.server.eureka.AsyncHealthCheckInvocationStrategy
 
logger - Static variable in class com.netflix.karyon.server.eureka.EurekaHandler
 
logger - Static variable in class com.netflix.karyon.server.eureka.EurekaHealthCheckCallback
 
logger - Static variable in class com.netflix.karyon.server.KaryonServer
 

M

markAsDown() - Method in class com.netflix.karyon.server.eureka.EurekaHandler
 
markAsUp() - Method in class com.netflix.karyon.server.eureka.EurekaHandler
 

P

postConfig() - Method in class com.netflix.karyon.server.eureka.EurekaHandler
 
PropertyNames - Class in com.netflix.karyon.spi
A set of property names that Karyon uses.
PropertyNames() - Constructor for class com.netflix.karyon.spi.PropertyNames
 

R

register() - Method in class com.netflix.karyon.server.eureka.EurekaHandler
 

S

SERVER_BOOTSTRAP_BASE_PACKAGES_OVERRIDE - Static variable in class com.netflix.karyon.spi.PropertyNames
Comma separated list of packages used for governator scanning.
SERVER_BOOTSTRAP_CLASS_OVERRIDE - Static variable in class com.netflix.karyon.spi.PropertyNames
Fully qualified classname of custom server bootstrap class.
ServerBootstrap - Class in com.netflix.karyon.server
This class is the point where the karyon environment in bootstrapped which more or less is the bootstrapping of Governator.
ServerBootstrap() - Constructor for class com.netflix.karyon.server.ServerBootstrap
 
ServerInitializer - Class in com.netflix.karyon.server.lifecycle
This class holds the karyon initialization logic that constitutes of the following: Register the application with eureka (if enabled) Find all components (annotated with @Component) and instantiate them. Find the application class (annotated with @Application) and instantiate it. This also provides a Closeable.close() to cleanup upon shutdown.
ServerInitializer(EurekaHandler, ApplicationFinder, ComponentFinder) - Constructor for class com.netflix.karyon.server.lifecycle.ServerInitializer
 
start() - Method in class com.netflix.karyon.server.eureka.AsyncHealthCheckInvocationStrategy
 
start() - Method in class com.netflix.karyon.server.KaryonServer
Starts the karyon server by starting Governator and calling ServerInitializer.initialize(com.google.inject.Injector) for the applications, components to be started inside karyon.
stop() - Method in class com.netflix.karyon.server.eureka.AsyncHealthCheckInvocationStrategy
 
SyncHealthCheckInvocationStrategy - Class in com.netflix.karyon.server.eureka
An implementation of HealthCheckInvocationStrategy that synchronously calls the underlying HealthCheckHandler.
SyncHealthCheckInvocationStrategy(HealthCheckHandler) - Constructor for class com.netflix.karyon.server.eureka.SyncHealthCheckInvocationStrategy
 

U

UNIFY_HEALTHCHECK_WITH_EUREKA - Static variable in class com.netflix.karyon.spi.PropertyNames
If this is set to true the karyon health check results will be sent to eureka by using an adapter to HealthCheckCallback

A B C D E F G H I K L M P R S U