org.eclipse.dirigible.commons.api.context.ThreadContextFacade Maven / Gradle / Ivy
/*
* Copyright (c) 2024 Eclipse Dirigible contributors
*
* All rights reserved. This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* SPDX-FileCopyrightText: Eclipse Dirigible contributors SPDX-License-Identifier: EPL-2.0
*/
package org.eclipse.dirigible.commons.api.context;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.concurrent.atomic.AtomicLong;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Scripting context facade is the centralized place where the different scripting facade providers
* can register the request (sync) scoped objects.
*/
public class ThreadContextFacade {
/** The Constant logger. */
private static final Logger logger = LoggerFactory.getLogger(ThreadContextFacade.class);
/** The Constant STACKED_CONTEXT. */
private static final ThreadLocal
© 2015 - 2024 Weber Informatics LLC | Privacy Policy