Package org.apache.flume.sink

Examples of org.apache.flume.sink.PollableSinkRunner$PollingRunner


  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

Related Classes of org.apache.flume.sink.PollableSinkRunner$PollingRunner

Copyright © 2018 www.massapicom. 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.