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, Rahul Lokurte
-
Field Summary
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsConstructorDescriptionCustomRuntimeEventLoop(org.springframework.context.ConfigurableApplicationContext applicationContext) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
startin interfaceorg.springframework.context.Lifecycle
-
stop
public void stop()- Specified by:
stopin interfaceorg.springframework.context.Lifecycle
-
isRunning
public boolean isRunning()- Specified by:
isRunningin interfaceorg.springframework.context.Lifecycle
-