Package org.apache.flume.channel.recoverable.memory

Examples of org.apache.flume.channel.recoverable.memory.RecoverableMemoryChannel


    channel = createFileChannel();

  }

  private RecoverableMemoryChannel createFileChannel() {
    RecoverableMemoryChannel channel = new RecoverableMemoryChannel();
    context = new Context();
    context.put(RecoverableMemoryChannel.WAL_DATA_DIR, dataDir.getAbsolutePath());
    Configurables.configure(channel, context);
    channel.start();
    return channel;
  }
View Full Code Here


    channel = createFileChannel();

  }

  private RecoverableMemoryChannel createFileChannel() {
    RecoverableMemoryChannel channel = new RecoverableMemoryChannel();
    context = new Context();
    context.put(RecoverableMemoryChannel.WAL_DATA_DIR, dataDir.getAbsolutePath());
    Configurables.configure(channel, context);
    channel.start();
    return channel;
  }
View Full Code Here

TOP

Related Classes of org.apache.flume.channel.recoverable.memory.RecoverableMemoryChannel

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.