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)
          Flushes a cache (using unicast or multicast) for a set of keys
 

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)
Flushes a cache (using unicast or multicast) for a set of keys


-->

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