org.infinispan.distribution.L1Manager Maven / Gradle / Ivy
package org.infinispan.distribution;
import java.util.Collection;
import java.util.concurrent.CompletableFuture;
import org.infinispan.factories.scopes.Scope;
import org.infinispan.factories.scopes.Scopes;
import org.infinispan.interceptors.distribution.L1WriteSynchronizer;
import org.infinispan.remoting.transport.Address;
/**
* Manages the L1 Cache, in particular recording anyone who is going to cache an
* a command that a node responds to so that a unicast invalidation can be sent
* later if needed.
*
* @author Pete Muir
*
*/
@Scope(Scopes.NAMED_CACHE)
public interface L1Manager {
/**
* Records a request that will be cached in another nodes L1
*/
void addRequestor(Object key, Address requestor);
CompletableFuture> flushCache(Collection
© 2015 - 2025 Weber Informatics LLC | Privacy Policy