public class DefaultSinkFactory extends Object implements SinkFactory
Constructor and Description |
---|
DefaultSinkFactory() |
Modifier and Type | Method and Description |
---|---|
Sink |
create(String name,
String type) |
Class<? extends Sink> |
getClass(String type) |
public Sink create(String name, String type) throws FlumeException
create
in interface SinkFactory
FlumeException
public Class<? extends Sink> getClass(String type) throws FlumeException
getClass
in interface SinkFactory
FlumeException
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.