public class ServerlessServiceImpl extends AbstractService implements ServerlessService
logger| Constructor and Description |
|---|
ServerlessServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
java.lang.String |
getArn()
Retrieve the stored function ARN/identifier.
|
java.lang.String |
getFunctionVersion()
Retrieve the stored function version.
|
boolean |
isApmLambdaModeEnabled() |
boolean |
isEnabled()
Is the service enabled.
|
void |
setArn(java.lang.String arnValue)
Store the function ARN/identifier for the current invocation.
|
void |
setFunctionVersion(java.lang.String version)
Store the function version for the current invocation.
|
getLogger, getName, isStarted, isStartedOrStarting, isStopped, isStoppedOrStopping, start, stoppublic void setArn(java.lang.String arnValue)
ServerlessServicesetArn in interface ServerlessServicearnValue - The function ARN (AWS Lambda)public void setFunctionVersion(java.lang.String version)
ServerlessServicesetFunctionVersion in interface ServerlessServiceversion - The function versionpublic java.lang.String getArn()
ServerlessServicegetArn in interface ServerlessServicepublic java.lang.String getFunctionVersion()
ServerlessServicegetFunctionVersion in interface ServerlessServicepublic boolean isApmLambdaModeEnabled()
isApmLambdaModeEnabled in interface ServerlessServiceprotected void doStart()
throws java.lang.Exception
doStart in class AbstractServicejava.lang.Exceptionprotected void doStop()
throws java.lang.Exception
doStop in class AbstractServicejava.lang.Exception