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

com.tangosol.net.cache.IterableCacheLoader 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.tangosol.net.cache;


import java.util.Iterator;


/**
* A JCache CacheLoader that can iterate its underlying contents.
*
* @since Coherence 2.5
* @author cp 2004.09.22
*/
public interface IterableCacheLoader
        extends CacheLoader
    {
    /**
    * Iterate all keys in the underlying store.
    *
    * @return a read-only iterator of the keys in the underlying store
    *
    * @throws UnsupportedOperationException  if the underlying store is not
    *         iterable
    */
    public Iterator keys();
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy