| Modifier and Type | Field and Description |
|---|---|
| public static final byte | NA
Not available value. |
| public static final byte | TYPE_EXECUTE
Profiler event for prepared statements being executed |
| public static final byte | TYPE_FETCH
Profiler event for result sets being retrieved |
| public static final byte | TYPE_OBJECT_CREATION
Profiler creating object type event |
| public static final byte | TYPE_PREPARE
Profiler event for prepared statements being prepared |
| public static final byte | TYPE_QUERY
Profiler event for a query being executed |
| public static final byte | TYPE_SLOW_QUERY
Profiler event for slow query |
| public static final byte | TYPE_USAGE
Profiler event for usage advisor |
| Modifier and Type | Method and Description |
|---|---|
| public long | Returns: the connection in useReturns the id of the associated connection (-1 for none). |
| public String | |
| public String | |
| public String | Returns: a description of where this event was created.Returns the description of where the event was created. |
| public long | Returns: the time this event was createdReturns the time (in System.currentTimeMillis() form) when this event was created. |
| public long | Returns: the duration of the event in millisecondsReturns the duration of the event in milliseconds |
| public byte | |
| public String | |
| public String | |
| public int | Returns: the result set in useReturns the id of the associated result set (-1 for none). |
| public int | Returns: the statement in useReturns the id of the associated statement (-1 for none). |
| public byte[] |
| NA | back to summary |
|---|---|
| public static final byte NA Not available value. | |
| TYPE_EXECUTE | back to summary |
|---|---|
| public static final byte TYPE_EXECUTE Profiler event for prepared statements being executed | |
| TYPE_FETCH | back to summary |
|---|---|
| public static final byte TYPE_FETCH Profiler event for result sets being retrieved | |
| TYPE_OBJECT_CREATION | back to summary |
|---|---|
| public static final byte TYPE_OBJECT_CREATION Profiler creating object type event | |
| TYPE_PREPARE | back to summary |
|---|---|
| public static final byte TYPE_PREPARE Profiler event for prepared statements being prepared | |
| TYPE_QUERY | back to summary |
|---|---|
| public static final byte TYPE_QUERY Profiler event for a query being executed | |
| TYPE_SLOW_QUERY | back to summary |
|---|---|
| public static final byte TYPE_SLOW_QUERY Profiler event for slow query | |
| TYPE_USAGE | back to summary |
|---|---|
| public static final byte TYPE_USAGE Profiler event for usage advisor | |
| getConnectionId | back to summary |
|---|---|
| public long getConnectionId() Returns the id of the associated connection (-1 for none).
| |
| getDatabase | back to summary |
|---|---|
| public String getDatabase() Returns the database the event occurred on.
| |
| getDurationUnits | back to summary |
|---|---|
| public String getDurationUnits() Returns the units for getEventDuration()
| |
| getEventCreationPointAsString | back to summary |
|---|---|
| public String getEventCreationPointAsString() Returns the description of where the event was created.
| |
| getEventCreationTime | back to summary |
|---|---|
| public long getEventCreationTime() Returns the time (in System.currentTimeMillis() form) when this event was created.
| |
| getEventDuration | back to summary |
|---|---|
| public long getEventDuration() Returns the duration of the event in milliseconds
| |
| getEventType | back to summary |
|---|---|
| public byte getEventType() Returns the event type
| |
| getHostName | back to summary |
|---|---|
| public String getHostName() Returns the host name the event occurred on.
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Returns the optional message for this event
| |
| getResultSetId | back to summary |
|---|---|
| public int getResultSetId() Returns the id of the associated result set (-1 for none).
| |
| getStatementId | back to summary |
|---|---|
| public int getStatementId() Returns the id of the associated statement (-1 for none).
| |
| pack | back to summary |
|---|---|
| public byte[] pack() Creates a binary representation of this event.
| |