Exemplo n.º 1
0
 public void setTracerMaxTraceRecords(long maxRecords) {
   Tracer.setMaxTraceRecords((int) maxRecords);
 }
Exemplo n.º 2
0
 /**
  * Sets maximum number of records that will be stored in a single trace. This setting prevents
  * agent from overrunning memory when instrumented code has very long (and complex) execution
  * path. After maximum number is reached, all remaining records will be discarded but numbers of
  * calls and errors of discarded methods will be reflected in summary data.
  *
  * @param maxRecords maximum numbner of trace records
  */
 public void setTracerMaxTraceRecords(int maxRecords) {
   Tracer.setMaxTraceRecords(maxRecords);
 }