com.tangosol.net.CacheProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of coherence Show documentation
Show all versions of coherence Show documentation
Oracle Coherence Community Edition
/*
* 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.tangosol.net;
import com.tangosol.net.cache.TypeAssertion;
import static com.tangosol.net.cache.TypeAssertion.withRawTypes;
/**
* WARNING: Do not use this interface. It is no longer used internally and will
* be removed in the future. Use {@link Session} interface instead.
*
* A deprecated interface for cache service provider.
*
* @see Session
*
* @author lh 2015.06.29
*
* @since Coherence 12.2.1
*/
@Deprecated
public interface CacheProvider
{
/**
* Ensure an Object-based cache for the given name.
*
* @param sCacheName the cache name
* @param loader ClassLoader that should be used to deserialize
* objects in the cache
*
* @return a NamedCache created
*/
public default NamedCache