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

com.yahoo.elide.RefreshableElide Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2021, Yahoo Inc.
 * Licensed under the Apache License, Version 2.0
 * See LICENSE file in project root for terms.
 */

package com.yahoo.elide;

import lombok.Getter;

/**
 * Wraps an Elide instance that can be hot reloaded at runtime.  This class is restricted to
 * a single access method (getElide) to eliminate state issues across reloads.
 */
public class RefreshableElide {
    @Getter
    private Elide elide;

    public RefreshableElide(Elide elide) {
        this.elide = elide;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy