Interface MetadataHandler.ValueHandler<T,C>
-
- Type Parameters:
T- the key/value type.C- the type of the context passed to the callbacks.
- Enclosing class:
- MetadataHandler<C>
public static interface MetadataHandler.ValueHandler<T,C>API for handling metadata key/value pairs individually.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandle(MetadataKey<T> key, T value, C context)Handles metadata values individually.
-
-
-
Method Detail
-
handle
void handle(MetadataKey<T> key, T value, C context)
Handles metadata values individually.- Parameters:
key- the metadata key (not necessarily a "singleton" key).value- associated metadata value.context- an arbitrary context object supplied to the process method.
-
-