org.infinispan.distribution
Interface L1Manager

All Known Implementing Classes:
L1ManagerImpl

public interface L1Manager

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

Method Summary
 void addRequestor(Object key, Address requestor)
          Records a request that will be cached in another nodes L1
 Future<Object> flushCache(Collection<Object> key, Address origin, boolean assumeOriginKeptEntryInL1)
           
 Future<Object> flushCacheWithSimpleFuture(Collection<Object> keys, Object retval, Address origin, boolean assumeOriginKeptEntryInL1)
           
 

Method Detail

addRequestor

void addRequestor(Object key,
                  Address requestor)
Records a request that will be cached in another nodes L1


flushCacheWithSimpleFuture

Future<Object> flushCacheWithSimpleFuture(Collection<Object> keys,
                                          Object retval,
                                          Address origin,
                                          boolean assumeOriginKeptEntryInL1)

flushCache

Future<Object> flushCache(Collection<Object> key,
                          Address origin,
                          boolean assumeOriginKeptEntryInL1)

-->

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.