Top Description Methods
org.apache.logging.log4j.message

public Interface ParameterConsumer<S>

Type Parameters
<S>
state data

An operation that accepts two input arguments and returns no result.

The third parameter lets callers pass in a stateful object to be modified with the key-value pairs, so the ParameterConsumer implementation itself can be stateless and potentially reusable.

Since
2.11
See Also
ReusableMessage

Method Summary

Modifier and TypeMethod and Description
public void
accept(Object
the parameter
parameter
,
int
Index of the parameter
parameterIndex
,
S
the state data
state
)

Performs an operation given the specified arguments.

Method Detail

acceptback to summary
public void accept(Object parameter, int parameterIndex, S state)

Performs an operation given the specified arguments.

Parameters
parameter:Object

the parameter

parameterIndex:int

Index of the parameter

state:S

the state data