Package org.apache.hadoop.chukwa.datacollection.adaptor

Examples of org.apache.hadoop.chukwa.datacollection.adaptor.AdaptorException


  public void start(long adaptor, String type, String bytesPerSecParam,
      long offset, ChunkReceiver dest) throws AdaptorException {
    try {
      bytesPerSec = Integer.parseInt(bytesPerSecParam.trim());
    } catch (NumberFormatException e) {
      throw new AdaptorException("bad argument to const rate adaptor: ["
          + bytesPerSecParam + "]");
    }
    this.adaptorID = adaptor;
    this.offset = offset;
    this.type = type;
View Full Code Here

TOP

Related Classes of org.apache.hadoop.chukwa.datacollection.adaptor.AdaptorException

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.