ModeShape Distribution 3.4.0.Final

org.modeshape.jcr
Class InfinispanUtil.GetAllMemoryKeys<K,V>

java.lang.Object
  extended by org.modeshape.jcr.InfinispanUtil.GetAllMemoryKeys<K,V>
Type Parameters:
K - the type of key
V - the type of value
All Implemented Interfaces:
Serializable, Callable<Set<K>>, org.infinispan.distexec.DistributedCallable<K,V,Set<K>>
Enclosing class:
InfinispanUtil

protected static final class InfinispanUtil.GetAllMemoryKeys<K,V>
extends Object
implements org.infinispan.distexec.DistributedCallable<K,V,Set<K>>, Serializable

A DistributedCallable implementation that returns the set of keys in an Infinispan cache. The keys inside cache store are ignored.

See Also:
Serialized Form

Constructor Summary
protected InfinispanUtil.GetAllMemoryKeys()
           
 
Method Summary
 Set<K> call()
           
 void setEnvironment(org.infinispan.Cache<K,V> cache, Set<K> inputKeys)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfinispanUtil.GetAllMemoryKeys

protected InfinispanUtil.GetAllMemoryKeys()
Method Detail

setEnvironment

public void setEnvironment(org.infinispan.Cache<K,V> cache,
                           Set<K> inputKeys)
Specified by:
setEnvironment in interface org.infinispan.distexec.DistributedCallable<K,V,Set<K>>

call

public Set<K> call()
            throws Exception
Specified by:
call in interface Callable<Set<K>>
Throws:
Exception

ModeShape Distribution 3.4.0.Final

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