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

org.infinispan.quarkus.hibernate.cache.InternalCache Maven / Gradle / Ivy

There is a newer version: 0.3.0
Show newest version
package org.infinispan.quarkus.hibernate.cache;

import java.util.Map;
import java.util.function.BiFunction;
import java.util.function.Consumer;
import java.util.function.Predicate;

interface InternalCache {

    Object getOrNull(Object key);

    void putIfAbsent(Object key, Object value);

    void put(Object key, Object value);

    Object compute(Object key, BiFunction remappingFunction);

    void invalidate(Object key);

    long size(Predicate filter);

    void forEach(Predicate filter, Consumer action);

    void stop();

    void invalidateAll();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy