Index

B D E F G H I M N O P R S T 
All Classes and Interfaces|All Packages

B

BlockStats(int, long, long, List<String>, int, long, long, List<String>, int, long, long, List<String>) - Constructor for class net.brdloush.dbstopwatch.P6SpyStatsCollector.BlockStats
 

D

DbStopWatch - Class in net.brdloush.dbstopwatch
Stop watch that combines timing measurements with P6Spy query statistics.
DbStopWatch() - Constructor for class net.brdloush.dbstopwatch.DbStopWatch
 
DbStopWatch(String) - Constructor for class net.brdloush.dbstopwatch.DbStopWatch
 
DbStopWatch(String, Consumer<String>) - Constructor for class net.brdloush.dbstopwatch.DbStopWatch
 
DbStopWatch(String, Consumer<String>, Supplier<Clock>) - Constructor for class net.brdloush.dbstopwatch.DbStopWatch
 
DbStopWatch.TaskInfo - Class in net.brdloush.dbstopwatch
Data class to hold information about one task including query statistics.

E

equals(Object) - Method in class net.brdloush.dbstopwatch.DbStopWatch.TaskInfo
 
equals(Object) - Method in class net.brdloush.dbstopwatch.P6SpyStatsCollector.BlockStats
 

F

finish() - Method in class net.brdloush.dbstopwatch.DbStopWatch
Stops previous task (if running) and pretty prints to logFunction (if specified)

G

getBatchCount() - Method in class net.brdloush.dbstopwatch.DbStopWatch.TaskInfo
 
getBatchCount() - Method in class net.brdloush.dbstopwatch.P6SpyStatsCollector.BlockStats
 
getBatchMaxMs() - Method in class net.brdloush.dbstopwatch.DbStopWatch.TaskInfo
 
getBatchMaxMs() - Method in class net.brdloush.dbstopwatch.P6SpyStatsCollector.BlockStats
 
getBatchSqls() - Method in class net.brdloush.dbstopwatch.P6SpyStatsCollector.BlockStats
 
getBatchTotalMs() - Method in class net.brdloush.dbstopwatch.DbStopWatch.TaskInfo
 
getBatchTotalMs() - Method in class net.brdloush.dbstopwatch.P6SpyStatsCollector.BlockStats
 
getBlockStats() - Static method in class net.brdloush.dbstopwatch.P6SpyStatsCollector
 
getCurrentTaskName() - Method in class net.brdloush.dbstopwatch.DbStopWatch
Get the name of the currently running task, if any.
getLastTaskInfo() - Method in class net.brdloush.dbstopwatch.DbStopWatch
Get the last task as a TaskInfo object.
getQueryCount() - Method in class net.brdloush.dbstopwatch.DbStopWatch.TaskInfo
 
getQueryCount() - Method in class net.brdloush.dbstopwatch.P6SpyStatsCollector.BlockStats
 
getQueryMaxMs() - Method in class net.brdloush.dbstopwatch.DbStopWatch.TaskInfo
 
getQueryMaxMs() - Method in class net.brdloush.dbstopwatch.P6SpyStatsCollector.BlockStats
 
getQuerySqls() - Method in class net.brdloush.dbstopwatch.P6SpyStatsCollector.BlockStats
 
getQueryTotalMs() - Method in class net.brdloush.dbstopwatch.DbStopWatch.TaskInfo
 
getQueryTotalMs() - Method in class net.brdloush.dbstopwatch.P6SpyStatsCollector.BlockStats
 
getTaskCount() - Method in class net.brdloush.dbstopwatch.DbStopWatch
Get the number of tasks timed.
getTaskInfo() - Method in class net.brdloush.dbstopwatch.DbStopWatch
Get an array of the data for tasks performed.
getTaskName() - Method in class net.brdloush.dbstopwatch.DbStopWatch.TaskInfo
 
getTime(TimeUnit) - Method in class net.brdloush.dbstopwatch.DbStopWatch.TaskInfo
Get the time this task took in the requested time unit.
getTimeMillis() - Method in class net.brdloush.dbstopwatch.DbStopWatch.TaskInfo
Get the time this task took in milliseconds.
getTimeNanos() - Method in class net.brdloush.dbstopwatch.DbStopWatch.TaskInfo
 
getTimeSeconds() - Method in class net.brdloush.dbstopwatch.DbStopWatch.TaskInfo
Get the time this task took in seconds.
getTotalTime(TimeUnit) - Method in class net.brdloush.dbstopwatch.DbStopWatch
Get the total time for all tasks in the requested time unit.
getTotalTimeMillis() - Method in class net.brdloush.dbstopwatch.DbStopWatch
Get the total time for all tasks in milliseconds.
getTotalTimeNanos() - Method in class net.brdloush.dbstopwatch.DbStopWatch
Get the total time for all tasks in nanoseconds.
getTotalTimeSeconds() - Method in class net.brdloush.dbstopwatch.DbStopWatch
Get the total time for all tasks in seconds.
getUpdateCount() - Method in class net.brdloush.dbstopwatch.DbStopWatch.TaskInfo
 
