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
 NotifyingNotifiableFuture<Object> flushCache(Collection<Object> keys, Object retval, Address origin, boolean assumeOriginKeptEntryInL1)
          Flushes a cache (using unicast or multicast) for a set of keys
 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


flushCache

NotifyingNotifiableFuture<Object> flushCache(Collection<Object> keys,
                                             Object retval,
                                             Address origin,
                                             boolean assumeOriginKeptEntryInL1)
Flushes a cache (using unicast or multicast) for a set of keys


flushCacheWithSimpleFuture

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

-->

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