Esempio n. 1
0
File: CRM.java Progetto: deki/kieker
 public void getOffers() {
   // Call the Catalog component's getBook() method
   // and log its entry and exit timestamp using Kieker.
   final long tin = MONITORING_CONTROLLER.getTimeSource().getTime();
   this.catalog.getBook(false);
   final long tout = MONITORING_CONTROLLER.getTimeSource().getTime();
   final OperationExecutionRecord e =
       new OperationExecutionRecord(
           "public void kieker.examples.userguide.appendixAMQP.Catalog.getBook(boolean)",
           OperationExecutionRecord.NO_SESSION_ID,
           OperationExecutionRecord.NO_TRACE_ID,
           tin,
           tout,
           OperationExecutionRecord.NO_HOSTNAME,
           OperationExecutionRecord.NO_EOI_ESS,
           OperationExecutionRecord.NO_EOI_ESS);
   MONITORING_CONTROLLER.newMonitoringRecord(e);
 }