A B C D E F G H I L M N O P R S T U

A

AbstractDatabaseStorage - Class in com.commsen.stopwatch.storages
Abstract class representig database storage.
AbstractDatabaseStorage() - Constructor for class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
allByGroupReportStatement - Variable in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Prepared statement initialized in AbstractDatabaseStorage.open() method with query returned by AbstractDatabaseStorage.getAllByGroupReportQuery()
allByLabelReportStatement - Variable in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Prepared statement initialized in AbstractDatabaseStorage.open() method with query returned by AbstractDatabaseStorage.getAllByLabelReportQuery()
allReportStatement - Variable in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Prepared statement initialized in AbstractDatabaseStorage.open() method with query returned by AbstractDatabaseStorage.getAllReportQuery()
ASC - Static variable in class com.commsen.stopwatch.util.ReportComparator
 

B

begin(String, String) - Method in class com.commsen.stopwatch.engines.DefaultStopwatchEngine
 
begin(String, String) - Method in class com.commsen.stopwatch.engines.MemoryStopwatchEngine
 
begin(String, String) - Method in interface com.commsen.stopwatch.StopwatchEngine
Method called when mensuration is started.
BY_AVG_TIME_ASC - Static variable in class com.commsen.stopwatch.util.ReportComparator
 
BY_AVG_TIME_DESC - Static variable in class com.commsen.stopwatch.util.ReportComparator
 
BY_COUNT_ASC - Static variable in class com.commsen.stopwatch.util.ReportComparator
 
BY_COUNT_DESC - Static variable in class com.commsen.stopwatch.util.ReportComparator
 
BY_GROUP_ASC - Static variable in class com.commsen.stopwatch.util.ReportComparator
 
BY_GROUP_DESC - Static variable in class com.commsen.stopwatch.util.ReportComparator
 
BY_LABEL_ASC - Static variable in class com.commsen.stopwatch.util.ReportComparator
 
BY_LABEL_DESC - Static variable in class com.commsen.stopwatch.util.ReportComparator
 
BY_MAX_TIME_ASC - Static variable in class com.commsen.stopwatch.util.ReportComparator
 
BY_MAX_TIME_DESC - Static variable in class com.commsen.stopwatch.util.ReportComparator
 
BY_MIN_TIME_ASC - Static variable in class com.commsen.stopwatch.util.ReportComparator
 
BY_MIN_TIME_DESC - Static variable in class com.commsen.stopwatch.util.ReportComparator
 
BY_TOTAL_TIME_ASC - Static variable in class com.commsen.stopwatch.util.ReportComparator
 
BY_TOTAL_TIME_DESC - Static variable in class com.commsen.stopwatch.util.ReportComparator
 

C

cancel() - Method in class com.commsen.stopwatch.Meter
Simply forwards to Stopwatch.skip(long)
close() - Method in interface com.commsen.stopwatch.StopwatchStorage
Called when engine is about to be stopped or for some other reason will no more use this storage.
close() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
close() - Method in class com.commsen.stopwatch.storages.DefaultHSQLInMemoryStorage
 
close() - Method in class com.commsen.stopwatch.storages.DefaultHSQLStorage
 
com.commsen.stopwatch - package com.commsen.stopwatch
 
com.commsen.stopwatch.engines - package com.commsen.stopwatch.engines
 
com.commsen.stopwatch.jmx - package com.commsen.stopwatch.jmx
 
com.commsen.stopwatch.reports - package com.commsen.stopwatch.reports
 
com.commsen.stopwatch.storages - package com.commsen.stopwatch.storages
 
com.commsen.stopwatch.util - package com.commsen.stopwatch.util
 
com.commsen.stopwatch.web.filter - package com.commsen.stopwatch.web.filter
 
compare(Object, Object) - Method in class com.commsen.stopwatch.util.ReportComparator
 
compareTo(Object) - Method in class com.commsen.stopwatch.reports.DefaultStopwatchReport
Compares this report with the specified report for order.
completeRecord(long, Object[]) - Method in interface com.commsen.stopwatch.StopwatchStorage
Instructs the storage to complete (at least remember the time) the record identified by given parameters.
completeRecord(long, Object[]) - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
completeRecord(long, Object[]) - Method in class com.commsen.stopwatch.storages.MemoryHSQLInMemoryStorage
 
completeRecord(long, Object[]) - Method in class com.commsen.stopwatch.storages.MemoryHSQLStorage
 
completeRecord(long, Object[]) - Method in class com.commsen.stopwatch.storages.StorageManager
 
COUNT - Static variable in class com.commsen.stopwatch.util.ReportComparator
 

D

DEFAULT_ENGINE - Static variable in class com.commsen.stopwatch.Stopwatch
 
DEFAULT_ENGINE_PROPERTIES - Static variable in class com.commsen.stopwatch.Stopwatch
 
