org.modeshape.jcr

## Class InfinispanUtil.GetAllKeys<K,V>

- java.lang.Object
- - org.modeshape.jcr.InfinispanUtil.GetAllKeys<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.GetAllKeys<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 which are stored in memory.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `InfinispanUtil.GetAllKeys()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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.GetAllKeys

          protected InfinispanUtil.GetAllKeys()

  - ### 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`

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