Package com.jamonapi

Examples of com.jamonapi.Monitor.stop()


                  } // catch (Exception ex)
                  finally {
                    // Allow better garbage collection
                    publisher.release();
                    // Stop performance measurement
                      renderingMonitor.stop();
                  } // finally
              } // if (publisherType.equalsIgnoreCase(AF_PUBLISHER_TYPE)
              // || publisherType.equalsIgnoreCase(SERVLET_PUBLISHER_TYPE) ||
              // publisherType.equalsIgnoreCase(JSP_PUBLISHER_TYPE)) else
          } //if (requestContainer == null && responseContainer == null) else
View Full Code Here


        throw new SpagoBIEngineServiceException(getActionName(), message, e);
      }
     
    } catch(Throwable t) {
      errorHitsMonitor = MonitorFactory.start("QbeEngine.errorHits");
      errorHitsMonitor.stop();
      throw SpagoBIEngineServiceExceptionHandler.getInstance().getWrappedException(getActionName(), getEngineInstance(), t);
    } finally {
      if (totalTimeMonitor != null) totalTimeMonitor.stop();
      logger.debug("OUT");
   
View Full Code Here

      return helper.publishTemplate(user, attributes);
  } catch (SecurityException e) {
      logger.error("SecurityException", e);
      return null;
  } finally {
      monitor.stop();
      logger.debug("OUT");
  }

    }
View Full Code Here

    } catch (Exception e) {
      logger.error(e);
      return false;
    } finally {
        logger.debug("OUT");
        monitor.stop();
    }
    }
   
    /**
     * Check the correctness of the request, i.e.:
View Full Code Here

        } else {
          logger.debug("Role " + roleName + " is compatible with input parameters");
        }
    } finally {
        logger.debug("OUT");
        monitor.stop();
    }
    }
   
}
View Full Code Here

        throw new SpagoBIEngineServiceException(getActionName(), message, e);
      }
     
    } catch(Throwable t) {
      errorHitsMonitor = MonitorFactory.start("QbeEngine.errorHits");
      errorHitsMonitor.stop();
      throw SpagoBIEngineServiceExceptionHandler.getInstance().getWrappedException(getActionName(), getEngineInstance(), t);
    } finally {
      if(totalTimeMonitor != null) totalTimeMonitor.stop();
      logger.debug("OUT");
   
View Full Code Here

        throw new SpagoBIEngineServiceException(getActionName(), message, e);
      }
     
    } catch(Throwable t) {
      errorHitsMonitor = MonitorFactory.start("QbeEngine.errorHits");
      errorHitsMonitor.stop();
      throw SpagoBIEngineServiceExceptionHandler.getInstance().getWrappedException(getActionName(), getEngineInstance(), t);
    } finally {
      if(totalTimeMonitor != null) totalTimeMonitor.stop();
      logger.debug("OUT");
   
View Full Code Here

      String serviceResponse = null;
      try {
        extServiceMonitor = MonitorFactory.start("QbeEngine.externalService");
        serviceResponse = invokeExternalService(serviceConfig, records);
      } finally {
        extServiceMonitor.stop();
      }
      logger.debug("Service has returned this message response:\n" + serviceResponse);
     
      try {
        JSONObject obj = new JSONObject();
View Full Code Here

      throw new EMFUserError(EMFErrorSeverity.ERROR, ue.getErrorCode(), messageBundle);
    } catch (Exception e) {
      logger.error("Cannot exec the composite document", e);
      throw new EMFUserError(EMFErrorSeverity.ERROR, "100", messageBundle);
    }finally{
      monitor.stop();
    }
  }

  /**
   * The <code>SpagoBIOfficeDocumentInternalEngine</code> cannot manage subobjects so this method must not be invoked.
View Full Code Here

        throw new SpagoBIEngineServiceException(getActionName(), message, e);
      }
     
    } catch(Throwable t) {
      errorHitsMonitor = MonitorFactory.start("QbeEngine.errorHits");
      errorHitsMonitor.stop();
      throw SpagoBIEngineServiceExceptionHandler.getInstance().getWrappedException(getActionName(), getEngineInstance(), t);
    } finally {
      if(totalTimeMonitor != null) totalTimeMonitor.stop();
      logger.debug("OUT");
   
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.