DEFAULT_MODE - Static variable in class com.commsen.stopwatch.Stopwatch
 
DEFAULT_STORAGE - Static variable in class com.commsen.stopwatch.Stopwatch
 
DEFAULT_STORAGE_PROPERTIES - Static variable in class com.commsen.stopwatch.Stopwatch
 
DefaultHSQLInMemoryStorage - Class in com.commsen.stopwatch.storages
Default stopwatch storage.
DefaultHSQLInMemoryStorage() - Constructor for class com.commsen.stopwatch.storages.DefaultHSQLInMemoryStorage
 
DefaultHSQLStorage - Class in com.commsen.stopwatch.storages
TODO Dokumentacja
DefaultHSQLStorage() - Constructor for class com.commsen.stopwatch.storages.DefaultHSQLStorage
 
DefaultStopwatchEngine - Class in com.commsen.stopwatch.engines
Default stopwatch engine.
DefaultStopwatchEngine() - Constructor for class com.commsen.stopwatch.engines.DefaultStopwatchEngine
 
DefaultStopwatchReport - Class in com.commsen.stopwatch.reports
This is the default implementation of Report interface.
DefaultStopwatchReport(String, String, long, double, double, double, double) - Constructor for class com.commsen.stopwatch.reports.DefaultStopwatchReport
Creates new instance of this class.
DELAYED_MODE - Static variable in class com.commsen.stopwatch.storages.StorageManager
Storage manager keeps in memory data gathered on "start" and stores all together when "end" is called.
deletePreparedStatement - Variable in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Prepared statement initialized in AbstractDatabaseStorage.open() method with query returned by AbstractDatabaseStorage.getDeleteQuery()
DESC - Static variable in class com.commsen.stopwatch.util.ReportComparator
 
destroy() - Method in class com.commsen.stopwatch.web.filter.RequestTimingFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.commsen.stopwatch.web.filter.RequestTimingFilter
 

E

end(long) - Method in class com.commsen.stopwatch.engines.DefaultStopwatchEngine
 
end(long) - Method in class com.commsen.stopwatch.engines.MemoryStopwatchEngine
 
end(long) - Method in interface com.commsen.stopwatch.StopwatchEngine
Method called when mensuration is stopped.
equals(Object) - Method in class com.commsen.stopwatch.reports.DefaultStopwatchReport
 
equals(Object) - Method in class com.commsen.stopwatch.reports.LoadStopwatchReport
Deprecated.  
equals(Object) - Method in class com.commsen.stopwatch.reports.MemoryStopwatchReport
 

F

freeze() - Method in interface com.commsen.stopwatch.StopwatchStorage
Called when engine is about to be paused or for some other reason will temporary not use this storage.
freeze() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
freeze() - Method in class com.commsen.stopwatch.storages.DefaultHSQLInMemoryStorage
 
freeze() - Method in class com.commsen.stopwatch.storages.DefaultHSQLStorage
 

G

getAllByGroupReportQuery() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Called to obtain the query to be executed when summary report about all groups is to be generated
getAllByGroupReports() - Static method in class com.commsen.stopwatch.Stopwatch
 
getAllByGroupReports(ReportComparator) - Static method in class com.commsen.stopwatch.Stopwatch
 
getAllByGroupReports() - Method in interface com.commsen.stopwatch.StopwatchStorage
Implementing methods should generate and return an array of reports.
getAllByGroupReports() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
This method simply calls AbstractDatabaseStorage.prepareReports(PreparedStatement, Object[]) passing AbstractDatabaseStorage.allByGroupReportStatement as statement and no parameters (null value).
getAllByLabelReportQuery() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Called to obtain the query to be executed when summary report about all labels is to be generated
getAllByLabelReports() - Static method in class com.commsen.stopwatch.Stopwatch
 
getAllByLabelReports(ReportComparator) - Static method in class com.commsen.stopwatch.Stopwatch
 
getAllByLabelReports() - Method in interface com.commsen.stopwatch.StopwatchStorage
Implementing methods should generate and return an array of reports.
getAllByLabelReports() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
This method simply calls AbstractDatabaseStorage.prepareReports(PreparedStatement, Object[]) passing AbstractDatabaseStorage.allByLabelReportStatement as statement and no parameters (null value).
getAllReportQuery() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Called to obtain the query to be executed when report about all groups and labels is to be generated
getAllReports() - Static method in class com.commsen.stopwatch.Stopwatch
Generates an array of reports which contains exactly 1 element for each combination of group and label If there is no enough data to produce reports, this method returns null
getAllReports(ReportComparator) - Static method in class com.commsen.stopwatch.Stopwatch
Generates an array of reports which contains exactly 1 element for each combination of group and label If there is no enough data to produce reports, this method returns null
getAverageLoad() - Method in class com.commsen.stopwatch.reports.LoadStopwatchReport
Deprecated.  
getAverageMemory() - Method in class com.commsen.stopwatch.reports.MemoryStopwatchReport
 
