A B D G I N O R S T 
All Classes All Packages

A

addHealthCheck(String, TinyHealth.HealthCheck) - Method in class net.morimekta.tiny.server.TinyApplicationContext
Add health check to active checks.
addHttpHandler(String, HttpHandler) - Method in class net.morimekta.tiny.server.TinyApplicationContext.Builder
Add a custom HTTP handler to the admin server.
addReadyCheck(String, TinyHealth.ReadyCheck) - Method in class net.morimekta.tiny.server.TinyApplicationContext
Add ready check to active checks.
afterStart(TinyApplicationContext) - Method in class net.morimekta.tiny.server.TinyApplication
This method is called after onStart() and the service is marked as ready, mainly in order to make simple test-validation after starting, or to start background processes that should be started *after* service is in operation.
afterStop(TinyApplicationContext) - Method in class net.morimekta.tiny.server.TinyApplication
This method is called after the HTTP service has been stopped, but before the application exits.

B

beforeStop(TinyApplicationContext) - Method in class net.morimekta.tiny.server.TinyApplication
This method is called immediately when the service should start shutting down.
Builder(TinyApplication) - Constructor for class net.morimekta.tiny.server.TinyApplicationContext.Builder
 

D

drain() - Method in class net.morimekta.tiny.server.TinyApplication
 

G

getAdminPort() - Method in class net.morimekta.tiny.server.TinyApplicationContext
Get the port the Admin HTTP server is listening to.
getApplicationDescription() - Method in class net.morimekta.tiny.server.TinyApplication
 
getApplicationName() - Method in class net.morimekta.tiny.server.TinyApplication
 
getApplicationVersion() - Method in class net.morimekta.tiny.server.TinyApplication
 

I

initialize(ArgParser.Builder, TinyApplicationContext.Builder) - Method in class net.morimekta.tiny.server.TinyApplication
This method is called during the initialization phase of setting up the tiny server.

N

net.morimekta.tiny.server - module net.morimekta.tiny.server
 
net.morimekta.tiny.server - package net.morimekta.tiny.server
Tiny Server Application wrapper for non-WEB microservices.

O

onStart(TinyApplicationContext) - Method in class net.morimekta.tiny.server.TinyApplication
This method is called after the HTTP server is started, but before the service is considered "ready".

R

removeHealthCheck(String) - Method in class net.morimekta.tiny.server.TinyApplicationContext
Remove health check with given name.
removeReadyCheck(String) - Method in class net.morimekta.tiny.server.TinyApplicationContext
Remove ready check with given name.

S

setDrainPath(String) - Method in class net.morimekta.tiny.server.TinyApplicationContext.Builder
 
setHealthyPath(String) - Method in class net.morimekta.tiny.server.TinyApplicationContext.Builder
 
setReadyPath(String) - Method in class net.morimekta.tiny.server.TinyApplicationContext.Builder
 
setUpUncaughtExceptionHandler() - Method in class net.morimekta.tiny.server.TinyApplication
Override this method if you want to have a special uncaught exception handler, or if you need to keep some other default uncaught exception handler.
start(TinyApplication, String...) - Static method in class net.morimekta.tiny.server.TinyApplication
Start the server.
startUnsafe(TinyApplication, String...) - Static method in class net.morimekta.tiny.server.TinyApplication
Same as the TinyApplication.start(TinyApplication, String...) method, but will throw the exception.
stop() - Method in class net.morimekta.tiny.server.TinyApplication
Stop the server and trigger the internal stop mechanisms.

T

TinyApplication - Class in net.morimekta.tiny.server
Tiny microservice application base class.
TinyApplication(String) - Constructor for class net.morimekta.tiny.server.TinyApplication
 
TinyApplicationContext - Class in net.morimekta.tiny.server
 
TinyApplicationContext.Builder - Class in net.morimekta.tiny.server
 
A B D G I N O R S T 
All Classes All Packages