Examples of PollableSinkRunner


Examples of org.apache.flume.sink.PollableSinkRunner

  public static SinkRunner forSink(Sink sink) {
    SinkRunner runner = null;

    if (sink instanceof PollableSink) {
      runner = new PollableSinkRunner();
      ((PollableSinkRunner) runner).setSink((PollableSink) sink);
    } else {
      throw new IllegalArgumentException("No known runner type for sink "
          + sink);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.