getAverageTime() - Method in interface com.commsen.stopwatch.Report
The average of all completed measurements for this label and/or group
getAverageTime() - Method in class com.commsen.stopwatch.reports.DefaultStopwatchReport
 
getCheckTableQuery() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Provides SQL query which will be executed to check if table exist
getConnectionString() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Called to obtain the connection string
getConnectionString() - Method in class com.commsen.stopwatch.storages.DefaultHSQLInMemoryStorage
 
getConnectionString() - Method in class com.commsen.stopwatch.storages.DefaultHSQLStorage
 
getCount() - Method in interface com.commsen.stopwatch.Report
The number of all completed measurements for this label and/or group
getCount() - Method in class com.commsen.stopwatch.reports.DefaultStopwatchReport
 
getCreateTableQuery() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Called to obtain the query to be executed when table needs to be created.
getCreateTableQuery() - Method in class com.commsen.stopwatch.storages.MemoryHSQLInMemoryStorage
 
getCreateTableQuery() - Method in class com.commsen.stopwatch.storages.MemoryHSQLStorage
 
getDeleteQuery() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
getDriver() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Called to obtain the JDBC driver to use
getDriver() - Method in class com.commsen.stopwatch.storages.DefaultHSQLInMemoryStorage
 
getDriver() - Method in class com.commsen.stopwatch.storages.DefaultHSQLStorage
 
getEngine() - Method in class com.commsen.stopwatch.jmx.StopwatchManager
 
getEngine() - Method in interface com.commsen.stopwatch.jmx.StopwatchManagerMBean
 
getEngineClass() - Static method in class com.commsen.stopwatch.Stopwatch
 
getGroup() - Method in interface com.commsen.stopwatch.Report
Information about the group for which this report was generated.
getGroup() - Method in class com.commsen.stopwatch.reports.DefaultStopwatchReport
 
getGroupBy() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
The group by clause used in all report queries Default is: _group, _label
getGroupLabelLoadQuery() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
getGroupLoad(String, int, int) - Static method in class com.commsen.stopwatch.Stopwatch
Returns information of how many instances of any measured code in group group ware running for the last numberOfPeriods periods.
getGroupLoadQuery() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
getGroupReportQuery() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Called to obtain the query to be executed when report about given group and label is to be generated
getGroupReports(String) - Static method in class com.commsen.stopwatch.Stopwatch
Generates an array of reports which contains exactly 1 element for each group If there is no enough data to produce the report, this method returns null
getGroupReports(String, ReportComparator) - Static method in class com.commsen.stopwatch.Stopwatch
Generates an array of reports which contains exactly 1 element for each group If there is no enough data to produce the report, this method returns null
getGroupReports(String) - Method in interface com.commsen.stopwatch.StopwatchStorage
Implementing methods should generate and return an array of reports.
getGroupReports(String) - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
This method simply calls AbstractDatabaseStorage.prepareReports(PreparedStatement, Object[]) passing AbstractDatabaseStorage.groupReportStatement as statement and group as parameter.
getInsertQuery() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
getInsertQuery() - Method in class com.commsen.stopwatch.storages.MemoryHSQLInMemoryStorage
 
getInsertQuery() - Method in class com.commsen.stopwatch.storages.MemoryHSQLStorage
 
getLabel() - Method in interface com.commsen.stopwatch.Report
Information about the label for which this report was generated.
getLabel() - Method in class com.commsen.stopwatch.reports.DefaultStopwatchReport
 
getLabelLoad(String, int, int) - Static method in class com.commsen.stopwatch.Stopwatch
Returns information of how many instances of any measured code labeled label ware running for the last numberOfPeriods periods.
getLabelLoadQuery() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
getLabelReportQuery() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Called to obtain the query to be executed when report about given group and label is to be generated
getLabelReports(String) - Static method in class com.commsen.stopwatch.Stopwatch
Generates an array of reports which contains exactly 1 element for each label If there is no enough data to produce the report, this method returns null
getLabelReports(String, ReportComparator) - Static method in class com.commsen.stopwatch.Stopwatch
Generates an array of reports which contains exactly 1 element for each label If there is no enough data to produce the report, this method returns null
getLabelReports(String) - Method in interface com.commsen.stopwatch.StopwatchStorage
Implementing methods should generate and return an array of reports.
getLabelReports(String) - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
This method simply calls AbstractDatabaseStorage.prepareReports(PreparedStatement, Object[]) passing AbstractDatabaseStorage.labelReportStatement as statement and label as parameter.
getLastIdentityQuery() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
getLastIdentityQuery() - Method in class com.commsen.stopwatch.storages.DefaultHSQLInMemoryStorage
 
getLastIdentityQuery() - Method in class com.commsen.stopwatch.storages.DefaultHSQLStorage
 
