com.amazonaws.services.lambda.crac.Core Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-lambda-java-runtime-interface-client Show documentation
Show all versions of aws-lambda-java-runtime-interface-client Show documentation
The AWS Lambda Java Runtime Interface Client implements the Lambda programming model for Java
/*
* Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*/
package com.amazonaws.services.lambda.crac;
/**
* Provides the global context for registering resources.
*/
public final class Core {
private Core() {
}
private static Context globalContext = new ContextImpl();
public static Context getGlobalContext() {
return globalContext;
}
public static void checkpointRestore() {
throw new UnsupportedOperationException();
}
static void resetGlobalContext() {
globalContext = new ContextImpl();
}
}