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 Detail

      • handle

        void handle​(FloggerMetadataKey<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.