getLoad(int, int) - Static method in class com.commsen.stopwatch.Stopwatch
Returns information of how many instances of any measured code ware running for the last numberOfPeriods periods.
getLoad(String, String, int, int) - Static method in class com.commsen.stopwatch.Stopwatch
Returns information of how many instances of any measured code in group group labeled label ware running for the last numberOfPeriods periods.
getLoad(String, String, int, int) - Method in interface com.commsen.stopwatch.StopwatchStorage
Implementing methods should generate and return information of how many instances of the code specified by group and label ware running for the last numberOfPeriods periods.
getLoad(String, String, int, int) - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
getLoadQuery() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
getLoadReports(String, String, int, int) - Method in class com.commsen.stopwatch.jmx.StopwatchManager
 
getLoadReports(String, String, int, int) - Method in interface com.commsen.stopwatch.jmx.StopwatchManagerMBean
 
getLogger() - Method in class com.commsen.stopwatch.engines.DefaultStopwatchEngine
 
getLogger() - Method in class com.commsen.stopwatch.engines.MemoryStopwatchEngine
 
getLogger() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Returns the logger for this class
getLogger() - Method in class com.commsen.stopwatch.storages.DefaultHSQLInMemoryStorage
 
getLogger() - Method in class com.commsen.stopwatch.storages.DefaultHSQLStorage
 
getLogger() - Method in class com.commsen.stopwatch.storages.MemoryHSQLInMemoryStorage
 
getLogger() - Method in class com.commsen.stopwatch.storages.MemoryHSQLStorage
 
getMaxLoad() - Method in class com.commsen.stopwatch.reports.LoadStopwatchReport
Deprecated.  
getMaxMemory() - Method in class com.commsen.stopwatch.reports.MemoryStopwatchReport
 
getMaxTime() - Method in interface com.commsen.stopwatch.Report
The maximal of all completed measurements for this label and/or group
getMaxTime() - Method in class com.commsen.stopwatch.reports.DefaultStopwatchReport
 
getMinLoad() - Method in class com.commsen.stopwatch.reports.LoadStopwatchReport
Deprecated.  
getMinMemory() - Method in class com.commsen.stopwatch.reports.MemoryStopwatchReport
 
getMinTime() - Method in interface com.commsen.stopwatch.Report
The minimal of all completed measurements for this label and/or group
getMinTime() - Method in class com.commsen.stopwatch.reports.DefaultStopwatchReport
 
getOrderBy() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
The order by clause used in all report queries Default is: _group, _label
getPassword() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Called to obtain the database password
getPassword() - Method in class com.commsen.stopwatch.storages.DefaultHSQLInMemoryStorage
 
getPassword() - Method in class com.commsen.stopwatch.storages.DefaultHSQLStorage
 
getPersistenceMode() - Method in class com.commsen.stopwatch.engines.DefaultStopwatchEngine
 
getPersistenceMode() - Static method in class com.commsen.stopwatch.Stopwatch
 
getProperties() - Method in class com.commsen.stopwatch.engines.DefaultStopwatchEngine
 
getProperties() - Method in interface com.commsen.stopwatch.StopwatchEngine
Returns engine properties.
getProperties() - Method in interface com.commsen.stopwatch.StopwatchStorage
Returns storage properties.
getProperties() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Returns storage properties.
getProperty(String, String) - Static method in class com.commsen.stopwatch.Stopwatch
Tries to get the value of property key
getReport(String, String) - Method in interface com.commsen.stopwatch.StopwatchStorage
Implementing methods should generate and return a single report for provided group and label If there is no enough data to produce the report, method should return null
getReport(String, String) - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
This method simply calls AbstractDatabaseStorage.prepareReports(PreparedStatement, Object[]) passing AbstractDatabaseStorage.singleReportStatement as statement and group and label as parameters.
getReports(String, String) - Method in class com.commsen.stopwatch.jmx.StopwatchManager
 
getReports(String, String) - Method in interface com.commsen.stopwatch.jmx.StopwatchManagerMBean
 
getReports() - Method in interface com.commsen.stopwatch.StopwatchStorage
Implementing methods should generate and return an array of reports.
getReports() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
This method simply calls AbstractDatabaseStorage.prepareReports(PreparedStatement, Object[]) passing AbstractDatabaseStorage.allReportStatement as statement and no parameters (null value).
getReportsAsString(String, String) - Method in class com.commsen.stopwatch.jmx.StopwatchManager
 
getReportsAsString(String, String) - Method in interface com.commsen.stopwatch.jmx.StopwatchManagerMBean
 
getReportsAsXML(String, String) - Method in class com.commsen.stopwatch.jmx.StopwatchManager
 
getReportsAsXML(String, String) - Method in interface com.commsen.stopwatch.jmx.StopwatchManagerMBean
 
getReturnColumns() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Called to obtain the columns to be returned.
getReturnColumns() - Method in class com.commsen.stopwatch.storages.DefaultHSQLInMemoryStorage
 
