Class CustomRuntimeEventLoop
java.lang.Object
org.springframework.cloud.function.adapter.aws.CustomRuntimeEventLoop
- All Implemented Interfaces:
org.springframework.context.Lifecycle
,org.springframework.context.Phased
,org.springframework.context.SmartLifecycle
public final class CustomRuntimeEventLoop
extends Object
implements org.springframework.context.SmartLifecycle
Event loop and necessary configurations to support AWS Lambda
Custom Runtime - https://docs.aws.amazon.com/lambda/latest/dg/runtimes-custom.html.
- Since:
- 3.1.1
- Author:
- Oleg Zhurakousky, Mark Sailes
-
Field Summary
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
ConstructorDescriptionCustomRuntimeEventLoop
(org.springframework.context.ConfigurableApplicationContext applicationContext) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.SmartLifecycle
getPhase, isAutoStartup, stop
-
Constructor Details
-
CustomRuntimeEventLoop
public CustomRuntimeEventLoop(org.springframework.context.ConfigurableApplicationContext applicationContext)
-
-
Method Details
-
run
public void run() -
start
public void start()- Specified by:
start
in interfaceorg.springframework.context.Lifecycle
-
stop
public void stop()- Specified by:
stop
in interfaceorg.springframework.context.Lifecycle
-
isRunning
public boolean isRunning()- Specified by:
isRunning
in interfaceorg.springframework.context.Lifecycle
-