Package com.dp.nebula.wormhole.engine.storage

Examples of com.dp.nebula.wormhole.engine.storage.Statistics


  public String getInfo(){
    StringBuilder builder = new StringBuilder();
    Map<String,Statistics> map = getStorageMonitorCriteriaMap();
    builder.append("\n");
    for(String key : map.keySet()){
      Statistics stat = map.get(key);
      builder.append(key).append(":").append(stat.getTotalStat()).append("\n");
    }
    return builder.toString();
  }
View Full Code Here


  public String getInfo(){
    StringBuilder builder = new StringBuilder();
    Map<String,Statistics> map = getStorageMonitorCriteriaMap();
    builder.append("\n");
    for(String key : map.keySet()){
      Statistics stat = map.get(key);
      builder.append(key).append(" ").append(stat.getPeriodState()).append("\n");
      stat.periodPass();
    }
    return builder.toString();
  }
View Full Code Here

    info.setReadFailedLines(readFailedLines);
   
    //storage statistics
    Map<String,IStorage> storageMap = storageManager.getStorageMap();
    for(String key : storageMap.keySet()) {
      Statistics stat = storageMap.get(key).getStat();
      info.addStorageMonitorCriteria(key, stat);
    }
 
    for(String key : writerMonitorPoolMap.keySet()){
      long writeSuccessLines = 0;
View Full Code Here

    RealtimeMonitorInfo info = new RealtimeMonitorInfo(writerNum);
   
    //storage statistics
    Map<String,IStorage> storageMap = storageManager.getStorageMap();
    for(String key : storageMap.keySet()){
      Statistics stat = storageMap.get(key).getStat();
      info.addStorageMonitorCriteria(key, stat);
    }
    return info;
  }
View Full Code Here

TOP

Related Classes of com.dp.nebula.wormhole.engine.storage.Statistics

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.