getReturnColumns() - Method in class com.commsen.stopwatch.storages.DefaultHSQLStorage
 
getReturnColumns() - Method in class com.commsen.stopwatch.storages.MemoryHSQLInMemoryStorage
 
getReturnColumns() - Method in class com.commsen.stopwatch.storages.MemoryHSQLStorage
 
getSingleReport(String, String) - Static method in class com.commsen.stopwatch.Stopwatch
Generates a single report for provided group and label If there is no enough data to produce the report, this method returns null
getSingleReportQuery() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Called to obtain the query to be executed when report about given group and label is to be generated
getStorage() - Method in class com.commsen.stopwatch.engines.DefaultStopwatchEngine
 
getStorage() - Method in class com.commsen.stopwatch.jmx.StopwatchManager
 
getStorage() - Method in interface com.commsen.stopwatch.jmx.StopwatchManagerMBean
 
getStorage() - Method in interface com.commsen.stopwatch.StopwatchEngine
Allows clients to get reference to the stopwatch's storage.
getStorageClass() - Method in class com.commsen.stopwatch.engines.DefaultStopwatchEngine
 
getStorageClass() - Static method in class com.commsen.stopwatch.Stopwatch
 
getStorageClass() - Method in interface com.commsen.stopwatch.StopwatchEngine
Method called to obtain the current storage class
getStorageManager() - Method in class com.commsen.stopwatch.engines.DefaultStopwatchEngine
 
getTableName() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Provides the table name
getTableName() - Method in class com.commsen.stopwatch.storages.DefaultHSQLInMemoryStorage
 
getTableName() - Method in class com.commsen.stopwatch.storages.DefaultHSQLStorage
 
getTableName() - Method in class com.commsen.stopwatch.storages.MemoryHSQLInMemoryStorage
 
getTableName() - Method in class com.commsen.stopwatch.storages.MemoryHSQLStorage
 
getTotalTime() - Method in interface com.commsen.stopwatch.Report
The sum of all completed measurements for this label and/or group
getTotalTime() - Method in class com.commsen.stopwatch.reports.DefaultStopwatchReport
 
getTruncTableQuery() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Called to obtain the query to be executed when table needs to be truncated
getTruncTableQuery() - Method in class com.commsen.stopwatch.storages.DefaultHSQLInMemoryStorage
 
getUpdateQuery() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
getUpdateQuery() - Method in class com.commsen.stopwatch.storages.MemoryHSQLInMemoryStorage
 
getUpdateQuery() - Method in class com.commsen.stopwatch.storages.MemoryHSQLStorage
 
getUser() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Called to obtain the database user name
getUser() - Method in class com.commsen.stopwatch.storages.DefaultHSQLInMemoryStorage
 
getUser() - Method in class com.commsen.stopwatch.storages.DefaultHSQLStorage
 
GROUP - Static variable in class com.commsen.stopwatch.util.ReportComparator
 
groupLabelLoadStatement - Variable in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
groupLoadStatement - Variable in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
groupReportStatement - Variable in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Prepared statement initialized in AbstractDatabaseStorage.open() method with query returned by AbstractDatabaseStorage.getGroupReportQuery()

H

hashCode() - Method in class com.commsen.stopwatch.reports.DefaultStopwatchReport
 
hashCode() - Method in class com.commsen.stopwatch.reports.LoadStopwatchReport
Deprecated.  
hashCode() - Method in class com.commsen.stopwatch.reports.MemoryStopwatchReport
 

I

init(FilterConfig) - Method in class com.commsen.stopwatch.web.filter.RequestTimingFilter
 
insertPreparedStatement - Variable in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Prepared statement initialized in AbstractDatabaseStorage.open() method with query returned by AbstractDatabaseStorage.getInsertQuery()
isActive() - Method in class com.commsen.stopwatch.jmx.StopwatchManager
 
isActive() - Method in interface com.commsen.stopwatch.jmx.StopwatchManagerMBean
 
isActive() - Static method in class com.commsen.stopwatch.Stopwatch
Called to check if Stopwatch is active.
isChanged() - Method in class com.commsen.stopwatch.jmx.StopwatchManager
 
isChanged() - Method in interface com.commsen.stopwatch.jmx.StopwatchManagerMBean
 
isDebug() - Method in class com.commsen.stopwatch.engines.DefaultStopwatchEngine
 
isDebug() - Method in class com.commsen.stopwatch.jmx.StopwatchManager
 
isDebug() - Method in interface com.commsen.stopwatch.jmx.StopwatchManagerMBean
 
isDebug() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Checks if debug log level is enabled in both Stopwatch and Log4j.
isDebugEnabled() - Method in class com.commsen.stopwatch.engines.DefaultStopwatchEngine
 
