public abstract class RpcServerLauncher
extends io.datakernel.launcher.Launcher
| Modifier and Type | Field and Description |
|---|---|
static String |
BUSINESS_MODULE_PROP |
static String |
PROPERTIES_FILE |
| Constructor and Description |
|---|
RpcServerLauncher() |
| Modifier and Type | Method and Description |
|---|---|
io.datakernel.eventloop.Eventloop |
eventloop(io.datakernel.config.Config config,
io.datakernel.eventloop.ThrottlingController throttlingController) |
protected io.datakernel.di.module.Module |
getBusinessLogicModule() |
protected io.datakernel.di.module.Module |
getModule() |
static void |
main(String[] args) |
protected void |
run() |
awaitShutdown, createInjector, createInjector, getApplicationError, getArgs, getCompleteFuture, getDuration, getDurationOfRun, getDurationOfStart, getDurationOfStop, getInstantOfComplete, getInstantOfLaunch, getInstantOfRun, getInstantOfStart, getInstantOfStop, getMainThread, getOverrideModule, getRunFuture, getStartFuture, launch, onInit, onStart, onStop, shutdown, testInjectorpublic static final String PROPERTIES_FILE
public static final String BUSINESS_MODULE_PROP
public io.datakernel.eventloop.Eventloop eventloop(io.datakernel.config.Config config,
io.datakernel.eventloop.ThrottlingController throttlingController)
protected final io.datakernel.di.module.Module getModule()
getModule in class io.datakernel.launcher.Launcherprotected io.datakernel.di.module.Module getBusinessLogicModule()
protected void run()
throws Exception
run in class io.datakernel.launcher.LauncherExceptionCopyright © 2019. All rights reserved.