Interface InternalRemoteCache<K,​V>

    • Method Detail

      • keyIterator

        org.infinispan.commons.util.CloseableIterator<K> keyIterator​(org.infinispan.commons.util.IntSet segments)
      • entryIterator

        org.infinispan.commons.util.CloseableIterator<Map.Entry<K,​V>> entryIterator​(org.infinispan.commons.util.IntSet segments)
      • removeEntry

        default boolean removeEntry​(Map.Entry<K,​V> entry)
      • removeEntry

        default boolean removeEntry​(K key,
                                    V value)
      • withFlags

        InternalRemoteCache<K,​V> withFlags​(Flag... flags)
        Description copied from interface: RemoteCache
        Applies one or more Flags to the scope of a single invocation. See the Flag enumeration to for information on available flags.

        Sample usage:

            remoteCache.withFlags(Flag.FORCE_RETURN_VALUE).put("hello", "world");
         
        Specified by:
        withFlags in interface RemoteCache<K,​V>
        Returns:
        the current RemoteCache instance to continue running operations on.
      • hasForceReturnFlag

        boolean hasForceReturnFlag()
      • resolveStorage

        void resolveStorage​(boolean objectStorage)
      • isObjectStorage

        boolean isObjectStorage()
      • keyAsObjectIfNeeded

        K keyAsObjectIfNeeded​(Object key)
      • keyToBytes

        byte[] keyToBytes​(Object o)