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

org.infinispan.stream.CacheAware Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev04
Show newest version
package org.infinispan.stream;

import org.infinispan.Cache;

/**
 * Interface that describes how a cache can be injected into another object.  This is useful for cases such as
 * after an object is deserialized and you must inject a Cache into it.
 * @since 8.1
 */
public interface CacheAware {
   /**
    * Method that is invoked when a cache is to be injected.
    * @param cache the cache instance tied to the object
    */
   void injectCache(Cache cache);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy