All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.lambda.crac.Core Maven / Gradle / Ivy

There is a newer version: 2.6.0
Show newest version
/*
 *  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();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy