
Convenience adapter to visit every key-value tuple in the stream. Note that the visitor does not update the cache. More...
Inherits GridGain.Datastream.IStreamReceiver< K, V >.
Public Member Functions | |
| StreamVisitor (Action< ICache< K, V >, ICacheEntry< K, V >> action) | |
| Initializes a new instance of the StreamVisitor<K, V> class. More... | |
| void | Receive (ICache< K, V > cache, ICollection< ICacheEntry< K, V >> entries) |
| K | The type of the cache key. |
| V | The type of the cache value. |
| GridGain.Datastream.StreamVisitor< K, V >.StreamVisitor | ( | Action< ICache< K, V >, ICacheEntry< K, V >> | action | ) |
| action | The action to be called on each stream entry. |
| void GridGain.Datastream.StreamVisitor< K, V >.Receive | ( | ICache< K, V > | cache, |
| ICollection< ICacheEntry< K, V >> | entries | ||
| ) |
Updates cache with batch of entries.
Implements GridGain.Datastream.IStreamReceiver< K, V >.
1.8.11