getUpdateCount() - Method in class net.brdloush.dbstopwatch.P6SpyStatsCollector.BlockStats
 
getUpdateMaxMs() - Method in class net.brdloush.dbstopwatch.DbStopWatch.TaskInfo
 
getUpdateMaxMs() - Method in class net.brdloush.dbstopwatch.P6SpyStatsCollector.BlockStats
 
getUpdateSqls() - Method in class net.brdloush.dbstopwatch.P6SpyStatsCollector.BlockStats
 
getUpdateTotalMs() - Method in class net.brdloush.dbstopwatch.DbStopWatch.TaskInfo
 
getUpdateTotalMs() - Method in class net.brdloush.dbstopwatch.P6SpyStatsCollector.BlockStats
 

H

hashCode() - Method in class net.brdloush.dbstopwatch.DbStopWatch.TaskInfo
 
hashCode() - Method in class net.brdloush.dbstopwatch.P6SpyStatsCollector.BlockStats
 

I

isRunning() - Method in class net.brdloush.dbstopwatch.DbStopWatch
Determine whether this DbStopWatch is currently running.

M

markBlockStart() - Static method in class net.brdloush.dbstopwatch.P6SpyStatsCollector
 

N

net.brdloush.dbstopwatch - package net.brdloush.dbstopwatch
 

O

onAfterExecute(PreparedStatementInformation, long, SQLException) - Method in class net.brdloush.dbstopwatch.P6SpyStatsCollector
 
onAfterExecute(StatementInformation, long, String, SQLException) - Method in class net.brdloush.dbstopwatch.P6SpyStatsCollector
 
onAfterExecuteBatch(StatementInformation, long, int[], SQLException) - Method in class net.brdloush.dbstopwatch.P6SpyStatsCollector
 
onAfterExecuteQuery(PreparedStatementInformation, long, SQLException) - Method in class net.brdloush.dbstopwatch.P6SpyStatsCollector
 
onAfterExecuteQuery(StatementInformation, long, String, SQLException) - Method in class net.brdloush.dbstopwatch.P6SpyStatsCollector
 
onAfterExecuteUpdate(PreparedStatementInformation, long, int, SQLException) - Method in class net.brdloush.dbstopwatch.P6SpyStatsCollector
 
onAfterExecuteUpdate(StatementInformation, long, String, int, SQLException) - Method in class net.brdloush.dbstopwatch.P6SpyStatsCollector
 

P

P6SpyStatsCollector - Class in net.brdloush.dbstopwatch
P6Spy event listener that captures real JDBC execution times including result set processing time.
P6SpyStatsCollector() - Constructor for class net.brdloush.dbstopwatch.P6SpyStatsCollector
 
P6SpyStatsCollector.BlockStats - Class in net.brdloush.dbstopwatch
 
prettyPrint() - Method in class net.brdloush.dbstopwatch.DbStopWatch
Generate a table describing all tasks performed in seconds with query statistics.
prettyPrint(TimeUnit) - Method in class net.brdloush.dbstopwatch.DbStopWatch
Generate a table describing all tasks performed in the requested time unit with query statistics.

R

reset() - Static method in class net.brdloush.dbstopwatch.P6SpyStatsCollector
 

S

setKeepTaskList(boolean) - Method in class net.brdloush.dbstopwatch.DbStopWatch
Configure whether the TaskInfo array is built over time.
shortSummary() - Method in class net.brdloush.dbstopwatch.DbStopWatch
Get a short description of the total running time in seconds.
start() - Method in class net.brdloush.dbstopwatch.DbStopWatch
Start an unnamed task.
start(String) - Method in class net.brdloush.dbstopwatch.DbStopWatch
Start a named task.
stop() - Method in class net.brdloush.dbstopwatch.DbStopWatch
Stop the current task and capture P6Spy statistics.
stopAndStart(String) - Method in class net.brdloush.dbstopwatch.DbStopWatch
Stops previous task (must be running) and starts a new one.

T

TaskInfo(String, long, long, double, long, long, double, long, long, double, long) - Constructor for class net.brdloush.dbstopwatch.DbStopWatch.TaskInfo
 
toString() - Method in class net.brdloush.dbstopwatch.DbStopWatch.TaskInfo
 
toString() - Method in class net.brdloush.dbstopwatch.DbStopWatch
Generate an informative string describing all tasks performed in seconds.
toString() - Method in class net.brdloush.dbstopwatch.P6SpyStatsCollector.BlockStats
 
B D E F G H I M N O P R S T 
All Classes and Interfaces|All Packages