isDebugEnabled() - Static method in class com.commsen.stopwatch.Stopwatch
Called to check if Stopwatch should produce debug information.
isDebugEnabled() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
isDebugEnabled() - Method in class com.commsen.stopwatch.storages.DefaultHSQLInMemoryStorage
 
isDebugEnabled() - Method in class com.commsen.stopwatch.storages.DefaultHSQLStorage
 
isInitialised() - Static method in class com.commsen.stopwatch.Stopwatch
 

L

LABEL - Static variable in class com.commsen.stopwatch.util.ReportComparator
 
labelLoadStatement - Variable in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
labelReportStatement - Variable in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Prepared statement initialized in AbstractDatabaseStorage.open() method with query returned by AbstractDatabaseStorage.getLabelReportQuery()
lastIdentityStatement - Variable in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Prepared statement initialized in AbstractDatabaseStorage.open() method with query returned by AbstractDatabaseStorage.getLastIdentityQuery()
loadStatement - Variable in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
LoadStopwatchReport - Class in com.commsen.stopwatch.reports
Deprecated. new method Stopwatch.getLoad(int, int) introduced in version 0.3
LoadStopwatchReport(String, String, long, long, long, long, long, long, long, long) - Constructor for class com.commsen.stopwatch.reports.LoadStopwatchReport
Deprecated.  

M

MemoryHSQLInMemoryStorage - Class in com.commsen.stopwatch.storages
TODO Dokumentacja
MemoryHSQLInMemoryStorage() - Constructor for class com.commsen.stopwatch.storages.MemoryHSQLInMemoryStorage
 
MemoryHSQLStorage - Class in com.commsen.stopwatch.storages
TODO Dokumentacja
MemoryHSQLStorage() - Constructor for class com.commsen.stopwatch.storages.MemoryHSQLStorage
 
MemoryStopwatchEngine - Class in com.commsen.stopwatch.engines
This class extends default Stopwatch's engine to provide information about memory usage.
MemoryStopwatchEngine() - Constructor for class com.commsen.stopwatch.engines.MemoryStopwatchEngine
 
MemoryStopwatchReport - Class in com.commsen.stopwatch.reports
This report contains additional memory usage statistics.
MemoryStopwatchReport(String, String, long, double, double, double, double, long, long, long) - Constructor for class com.commsen.stopwatch.reports.MemoryStopwatchReport
 
Meter - Class in com.commsen.stopwatch
Simple class to wrap basic stopwatch methods.

N

newCompleteRecord(Object[], Object[]) - Method in interface com.commsen.stopwatch.StopwatchStorage
Instructs the storage to create new complete record and store passed parameters.
newCompleteRecord(Object[], Object[]) - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
newRecord(Object[]) - Method in interface com.commsen.stopwatch.StopwatchStorage
Instructs the storage to create new record and store passed parameters.
newRecord(Object[]) - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
newRecord(Object[]) - Method in class com.commsen.stopwatch.storages.MemoryHSQLInMemoryStorage
 
newRecord(Object[]) - Method in class com.commsen.stopwatch.storages.MemoryHSQLStorage
 
newRecord(Object[]) - Method in class com.commsen.stopwatch.storages.StorageManager
 
NORMAL_MODE - Static variable in class com.commsen.stopwatch.storages.StorageManager
Storage manager will insert record into database when "start" method is called and update it when "stop" method is called.

O

open() - Method in interface com.commsen.stopwatch.StopwatchStorage
Called when engine is about to use the storage for the first time.
open() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 

P

pause() - Method in class com.commsen.stopwatch.engines.DefaultStopwatchEngine
 
pause() - Method in interface com.commsen.stopwatch.StopwatchEngine
Called when Stopwatch is disabled or for any other reason it will not use this engine for some time.
pause() - Method in class com.commsen.stopwatch.storages.StorageManager
 
prepareReports(PreparedStatement, Object[]) - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
This method simply executes given statement with given params.
prepareReports(PreparedStatement, Object[]) - Method in class com.commsen.stopwatch.storages.MemoryHSQLInMemoryStorage
 
prepareReports(PreparedStatement, Object[]) - Method in class com.commsen.stopwatch.storages.MemoryHSQLStorage
 
properties - Variable in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
PROPERTY_ACTIVE - Static variable in class com.commsen.stopwatch.Stopwatch
 
PROPERTY_DEBUG - Static variable in class com.commsen.stopwatch.Stopwatch
 
PROPERTY_ENGINE - Static variable in class com.commsen.stopwatch.Stopwatch
 
PROPERTY_ENGINE_PROPERTIES - Static variable in class com.commsen.stopwatch.Stopwatch
 
PROPERTY_JMX_MANAGED - Static variable in class com.commsen.stopwatch.Stopwatch
 
PROPERTY_MBEAN_SERVER_NAME - Static variable in class com.commsen.stopwatch.Stopwatch
 
