public class PipelineSink extends Object implements InvocationHandler
| Constructor and Description |
|---|
PipelineSink(List<Sink> pipeline)
Constructs a PipelineSink for a given List of Sinks.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSink(Sink sink)
Add a Sink to the List of Sinks.
|
Object |
invoke(Object proxy,
Method method,
Object[] args)
Invoke a Method on this PipelineSink.
|
static Sink |
newInstance(List<Sink> pipeline)
Returns an instance of a PipelineSink as a Sink.
|
public void addSink(Sink sink)
sink - the Sink to add.public Object invoke(Object proxy, Method method, Object[] args) throws IllegalAccessException, InvocationTargetException
invoke in interface InvocationHandlerproxy - a Object object.method - a Method object.args - an array of Object objects.Object object.IllegalAccessException - if any.InvocationTargetException - if any.Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.