Examples of DBStorageMXBean


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

Examples of de.scoopgmbh.copper.management.DBStorageMXBean

     
      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
Copyright © 2018 www.massapi.com. 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.