예제 #1
0
 /** IInstrumentationLogger */
 @Override
 public void onOperationTimedOut(
     final String contextId,
     final String operationName,
     final long msecDuration,
     final long msecLimit,
     final String limitPropertyName) {
   m_valueOnOperationTimedOut.add(operationName);
   writeToFile(
       Level.Warn,
       HcUtil.deepToString(
           "onOperationTimedOut",
           operationName,
           msecDuration,
           msecLimit,
           limitPropertyName,
           contextId));
 }
예제 #2
0
 /** IInstrumentationLogger */
 @Override
 public void onOperationFailed(
     final String contextId,
     final String messageText,
     final String operationName,
     final long msecDuration,
     final long msecLimit,
     final String limitPropertyName) {
   m_valueOnOperationFailed.add(messageText);
   writeToFile(
       Level.Fatal,
       HcUtil.deepToString(
           "onOperationFailed",
           messageText,
           operationName,
           msecDuration,
           msecLimit,
           limitPropertyName,
           contextId));
 }
예제 #3
0
 /** IInstrumentationLogger */
 @Override
 public void onExecutionSummary(
     final String contextId,
     final List<TimedScope> listTimedScope,
     final List<CounterThroughput> listCounterThroughput,
     final List<Counter> listCounter,
     final List<CounterRange> listCounterRange,
     final List<MaxCounter> listMaxCounter) {
   m_valueOnExecutionSummary.add(contextId);
   writeToFile(
       Level.Info,
       HcUtil.deepToString(
           "onExecutionSummary",
           contextId,
           listTimedScope,
           listCounterThroughput,
           listCounter,
           listCounterRange,
           listMaxCounter));
 }