Class StreamTransformer<K,​V>

  • All Implemented Interfaces:
    Serializable, javax.cache.processor.EntryProcessor<K,​V,​Object>, StreamReceiver<K,​V>

    public abstract class StreamTransformer<K,​V>
    extends Object
    implements StreamReceiver<K,​V>, javax.cache.processor.EntryProcessor<K,​V,​Object>
    Convenience adapter to transform update existing values in streaming cache based on the previously cached value.

    This transformer implement EntryProcessor and internally will call IgniteCache.invoke(Object, EntryProcessor, Object...) method. Note that the value received from the data streamer will be passed to the entry processor as an argument.

    See Also:
    Serialized Form