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

com.oracle.common.base.VolatileHolder Maven / Gradle / Ivy

There is a newer version: 24.09
Show newest version
/*
 * Copyright (c) 2000, 2020, Oracle and/or its affiliates.
 *
 * Licensed under the Universal Permissive License v 1.0 as shown at
 * http://oss.oracle.com/licenses/upl.
 */
package com.oracle.common.base;

/**
 * VolatileHolder is a basic implementation of the Holder interface where
 * the held object is referenced from a volatile reference.
 *
 * @param   the value type
 *
 * @author mf  2010.12.02
 * @deprecated use {@link com.oracle.coherence.common.base.VolatileHolder} instead
 */
@Deprecated
public class VolatileHolder
        extends com.oracle.coherence.common.base.VolatileHolder
        implements Holder
    {
    /**
     * Construct a VolatileHolder with no value.
     */
    public VolatileHolder()
        {
        super();
        }

    /**
     * Construct a VolatileHolder with an initial value.
     *
     * @param value  the initial value
     */
    public VolatileHolder(V value)
        {
        super(value);
        }
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy