Interface EntryProcessor<K,V,R>

Type Parameters:
K - the logical key type
V - the logical value type
R - the logical result type
All Superinterfaces:
Serializable
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface EntryProcessor<K,V,R> extends Serializable
Serializable entry processor contract used by the client wire API.

Implementations must be registered with the client and server KryoSerializer instances before they can be sent over the wire.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Mutable entry view presented to a processor.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable R
    Process the supplied mutable entry.
  • Method Details

    • process

      @Nullable R process(EntryProcessor.Entry<K,V> entry)
      Process the supplied mutable entry.
      Parameters:
      entry - mutable entry view
      Returns:
      processor result, possibly null