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

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


      if (storageConfList == null || storageConfList.isEmpty()) {
        s_logger.error("No writer is defined in job configuration or there are some errors in writer configuration");
        return JobStatus.FAILED.getStatus();
      }
      int writerNum = jobConf.getWriterNum();
      StorageManager storageManager = new StorageManager(storageConfList);
      monitorManager = new MonitorManager(writerNum);
      monitorManager.setStorageManager(storageManager);

      // get job conf and start reader & writer
      JobPluginConf readerConf = jobConf.getReaderConf();
View Full Code Here


          engineConf.getIntValue(EngineConfParamKey.MONITOR_INFO_DISPLAY_PERIOD));
      storageConf.setWaitTime(
          engineConf.getIntValue(EngineConfParamKey.STORAGE_WAIT_TIME));
      result.add(storageConf);
    }
    StorageManager manager = new StorageManager(result);
    BufferedLineExchanger exchanger = new BufferedLineExchanger(manager.getStorageForWriter("1"), manager.getStorageForReader());
    return exchanger;
  }
View Full Code Here

          engineConf.getIntValue(EngineConfParamKey.MONITOR_INFO_DISPLAY_PERIOD));
      storageConf.setWaitTime(
          1000);
      result.add(storageConf);
    }
    StorageManager manager = new StorageManager(result);
    return new BufferedLineExchanger(manager.getStorageForWriter("1"), manager.getStorageForReader());
  }
View Full Code Here

          5000
         
      );
      result.add(storageConf);
    }
    StorageManager manager = new StorageManager(result);
    return new BufferedLineExchanger(manager.getStorageForWriter("0"), manager.getStorageForReader());
  }
View Full Code Here

TOP

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

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.