com.dynatrace.oneagent.sdk.api
Interface DatabaseRequestTracer

All Superinterfaces:
Tracer

public interface DatabaseRequestTracer
extends Tracer

Interface for outgoing database tracer. https://github.com/Dynatrace/OneAgent-SDK#database

Since:
1.7.0

Method Summary
 void setReturnedRowCount(int returnedRowCount)
          Adds optional information about retrieved rows of the traced database request.
 void setRoundTripCount(int roundTripCount)
          Adds optional information about round-trip count to database server.
 
Methods inherited from interface com.dynatrace.oneagent.sdk.api.Tracer
end, error, error, start
 

Method Detail

setReturnedRowCount

void setReturnedRowCount(int returnedRowCount)
Adds optional information about retrieved rows of the traced database request.

Parameters:
returnedRowCount - number of rows returned by this traced database request. Only positive values are allowed.
Since:
1.7.0

setRoundTripCount

void setRoundTripCount(int roundTripCount)
Adds optional information about round-trip count to database server.

Parameters:
roundTripCount - count of round-trips that took place. Only positive values are allowed.
Since:
1.7.0