PROPERTY_MODE - Static variable in class com.commsen.stopwatch.Stopwatch
 
PROPERTY_STORAGE - Static variable in class com.commsen.stopwatch.Stopwatch
 
PROPERTY_STORAGE_PROPERTIES - Static variable in class com.commsen.stopwatch.Stopwatch
 

R

removeRecord(long) - Method in interface com.commsen.stopwatch.StopwatchStorage
Instructs the storage to remove the record identified by given parameters.
removeRecord(long) - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
removeRecord(long) - Method in class com.commsen.stopwatch.storages.StorageManager
 
Report - Interface in com.commsen.stopwatch
Basic stopwatch report.
ReportComparator - Class in com.commsen.stopwatch.util
 
ReportComparator(int, int) - Constructor for class com.commsen.stopwatch.util.ReportComparator
 
RequestTimingFilter - Class in com.commsen.stopwatch.web.filter
TODO Dokumentacja
RequestTimingFilter() - Constructor for class com.commsen.stopwatch.web.filter.RequestTimingFilter
 
reset() - Method in class com.commsen.stopwatch.jmx.StopwatchManager
 
reset() - Method in interface com.commsen.stopwatch.jmx.StopwatchManagerMBean
 
reset() - Static method in class com.commsen.stopwatch.Stopwatch
 
resume() - Method in class com.commsen.stopwatch.engines.DefaultStopwatchEngine
 
resume() - Method in interface com.commsen.stopwatch.StopwatchEngine
Called when Stopwatch is enabled and before attepting to use paused engine.
resume() - Method in class com.commsen.stopwatch.storages.StorageManager
 
run() - Method in class com.commsen.stopwatch.storages.StorageManager
 

S

setActive(boolean) - Static method in class com.commsen.stopwatch.Stopwatch
This method changes stopwatch's status Should be used to activate/deactivate Stopwatch at runtime.
setDebug(boolean) - Method in class com.commsen.stopwatch.jmx.StopwatchManager
 
setDebug(boolean) - Method in interface com.commsen.stopwatch.jmx.StopwatchManagerMBean
 
setDebugEnabled(boolean) - Method in class com.commsen.stopwatch.engines.DefaultStopwatchEngine
 
setDebugEnabled(boolean) - Static method in class com.commsen.stopwatch.Stopwatch
Used to disable/enable Stopwatch's debug information.
setDebugEnabled(boolean) - Method in interface com.commsen.stopwatch.StopwatchEngine
Instructs engine to disable/enable debug information.
setDebugEnabled(boolean) - Method in interface com.commsen.stopwatch.StopwatchStorage
Instructs the storage to disable/enable debug information.
setDebugEnabled(boolean) - Method in class com.commsen.stopwatch.storages.DefaultHSQLInMemoryStorage
 
setDebugEnabled(boolean) - Method in class com.commsen.stopwatch.storages.DefaultHSQLStorage
 
setEngine(String) - Method in class com.commsen.stopwatch.jmx.StopwatchManager
 
setEngine(String) - Method in interface com.commsen.stopwatch.jmx.StopwatchManagerMBean
 
setPersistenceMode(int) - Method in class com.commsen.stopwatch.engines.DefaultStopwatchEngine
 
setPersistenceMode(int) - Method in interface com.commsen.stopwatch.StopwatchEngine
Method called to instruct engine in what mode persistence manager should work in.
setProperties(Properties) - Method in class com.commsen.stopwatch.engines.DefaultStopwatchEngine
 
setProperties(Properties) - Method in interface com.commsen.stopwatch.StopwatchEngine
Called by Stopwatch to set engine properties .
setProperties(Properties) - Method in interface com.commsen.stopwatch.StopwatchStorage
Called by Stopwatch to set storage properties .
setProperties(Properties) - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Called by Stopwatch to set storage properties .
setStorage(StopwatchStorage) - Method in class com.commsen.stopwatch.engines.DefaultStopwatchEngine
 
setStorage(String) - Method in class com.commsen.stopwatch.jmx.StopwatchManager
 
setStorage(String) - Method in interface com.commsen.stopwatch.jmx.StopwatchManagerMBean
 
setStorage(StopwatchStorage) - Method in interface com.commsen.stopwatch.StopwatchEngine
Method called to instruct engine to use user defined storage
singleReportStatement - Variable in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Prepared statement initialized in AbstractDatabaseStorage.open() method with query returned by AbstractDatabaseStorage.getSingleReportQuery()
skip(long) - Method in class com.commsen.stopwatch.engines.DefaultStopwatchEngine
 
skip(long) - Static method in class com.commsen.stopwatch.Stopwatch
Skip measurement identified by id.
skip(long) - Method in interface com.commsen.stopwatch.StopwatchEngine
Method called when mensuration with id id is to be skipped.
start() - Method in class com.commsen.stopwatch.engines.DefaultStopwatchEngine
 
