Skip to content

Commit

Permalink
Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeheust committed Dec 6, 2024
1 parent a03bfb4 commit 1dcfe1f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public FlightRecorderTraceEventListener(boolean enable, boolean enableSensitiveD

/**
* Implements TraceEventListener.roundTrip and creates Java Flight Recorder events.
* @inheritDoc
* {@inheritDoc}
*/
@Override
public Object roundTrip(Sequence sequence, TraceContext traceContext, Object userContext) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@

/**
* Implements a TraceEventListenerProvider for FlightRecorderTraceEventListener.
* <ul>
* Two parameters can be used to configure the trace event listener:
* <ul>
* <li>
* <b>enable</b>: if true, the trace event listener will create events for
* each round trip otherwise no events will be created.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,14 @@ public class OracleEventFactory {
/**
* Creates an event for a given database operation.
* @param databaseOperation The database operation.
* @param isSensitive Indicates if sensitive fields should be created.
* @return returns a Java Flight Recorder Event containing the following
* fields:
* <ul>
* <li>ConnectionID</li>
* <li>DatabaseOperation</li>
* <li>OriginalSqlText: create if sensitive is enabled</li>
* <li>ActualSqlText: create if sensitive is enabled</li>
* <li>User: create if sensitive is enabled</li>
* <li>OriginalSqlText</li>
* <li>ActualSqlText</li>
* <li>User</li>
* </ul>
*/
public static Event createEvent(String databaseOperation) {
Expand Down

0 comments on commit 1dcfe1f

Please sign in to comment.