Interface EntryProcessor<K,V,T>

Type Parameters:
K - the key type
V - the value type
T - the return type

public interface EntryProcessor<K,V,T>
Processes an entry in the cache atomically.

Provides a single entry processor operation that can read and/or modify cache entries within a single cache invocation. Compatible with JCache (JSR-107) EntryProcessor contract.

  • Method Summary

    Modifier and Type
    Method
    Description
    Process an entry.
  • Method Details

    • process

      T process(CacheEntry<K,V> entry)
      Process an entry.
      Parameters:
      entry - the cache entry to process
      Returns:
      a result or null