start() - Method in class com.commsen.stopwatch.jmx.StopwatchAgent
 
start() - Method in class com.commsen.stopwatch.jmx.StopwatchManager
 
start() - Method in interface com.commsen.stopwatch.jmx.StopwatchManagerMBean
 
start(String, String) - Static method in class com.commsen.stopwatch.Stopwatch
Starts new measurement.
start() - Method in interface com.commsen.stopwatch.StopwatchEngine
Method called by Stopwatch when initilializing Stopwatch engine.
start() - Method in class com.commsen.stopwatch.storages.StorageManager
 
startMeter(String, String) - Static method in class com.commsen.stopwatch.Stopwatch
Starts new measurement and provides a Meter which can be later on stopped (Meter.stop()) or canceled (Meter.cancel()).
stop() - Method in class com.commsen.stopwatch.engines.DefaultStopwatchEngine
 
stop() - Method in class com.commsen.stopwatch.jmx.StopwatchAgent
 
stop() - Method in class com.commsen.stopwatch.jmx.StopwatchManager
 
stop() - Method in interface com.commsen.stopwatch.jmx.StopwatchManagerMBean
 
stop() - Method in class com.commsen.stopwatch.Meter
Simply forwards to Stopwatch.stop(long)
stop(long) - Static method in class com.commsen.stopwatch.Stopwatch
Stop measurement identified by id.
stop() - Method in interface com.commsen.stopwatch.StopwatchEngine
Called when Stopwatch's engine is changed or for any other reason Stopwatch will no longer use this engine.
stop() - Method in class com.commsen.stopwatch.storages.StorageManager
 
Stopwatch - Class in com.commsen.stopwatch
Stopwatch allows you to measure performance of any given piece of code.
Stopwatch() - Constructor for class com.commsen.stopwatch.Stopwatch
 
StopwatchAgent - Class in com.commsen.stopwatch.jmx
TODO Dokumentacja
StopwatchAgent(String) - Constructor for class com.commsen.stopwatch.jmx.StopwatchAgent
 
StopwatchEngine - Interface in com.commsen.stopwatch
Interface describes the basic functionality a Stopwatch engine should support.
StopwatchManager - Class in com.commsen.stopwatch.jmx
 
StopwatchManager() - Constructor for class com.commsen.stopwatch.jmx.StopwatchManager
 
StopwatchManagerMBean - Interface in com.commsen.stopwatch.jmx
 
StopwatchStorage - Interface in com.commsen.stopwatch
Interface describes the basic functionality a Stopwatch storage should support.
StopwatchStorageException - Exception in com.commsen.stopwatch
Thrown when error occures while reading or writing data from/to given storage.
StopwatchStorageException() - Constructor for exception com.commsen.stopwatch.StopwatchStorageException
 
StopwatchStorageException(String) - Constructor for exception com.commsen.stopwatch.StopwatchStorageException
 
StopwatchStorageException(Throwable) - Constructor for exception com.commsen.stopwatch.StopwatchStorageException
 
StopwatchStorageException(String, Throwable) - Constructor for exception com.commsen.stopwatch.StopwatchStorageException
 
StorageManager - Class in com.commsen.stopwatch.storages
TODO Dokumentacja
StorageManager(StopwatchStorage, int) - Constructor for class com.commsen.stopwatch.storages.StorageManager
 
SYSTEM_PROPERTIES_PREFIX - Static variable in class com.commsen.stopwatch.Stopwatch
 

T

THREAD_MODE - Static variable in class com.commsen.stopwatch.storages.StorageManager
Same as StorageManager.NORMAL_MODE but storage manager runs in separate thread, thus resulting in more correct measurements.
TIME_AVG - Static variable in class com.commsen.stopwatch.util.ReportComparator
 
TIME_MAX - Static variable in class com.commsen.stopwatch.util.ReportComparator
 
TIME_MIN - Static variable in class com.commsen.stopwatch.util.ReportComparator
 
TIME_TOTAL - Static variable in class com.commsen.stopwatch.util.ReportComparator
 
toString() - Method in class com.commsen.stopwatch.reports.DefaultStopwatchReport
Generates string representation of this report
toString() - Method in class com.commsen.stopwatch.reports.LoadStopwatchReport
Deprecated. Generates string representation of this report
toString() - Method in class com.commsen.stopwatch.reports.MemoryStopwatchReport
Generates string representation of this report

U

unfreeze() - Method in interface com.commsen.stopwatch.StopwatchStorage
Called when engine is about to be resumed.
unfreeze() - Method in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
 
updatePreparedStatement - Variable in class com.commsen.stopwatch.storages.AbstractDatabaseStorage
Prepared statement initialized in AbstractDatabaseStorage.open() method with query returned by AbstractDatabaseStorage.getUpdateQuery()

A B C D E F G H I L M N O P R S T U

Copyright © 2006-2008 Commsen International. All Rights Reserved.