Package de.scoopgmbh.copper.management

Examples of de.scoopgmbh.copper.management.DBStorageMXBean


  @Override
  public void setBatcherNumThreads(final int numThread, final String engineid) {
    ProcessingEngineMXBean engine =  engines.get(engineid);
    if (engine instanceof PersistentProcessingEngineMXBean){
      DBStorageMXBean storage =  ((PersistentProcessingEngineMXBean)engine).getDBStorage();
      if (storage instanceof ScottyDBStorageMXBean){
        BatcherMXBean batcherMXBean = ((ScottyDBStorageMXBean)storage).getBatcherMXBean();
        if(batcherMXBean != null) {
          batcherMXBean.setNumThreads(numThread);
        }
View Full Code Here


     
      StorageInfo storageInfo = new StorageInfo();
     
      BatcherInfo batcher= new BatcherInfo();
      if (engine instanceof PersistentProcessingEngineMXBean){
        DBStorageMXBean dbStorageTmp = ((PersistentProcessingEngineMXBean)engine).getDBStorage();
        storageInfo.setDescription(dbStorageTmp.getDescription());
        if (dbStorageTmp instanceof ScottyDBStorageMXBean ){
          BatcherMXBean batcherMXBean = ((ScottyDBStorageMXBean)dbStorageTmp).getBatcherMXBean();
          if (batcherMXBean != null) {
            batcher.setDescription(batcherMXBean.getDescription());
            batcher.setNumThreads(batcherMXBean.getNumThreads());
View Full Code Here

TOP

Related Classes of de.scoopgmbh.copper.management.DBStorageMXBean

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.