Skip navigation links
A B C D E F G H I J L M N O P Q R S T U V W 

A

acceptsURL(String) - Method in class io.sniffy.MockDriver
 
accumulate(long, int, int) - Method in class io.sniffy.socket.SocketStats
 
accumulate(SocketStats) - Method in class io.sniffy.socket.SocketStats
 
accumulate(long, int, int, int, int) - Method in class io.sniffy.sql.SqlStats
 
accumulate(SqlStats) - Method in class io.sniffy.sql.SqlStats
 
addExecutedStatement(StatementMetaData, long, int, int, int) - Method in class io.sniffy.Spy
 
address - Variable in class io.sniffy.socket.SocketMetaData
 
addReturnedRow(StatementMetaData) - Method in class io.sniffy.Spy
 
addSocketOperation(SocketMetaData, long, int, int) - Method in class io.sniffy.Spy
 
addSuppressed(Throwable, Throwable) - Static method in class io.sniffy.util.ExceptionUtil
 
afterInvocation(IInvokedMethod, ITestResult) - Method in class io.sniffy.test.testng.SniffyTestNgListener
 
afterTestMethod(TestContext) - Method in class io.sniffy.test.spring.SniffySpringTestListener
 
AnnotationProcessor - Class in io.sniffy.test
 
AnnotationProcessor() - Constructor for class io.sniffy.test.AnnotationProcessor
 
anyThreads() - Method in class io.sniffy.socket.TcpConnections.TcpExpectation_Count
 
anyThreads() - Method in class io.sniffy.socket.TcpConnections.TcpExpectation_Count_Host
 
anyThreads() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries
 
anyThreads() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_CountRows
 
anyThreads() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_CountRows_QueryType
 
anyThreads() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_QueryType
 
anyThreads() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows
 
anyThreads() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_QueryType
 
apply(Statement, Description) - Method in class io.sniffy.test.junit.SniffyRule
 
atMostOnce() - Static method in class io.sniffy.socket.TcpConnections
 
atMostOneQuery() - Static method in class io.sniffy.sql.SqlQueries
 
atMostOneQuery() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows
 
atMostOneQuery() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_QueryType
 
atMostOneQuery() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_Threads
 
atMostOneQuery() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_Threads_QueryType
 
atMostOneRow() - Static method in class io.sniffy.sql.SqlQueries
 
atMostOneRow() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries
 
atMostOneRow() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_QueryType
 
atMostOneRow() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_Threads
 
atMostOneRow() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_Threads_QueryType
 
available() - Method in class io.sniffy.socket.SnifferInputStream
 

B

beforeInvocation(IInvokedMethod, ITestResult) - Method in class io.sniffy.test.testng.SniffyTestNgListener
 
beforeTestMethod(TestContext) - Method in class io.sniffy.test.spring.SniffySpringTestListener
 
between(int, int) - Static method in class io.sniffy.socket.TcpConnections
 
BufferedPrintWriter - Class in io.sniffy.servlet
 
BufferedPrintWriter(BufferedServletOutputStream) - Constructor for class io.sniffy.servlet.BufferedPrintWriter
 
buildSocketExpectationList(SocketExpectation, SocketExpectations, NoSocketsAllowed) - Static method in class io.sniffy.test.AnnotationProcessor
 
buildSocketExpectationList(Method) - Static method in class io.sniffy.test.AnnotationProcessor
 
buildSqlExpectationList(Expectations, Expectation, NoQueriesAllowed) - Static method in class io.sniffy.test.AnnotationProcessor
 
buildSqlExpectationList(Method) - Static method in class io.sniffy.test.AnnotationProcessor
 
bytesDown - Variable in class io.sniffy.socket.SocketStats
 
bytesUp - Variable in class io.sniffy.socket.SocketStats
 

C

cache - Variable in class io.sniffy.servlet.SnifferFilter
 
call(Callable<V>) - Static method in class io.sniffy.Sniffer
Execute the Callable.call() method, record the SQL queries and return the SpyWithValue object with stats
call(Callable<V>) - Method in class io.sniffy.Spy
Executes the Callable.call() method on provided argument and verifies the expectations
close() - Method in class io.sniffy.socket.SnifferInputStream
 
close() - Method in class io.sniffy.socket.SnifferOutputStream
 
close() - Method in class io.sniffy.Spy
Alias for Spy.verify() method; it is useful for try-with-resource API:
connect(String, Properties) - Method in class io.sniffy.MockDriver
 
connectionId - Variable in class io.sniffy.socket.SocketMetaData
 
ConnectionInvocationHandler - Class in io.sniffy.sql
 
ConnectionInvocationHandler(Connection) - Constructor for class io.sniffy.sql.ConnectionInvocationHandler
 
Constants - Interface in io.sniffy
Utility interface for storing the Sniffer constants
contextPath - Variable in class io.sniffy.servlet.SnifferFilter
 
copy(Object, Object) - Method in class io.sniffy.util.ReflectionFieldCopier
 
Count - Annotation Type in io.sniffy.test
 
createSocketImpl() - Method in class io.sniffy.socket.SnifferSocketImplFactory
 
currentThread() - Method in class io.sniffy.socket.TcpConnections.TcpExpectation_Count
 
currentThread() - Method in class io.sniffy.socket.TcpConnections.TcpExpectation_Count_Host
 
currentThread() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries
 
currentThread() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_CountRows
 
currentThread() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_CountRows_QueryType
 
currentThread() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_QueryType
 
currentThread() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows
 
currentThread() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_QueryType
 

D

DEFAULT_ENABLED - Static variable in class io.sniffy.boot.SniffyConfiguration
 
DEFAULT_INJECT_HTML - Static variable in class io.sniffy.boot.SniffyConfiguration
 
defaultSocketImplClassConstructor - Static variable in class io.sniffy.socket.SnifferSocketImplFactory
 
delegate - Variable in class io.sniffy.sql.SniffyInvocationHandler
 
delete() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries
 
delete() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_CountRows
 
delete() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_CountRows_Threads
 
delete() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_Threads
 
delete() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows
 
delete() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_Threads
 
destroy() - Method in class io.sniffy.servlet.SnifferFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class io.sniffy.servlet.SnifferFilter
 
DRIVER_PREFIX - Static variable in interface io.sniffy.Constants
Prefix to be used in JDBC URL, for exaple sniffer:jdbc:h2:mem:

E

elapsedTime - Variable in class io.sniffy.socket.SocketStats
 
enabled - Variable in class io.sniffy.servlet.SnifferFilter
 
EnableSniffy - Annotation Type in io.sniffy.boot
 
enterJdbcMethod() - Static method in class io.sniffy.Sniffer
 
equals(Object) - Method in class io.sniffy.socket.SocketMetaData
 
equals(Object) - Method in class io.sniffy.sql.StatementMetaData
 
escapeJsonString(String) - Static method in class io.sniffy.util.StringUtil
 
exact(int) - Static method in class io.sniffy.socket.TcpConnections
 
exactQueries(int) - Static method in class io.sniffy.sql.SqlQueries
 
exactQueries(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows
 
exactQueries(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_QueryType
 
exactQueries(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_Threads
 
exactQueries(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_Threads_QueryType
 
exactRows(int) - Static method in class io.sniffy.sql.SqlQueries
 
exactRows(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries
 
exactRows(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_QueryType
 
exactRows(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_Threads
 
exactRows(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_Threads_QueryType
 
ExceptionUtil - Class in io.sniffy.util
 
ExceptionUtil() - Constructor for class io.sniffy.util.ExceptionUtil
 
excludePattern - Variable in class io.sniffy.servlet.SnifferFilter
 
execute() - Method in interface io.sniffy.Sniffer.Executable
When Sniffer.execute(Sniffer.Executable) method is called, it will execute the Executable.execute() method, record the SQL queries and return the Spy object with stats
execute(Sniffer.Executable) - Static method in class io.sniffy.Sniffer
Execute the Sniffer.Executable.execute() method, record the SQL queries and return the Spy object with stats
execute(Sniffer.Executable) - Method in class io.sniffy.Spy
Executes the Sniffer.Executable.execute() method on provided argument and verifies the expectations
executedStatements() - Static method in class io.sniffy.Sniffer
Deprecated.
executedStatements() - Method in class io.sniffy.Spy
 
executedStatements(Threads) - Method in class io.sniffy.Spy
 
executedStatements(Threads, Query) - Method in class io.sniffy.Spy
 
executeStatement(String, long, String) - Static method in class io.sniffy.Sniffer
 
executeStatement(String, long, String, int) - Static method in class io.sniffy.Sniffer
 
exitJdbcMethod(Method, long) - Static method in class io.sniffy.Sniffer
 
expect(Spy.Expectation) - Static method in class io.sniffy.Sniffer
 
expect(List<Expectation>) - Static method in class io.sniffy.Sniffer
 
expect(int) - Static method in class io.sniffy.Sniffer
Deprecated.
expect(int, Threads) - Static method in class io.sniffy.Sniffer
Deprecated.
expect(int, Query) - Static method in class io.sniffy.Sniffer
Deprecated.
expect(int, Threads, Query) - Static method in class io.sniffy.Sniffer
Deprecated.
expect(int, Query, Threads) - Static method in class io.sniffy.Sniffer
Deprecated.
expect(Spy.Expectation) - Method in class io.sniffy.Spy
 
expect(int) - Method in class io.sniffy.Spy
Deprecated.
expect(int, Threads) - Method in class io.sniffy.Spy
Deprecated.
expect(int, Query) - Method in class io.sniffy.Spy
Deprecated.
expect(int, Threads, Query) - Method in class io.sniffy.Spy
Deprecated.
expect(int, Query, Threads) - Method in class io.sniffy.Spy
Deprecated.
Expectation - Annotation Type in io.sniffy
Adds an expectation about the number of queries generated by given test method
Expectations - Annotation Type in io.sniffy
Container for multiple Expectation annotations
expectAtLeast(int) - Static method in class io.sniffy.Sniffer
Deprecated.
expectAtLeast(int, Threads) - Static method in class io.sniffy.Sniffer
Deprecated.
expectAtLeast(int, Query) - Static method in class io.sniffy.Sniffer
Deprecated.
expectAtLeast(int, Threads, Query) - Static method in class io.sniffy.Sniffer
Deprecated.
expectAtLeast(int, Query, Threads) - Static method in class io.sniffy.Sniffer
Deprecated.
expectAtLeast(int) - Method in class io.sniffy.Spy
Deprecated.
expectAtLeast(int, Threads) - Method in class io.sniffy.Spy
Deprecated.
expectAtLeast(int, Query) - Method in class io.sniffy.Spy
Deprecated.
expectAtLeast(int, Threads, Query) - Method in class io.sniffy.Spy
Deprecated.
expectAtLeast(int, Query, Threads) - Method in class io.sniffy.Spy
Deprecated.
expectAtMost(int) - Static method in class io.sniffy.Sniffer
Deprecated.
expectAtMost(int, Threads) - Static method in class io.sniffy.Sniffer
Deprecated.
expectAtMost(int, Query) - Static method in class io.sniffy.Sniffer
Deprecated.
expectAtMost(int, Threads, Query) - Static method in class io.sniffy.Sniffer
Deprecated.
expectAtMost(int, Query, Threads) - Static method in class io.sniffy.Sniffer
Deprecated.
expectAtMost(int) - Method in class io.sniffy.Spy
Deprecated.
expectAtMost(int, Threads) - Method in class io.sniffy.Spy
Deprecated.
expectAtMost(int, Query) - Method in class io.sniffy.Spy
Deprecated.
expectAtMost(int, Threads, Query) - Method in class io.sniffy.Spy
Deprecated.
expectAtMost(int, Query, Threads) - Method in class io.sniffy.Spy
Deprecated.
expectAtMostOnce() - Static method in class io.sniffy.Sniffer
Deprecated.
expectAtMostOnce(Threads) - Static method in class io.sniffy.Sniffer
Deprecated.
expectAtMostOnce(Query) - Static method in class io.sniffy.Sniffer
Deprecated.
expectAtMostOnce(Threads, Query) - Static method in class io.sniffy.Sniffer
Deprecated.
expectAtMostOnce(Query, Threads) - Static method in class io.sniffy.Sniffer
Deprecated.
expectAtMostOnce() - Method in class io.sniffy.Spy
Deprecated.
expectAtMostOnce(Threads) - Method in class io.sniffy.Spy
Deprecated.
expectAtMostOnce(Query) - Method in class io.sniffy.Spy
Deprecated.
expectAtMostOnce(Threads, Query) - Method in class io.sniffy.Spy
Deprecated.
expectAtMostOnce(Query, Threads) - Method in class io.sniffy.Spy
Deprecated.
expectBetween(int, int) - Static method in class io.sniffy.Sniffer
Deprecated.
expectBetween(int, int, Threads) - Static method in class io.sniffy.Sniffer
Deprecated.
expectBetween(int, int, Query) - Static method in class io.sniffy.Sniffer
Deprecated.
expectBetween(int, int, Threads, Query) - Static method in class io.sniffy.Sniffer
Deprecated.
expectBetween(int, int, Query, Threads) - Static method in class io.sniffy.Sniffer
Deprecated.
expectBetween(int, int) - Method in class io.sniffy.Spy
Deprecated.
expectBetween(int, int, Threads) - Method in class io.sniffy.Spy
Deprecated.
expectBetween(int, int, Query) - Method in class io.sniffy.Spy
Deprecated.
expectBetween(int, int, Threads, Query) - Method in class io.sniffy.Spy
Deprecated.
expectBetween(int, int, Query, Threads) - Method in class io.sniffy.Spy
Deprecated.
expectNever() - Static method in class io.sniffy.Sniffer
Deprecated.
expectNever(Threads) - Static method in class io.sniffy.Sniffer
Deprecated.
expectNever(Query) - Static method in class io.sniffy.Sniffer
Deprecated.
expectNever(Threads, Query) - Static method in class io.sniffy.Sniffer
Deprecated.
expectNever(Query, Threads) - Static method in class io.sniffy.Sniffer
Deprecated.
expectNever() - Method in class io.sniffy.Spy
Deprecated.
expectNever(Threads) - Method in class io.sniffy.Spy
Deprecated.
expectNever(Query) - Method in class io.sniffy.Spy
Deprecated.
expectNever(Threads, Query) - Method in class io.sniffy.Spy
Deprecated.
expectNever(Query, Threads) - Method in class io.sniffy.Spy
Deprecated.

F

flush() - Method in class io.sniffy.socket.SnifferOutputStream
 
flushIfOpen() - Method in class io.sniffy.servlet.BufferedPrintWriter
 

G

generateMessage(String, StackTraceElement[]) - Static method in class io.sniffy.util.ExceptionUtil
 
getCloseStackTrace() - Method in exception io.sniffy.SpyClosedException
 
getExecutedSqls() - Method in error io.sniffy.WrongNumberOfQueriesError
 
getExecutedSqls() - Method in error io.sniffy.WrongNumberOfRowsError
 
getExecutedStatements(Threads, boolean) - Method in class io.sniffy.Spy
 
getExecutedStatements() - Method in error io.sniffy.WrongNumberOfQueriesError
 
getExecutedStatements() - Method in error io.sniffy.WrongNumberOfRowsError
 
getMajorVersion() - Method in class io.sniffy.MockDriver
 
getMaximumQueries() - Method in error io.sniffy.WrongNumberOfQueriesError
 
getMaximumRows() - Method in error io.sniffy.WrongNumberOfRowsError
 
getMinimumQueries() - Method in error io.sniffy.WrongNumberOfQueriesError
 
getMinimumRows() - Method in error io.sniffy.WrongNumberOfRowsError
 
getMinorVersion() - Method in class io.sniffy.MockDriver
 
getNumConnections() - Method in error io.sniffy.socket.TcpConnectionsExpectationError
 
getNumQueries() - Method in error io.sniffy.WrongNumberOfQueriesError
 
getNumRows() - Method in error io.sniffy.WrongNumberOfRowsError
 
getParentLogger() - Method in class io.sniffy.MockDriver
 
getPropertyInfo(String, Properties) - Method in class io.sniffy.MockDriver
 
getQuery() - Method in error io.sniffy.WrongNumberOfQueriesError
 
getQuery() - Method in error io.sniffy.WrongNumberOfRowsError
 
getSocketOperations() - Method in error io.sniffy.socket.TcpConnectionsExpectationError
 
getSocketOperations(Threads, String, boolean) - Method in class io.sniffy.Spy
 
getTcpExpectation() - Method in error io.sniffy.socket.TcpConnectionsExpectationError
 
getThreadMatcher() - Method in error io.sniffy.WrongNumberOfQueriesError
 
getThreadMatcher() - Method in error io.sniffy.WrongNumberOfRowsError
 
getTraceForProxiedMethod(Method) - Static method in class io.sniffy.util.StackTraceExtractor
 
getTraceTillPackage(String) - Static method in class io.sniffy.util.StackTraceExtractor
 
getValue() - Method in class io.sniffy.SpyWithValue
 
getWrongNumberOfQueriesError() - Method in class io.sniffy.Spy
 
guessQueryType(String) - Static method in class io.sniffy.sql.StatementMetaData
 

H

hashCode() - Method in class io.sniffy.socket.SocketMetaData
 
hashCode() - Method in class io.sniffy.sql.StatementMetaData
 
HEADER_CORS_HEADERS - Static variable in class io.sniffy.servlet.SnifferFilter
 
HEADER_NUMBER_OF_QUERIES - Static variable in class io.sniffy.servlet.SnifferFilter
 
HEADER_REQUEST_DETAILS - Static variable in class io.sniffy.servlet.SnifferFilter
 
HEADER_TIME_TO_FIRST_BYTE - Static variable in class io.sniffy.servlet.SnifferFilter
 
host - Variable in class io.sniffy.socket.TcpConnections.TcpExpectation
 
host(String) - Method in class io.sniffy.socket.TcpConnections.TcpExpectation_Count
 
host(String) - Method in class io.sniffy.socket.TcpConnections.TcpExpectation_Count_Threads
 

I

init(FilterConfig) - Method in class io.sniffy.servlet.SnifferFilter
 
initialize() - Static method in class io.sniffy.Sniffer
 
injectHtml - Variable in class io.sniffy.servlet.SnifferFilter
 
insert() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries
 
insert() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_CountRows
 
insert() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_CountRows_Threads
 
insert() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_Threads
 
insert() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows
 
insert() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_Threads
 
install() - Static method in class io.sniffy.socket.SnifferSocketImplFactory
 
invoke(Object, Method, Object[]) - Method in class io.sniffy.sql.ConnectionInvocationHandler
 
invoke(Object, Method, Object[]) - Method in class io.sniffy.sql.ResultSetInvocationHandler
 
invoke(Object, Method, Object[]) - Method in class io.sniffy.sql.SniffyInvocationHandler
 
invokeTarget(Method, Object[]) - Method in class io.sniffy.sql.SniffyInvocationHandler
 
invokeTargetAndRecord(Method, Object[]) - Method in class io.sniffy.sql.ResultSetInvocationHandler
 
invokeTargetImpl(Method, Object[]) - Method in class io.sniffy.sql.SniffyInvocationHandler
 
io.sniffy - package io.sniffy
Sniffy allows you to validate the number of SQL queries executed by a given block of code Example usage:
io.sniffy.boot - package io.sniffy.boot
 
io.sniffy.junit - package io.sniffy.junit
Created by bedrin on 01.05.2016.
io.sniffy.servlet - package io.sniffy.servlet
 
io.sniffy.socket - package io.sniffy.socket
 
io.sniffy.spring - package io.sniffy.spring
Created by bedrin on 01.05.2016.
io.sniffy.sql - package io.sniffy.sql
 
io.sniffy.test - package io.sniffy.test
 
io.sniffy.test.junit - package io.sniffy.test.junit
 
io.sniffy.test.spring - package io.sniffy.test.spring
 
io.sniffy.test.testng - package io.sniffy.test.testng
 
io.sniffy.testng - package io.sniffy.testng
Created by bedrin on 01.05.2016.
io.sniffy.util - package io.sniffy.util
 
isAvailable() - Method in class io.sniffy.util.ReflectionFieldCopier
 
isEnabled() - Method in class io.sniffy.boot.SniffyConfiguration
 
isEnabled() - Method in class io.sniffy.servlet.SnifferFilter
 
isInjectHtml() - Method in class io.sniffy.boot.SniffyConfiguration
 
isInjectHtml() - Method in class io.sniffy.servlet.SnifferFilter
 

J

JAVASCRIPT_MAP_URI - Static variable in class io.sniffy.servlet.SnifferFilter
 
JAVASCRIPT_URI - Static variable in class io.sniffy.servlet.SnifferFilter
 
jdbcCompliant() - Method in class io.sniffy.MockDriver
 

L

LINE_SEPARATOR - Static variable in class io.sniffy.util.StringUtil
 
logSocket(String, int, InetSocketAddress, long, int, int) - Static method in class io.sniffy.Sniffer
 

M

MAJOR_VERSION - Static variable in interface io.sniffy.Constants
The major version of Sniffy
mark(int) - Method in class io.sniffy.socket.SnifferInputStream
 
markSupported() - Method in class io.sniffy.socket.SnifferInputStream
 
max(int) - Static method in class io.sniffy.socket.TcpConnections
 
max - Variable in class io.sniffy.socket.TcpConnections.TcpExpectation
 
max(int) - Method in class io.sniffy.socket.TcpConnections.TcpExpectation_Min
 
max - Variable in class io.sniffy.util.Range
 
maxQueries(int) - Static method in class io.sniffy.sql.SqlQueries
 
maxQueries(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows
 
maxQueries(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_MinQueries
 
maxQueries(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_MinQueries_QueryType
 
maxQueries(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_MinQueries_Threads
 
maxQueries(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_QueryType
 
maxQueries(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_Threads
 
maxQueries(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_Threads_QueryType
 
maxQueries(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_Threads_QueryType_MinQueries
 
maxQueries(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_MinQueries
 
maxRows(int) - Static method in class io.sniffy.sql.SqlQueries
 
maxRows(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries
 
maxRows(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_MinRows
 
maxRows(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_MinRows_QueryType
 
maxRows(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_MinRows_Threads
 
maxRows(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_QueryType
 
maxRows(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_Threads
 
maxRows(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_Threads_QueryType
 
maxRows(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_Threads_QueryType_MinRows
 
maxRows(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_MinRows
 
merge() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries
 
merge() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_CountRows
 
merge() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_CountRows_Threads
 
merge() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_Threads
 
merge() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows
 
merge() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_Threads
 
min(int) - Static method in class io.sniffy.socket.TcpConnections
 
min - Variable in class io.sniffy.socket.TcpConnections.TcpExpectation
 
min(int) - Method in class io.sniffy.socket.TcpConnections.TcpExpectation_Max
 
min - Variable in class io.sniffy.util.Range
 
MINOR_VERSION - Static variable in interface io.sniffy.Constants
The major version of Sniffy
minQueries(int) - Static method in class io.sniffy.sql.SqlQueries
 
minQueries(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows
 
minQueries(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_MaxQueries
 
minQueries(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_MaxQueries_QueryType
 
minQueries(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_MaxQueries_Threads
 
minQueries(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_QueryType
 
minQueries(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_Threads
 
minQueries(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_Threads_QueryType
 
minQueries(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_Threads_QueryType_MaxQueries
 
minQueries(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_MaxQueries
 
minRows(int) - Static method in class io.sniffy.sql.SqlQueries
 
minRows(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries
 
minRows(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_MaxRows
 
minRows(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_MaxRows_QueryType
 
minRows(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_MaxRows_Threads
 
minRows(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_QueryType
 
minRows(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_Threads
 
minRows(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_Threads_QueryType
 
minRows(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_Threads_QueryType_MaxRows
 
minRows(int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_MaxRows
 
MockDriver - Class in io.sniffy
Enable JDBC Sniffer by adding a sniffer: prefix to your JDBC URL.
MockDriver() - Constructor for class io.sniffy.MockDriver
 

N

none() - Static method in class io.sniffy.socket.TcpConnections
 
noneQueries() - Static method in class io.sniffy.sql.SqlQueries
 
noneQueries() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows
 
noneQueries() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_QueryType
 
noneQueries() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_Threads
 
noneQueries() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_Threads_QueryType
 
noneRows() - Static method in class io.sniffy.sql.SqlQueries
 
noneRows() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries
 
noneRows() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_QueryType
 
noneRows() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_Threads
 
noneRows() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_Threads_QueryType
 
NoQueriesAllowed - Annotation Type in io.sniffy
Alias for @Expectation(count = @Count(0), threads = Threads.CURRENT)
NoSocketsAllowed - Annotation Type in io.sniffy.socket
Alias for @SocketExpectation(connections = @Count(0))

O

other() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries
 
other() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_CountRows
 
other() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_CountRows_Threads
 
other() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_Threads
 
other() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows
 
other() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_Threads
 
otherThreads() - Method in class io.sniffy.socket.TcpConnections.TcpExpectation_Count
 
otherThreads() - Method in class io.sniffy.socket.TcpConnections.TcpExpectation_Count_Host
 
otherThreads() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries
 
otherThreads() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_CountRows
 
otherThreads() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_CountRows_QueryType
 
otherThreads() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_QueryType
 
otherThreads() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows
 
otherThreads() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_QueryType
 
ownerThreadId - Variable in class io.sniffy.socket.SocketMetaData
 
ownerThreadId - Variable in class io.sniffy.sql.StatementMetaData
 

P

parse(Count) - Static method in class io.sniffy.util.Range
 
parse(Expectation) - Static method in class io.sniffy.util.Range
 
PATCH_VERSION - Static variable in interface io.sniffy.Constants
The major version of Sniffy
printStackTrace(List<StackTraceElement>) - Static method in class io.sniffy.util.StackTraceExtractor
 
processException(Throwable) - Static method in class io.sniffy.util.ExceptionUtil
 

Q

queries - Variable in class io.sniffy.sql.SqlStats
 
queriesBetween(int, int) - Static method in class io.sniffy.sql.SqlQueries
 
queriesBetween(int, int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows
 
queriesBetween(int, int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_QueryType
 
queriesBetween(int, int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_Threads
 
queriesBetween(int, int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_Threads_QueryType
 
Query - Enum in io.sniffy
 
query - Variable in class io.sniffy.sql.StatementMetaData
 
QueryCounter - Class in io.sniffy.junit
Deprecated.
QueryCounter() - Constructor for class io.sniffy.junit.QueryCounter
Deprecated.
 
QueryCounter - Class in io.sniffy.testng
Deprecated.
QueryCounter() - Constructor for class io.sniffy.testng.QueryCounter
Deprecated.
 
QueryCounterListener - Class in io.sniffy.spring
Deprecated.
QueryCounterListener() - Constructor for class io.sniffy.spring.QueryCounterListener
Deprecated.
 

R

Range - Class in io.sniffy.util
 
Range(int, int, int) - Constructor for class io.sniffy.util.Range
 
read() - Method in class io.sniffy.socket.SnifferInputStream
 
read(byte[]) - Method in class io.sniffy.socket.SnifferInputStream
 
read(byte[], int, int) - Method in class io.sniffy.socket.SnifferInputStream
 
readDatabaseRow(Method, long, StatementMetaData) - Static method in class io.sniffy.Sniffer
 
ReflectionFieldCopier - Class in io.sniffy.util
 
ReflectionFieldCopier(Class<T>, String) - Constructor for class io.sniffy.util.ReflectionFieldCopier
 
registeredSpies() - Static method in class io.sniffy.Sniffer
 
registerSpy(Spy) - Static method in class io.sniffy.Sniffer
 
removeSpyReference(WeakReference<Spy>) - Static method in class io.sniffy.Sniffer
 
REQUEST_URI_PREFIX - Static variable in class io.sniffy.servlet.SnifferFilter
 
reset() - Method in class io.sniffy.socket.SnifferInputStream
 
reset() - Method in class io.sniffy.Spy
Wrapper for Sniffer.spy() method; useful for chaining
resetExecutedStatements() - Method in class io.sniffy.Spy
 
resetSocketOpertions() - Method in class io.sniffy.Spy
 
ResultSetInvocationHandler - Class in io.sniffy.sql
 
ResultSetInvocationHandler(Object, StatementMetaData) - Constructor for class io.sniffy.sql.ResultSetInvocationHandler
 
rows - Variable in class io.sniffy.sql.SqlStats
 
rowsBetween(int, int) - Static method in class io.sniffy.sql.SqlQueries
 
rowsBetween(int, int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries
 
rowsBetween(int, int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_QueryType
 
rowsBetween(int, int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_Threads
 
rowsBetween(int, int) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_Threads_QueryType
 
run(Runnable) - Static method in class io.sniffy.Sniffer
Execute the Runnable.run() method, record the SQL queries and return the Spy object with stats
run(Runnable) - Method in class io.sniffy.Spy
Executes the Runnable.run() method on provided argument and verifies the expectations

S

select() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries
 
select() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_CountRows
 
select() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_CountRows_Threads
 
select() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_Threads
 
select() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows
 
select() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_Threads
 
servletContext - Variable in class io.sniffy.servlet.SnifferFilter
 
setEnabled(boolean) - Method in class io.sniffy.boot.SniffyConfiguration
 
setEnabled(boolean) - Method in class io.sniffy.servlet.SnifferFilter
 
setInjectHtml(boolean) - Method in class io.sniffy.boot.SniffyConfiguration
 
setInjectHtml(boolean) - Method in class io.sniffy.servlet.SnifferFilter
 
skip(long) - Method in class io.sniffy.socket.SnifferInputStream
 
Sniffer - Class in io.sniffy
Sniffer is an entry point for using Sniffy library See the package overview for more information.
Sniffer.Executable - Interface in io.sniffy
Executable interface is similar to Runnable but it allows throwing Exception from it's Sniffer.Executable.execute() method
SNIFFER_URI_PREFIX - Static variable in class io.sniffy.servlet.SnifferFilter
 
SnifferFilter - Class in io.sniffy.servlet
HTTP Filter will capture the number of executed queries for given HTTP request and return it as a 'X-Sql-Queries' header in response.
SnifferFilter() - Constructor for class io.sniffy.servlet.SnifferFilter
 
SnifferInputStream - Class in io.sniffy.socket
 
SnifferInputStream(SnifferSocketImpl, InputStream) - Constructor for class io.sniffy.socket.SnifferInputStream
 
SnifferOutputStream - Class in io.sniffy.socket
 
SnifferOutputStream(SnifferSocketImpl, OutputStream) - Constructor for class io.sniffy.socket.SnifferOutputStream
 
snifferServlet - Variable in class io.sniffy.servlet.SnifferFilter
 
SnifferSocketImplFactory - Class in io.sniffy.socket
 
SnifferSocketImplFactory() - Constructor for class io.sniffy.socket.SnifferSocketImplFactory
 
SNIFFY - Static variable in class io.sniffy.servlet.SnifferFilter
 
SniffyAssertionError - Error in io.sniffy
 
SniffyAssertionError(String) - Constructor for error io.sniffy.SniffyAssertionError
 
SniffyConfiguration - Class in io.sniffy.boot
 
SniffyConfiguration() - Constructor for class io.sniffy.boot.SniffyConfiguration
 
sniffyFilter() - Method in class io.sniffy.boot.SniffyConfiguration
 
SniffyInvocationHandler<T> - Class in io.sniffy.sql
 
SniffyInvocationHandler(T) - Constructor for class io.sniffy.sql.SniffyInvocationHandler
 
SniffyRule - Class in io.sniffy.test.junit
Provides integration with JUnit.
SniffyRule() - Constructor for class io.sniffy.test.junit.SniffyRule
 
SniffySpringTestListener - Class in io.sniffy.test.spring
 
SniffySpringTestListener() - Constructor for class io.sniffy.test.spring.SniffySpringTestListener
 
SniffyTestNgListener - Class in io.sniffy.test.testng
Provides integration with TestNG.
SniffyTestNgListener() - Constructor for class io.sniffy.test.testng.SniffyTestNgListener
 
SocketExpectation - Annotation Type in io.sniffy.socket
Adds an expectation about the number of queries generated by given test method
SocketExpectations - Annotation Type in io.sniffy.socket
Container for multiple SocketExpectation annotations
SocketMetaData - Class in io.sniffy.socket
 
SocketMetaData(InetSocketAddress, int, String, long) - Constructor for class io.sniffy.socket.SocketMetaData
 
SocketStats - Class in io.sniffy.socket
 
SocketStats(SocketStats) - Constructor for class io.sniffy.socket.SocketStats
 
SocketStats(long, long, long) - Constructor for class io.sniffy.socket.SocketStats
 
spy() - Static method in class io.sniffy.Sniffer
 
Spy<C extends Spy<C>> - Class in io.sniffy
Spy holds a number of queries which were executed at some point of time and uses it as a base for further assertions
Spy.Expectation - Interface in io.sniffy
 
SpyClosedException - Exception in io.sniffy
 
SpyClosedException(String, StackTraceElement[]) - Constructor for exception io.sniffy.SpyClosedException
 
spyCurrentThread() - Static method in class io.sniffy.Sniffer
 
SpyWithValue<V> - Class in io.sniffy
 
sql - Variable in class io.sniffy.sql.StatementMetaData
 
SqlQueries - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountQueries - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountQueries_CountRows - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountQueries_CountRows_QueryType - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountQueries_CountRows_Threads - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountQueries_MaxRows - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountQueries_MaxRows_QueryType - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountQueries_MaxRows_Threads - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountQueries_MinRows - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountQueries_MinRows_QueryType - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountQueries_MinRows_Threads - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountQueries_QueryType - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountQueries_Threads - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountQueries_Threads_QueryType - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountQueries_Threads_QueryType_MaxRows - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountQueries_Threads_QueryType_MinRows - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountRows - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountRows_MaxQueries - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountRows_MaxQueries_QueryType - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountRows_MaxQueries_Threads - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountRows_MinQueries - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountRows_MinQueries_QueryType - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountRows_MinQueries_Threads - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountRows_QueryType - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountRows_Threads - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountRows_Threads_QueryType - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountRows_Threads_QueryType_MaxQueries - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_CountRows_Threads_QueryType_MinQueries - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_MaxQueries - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_MaxRows - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_MinQueries - Class in io.sniffy.sql
 
SqlQueries.SqlExpectation_MinRows - Class in io.sniffy.sql
 
SqlStats - Class in io.sniffy.sql
 
SqlStats(SqlStats) - Constructor for class io.sniffy.sql.SqlStats
 
SqlStats(long, long, long, int, int) - Constructor for class io.sniffy.sql.SqlStats
 
stackTrace - Variable in class io.sniffy.socket.SocketMetaData
 
stackTrace - Variable in class io.sniffy.sql.StatementMetaData
 
StackTraceExtractor - Class in io.sniffy.util
 
StatementMetaData - Class in io.sniffy.sql
Represents an executed query - actual SQL, query type (SELECT, INSERT, e.t.c.) and the calling thread
StatementMetaData(String, Query, String, long) - Constructor for class io.sniffy.sql.StatementMetaData
 
StringUtil - Class in io.sniffy.util
 
StringUtil() - Constructor for class io.sniffy.util.StringUtil
 

T

TcpConnections - Class in io.sniffy.socket
 
TcpConnections.TcpExpectation - Class in io.sniffy.socket
 
TcpConnections.TcpExpectation_Count - Class in io.sniffy.socket
 
TcpConnections.TcpExpectation_Count_Host - Class in io.sniffy.socket
 
TcpConnections.TcpExpectation_Count_Threads - Class in io.sniffy.socket
 
TcpConnections.TcpExpectation_Max - Class in io.sniffy.socket
 
TcpConnections.TcpExpectation_Min - Class in io.sniffy.socket
 
TcpConnectionsExpectationError - Error in io.sniffy.socket
 
TcpConnectionsExpectationError(TcpConnections.TcpExpectation, Map<SocketMetaData, SocketStats>, int) - Constructor for error io.sniffy.socket.TcpConnectionsExpectationError
 
TcpExpectation(SocketExpectation) - Constructor for class io.sniffy.socket.TcpConnections.TcpExpectation
 
TcpExpectation(int, int, Threads, String) - Constructor for class io.sniffy.socket.TcpConnections.TcpExpectation
 
threads - Variable in class io.sniffy.socket.TcpConnections.TcpExpectation
 
threads(Threads) - Method in class io.sniffy.socket.TcpConnections.TcpExpectation_Count
 
threads(Threads) - Method in class io.sniffy.socket.TcpConnections.TcpExpectation_Count_Host
 
threads(Threads) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries
 
threads(Threads) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_CountRows
 
threads(Threads) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_CountRows_QueryType
 
threads(Threads) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_QueryType
 
threads(Threads) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows
 
threads(Threads) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_QueryType
 
Threads - Enum in io.sniffy
Sniffy allows to validate the number of queries generated from different threads You can use Threads enum to select all threads (ANY), current thread (CURRENT) or all threads except current (OTHERS)
throwException(String, String) - Static method in class io.sniffy.util.ExceptionUtil
 
throwException(Throwable) - Static method in class io.sniffy.util.ExceptionUtil
 
throwTargetException(InvocationTargetException) - Static method in class io.sniffy.util.ExceptionUtil
 
type(Query) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries
 
type(Query) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_CountRows
 
type(Query) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_CountRows_Threads
 
type(Query) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_Threads
 
type(Query) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows
 
type(Query) - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_Threads
 

U

uninstall() - Static method in class io.sniffy.socket.SnifferSocketImplFactory
 
update() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries
 
update() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_CountRows
 
update() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_CountRows_Threads
 
update() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountQueries_Threads
 
update() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows
 
update() - Method in class io.sniffy.sql.SqlQueries.SqlExpectation_CountRows_Threads
 

V

value - Variable in class io.sniffy.util.Range
 
valueOf(String) - Static method in enum io.sniffy.Query
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.sniffy.Threads
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.sniffy.Query
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.sniffy.Threads
Returns an array containing the constants of this enum type, in the order they are declared.
verify(Spy<T>) - Method in class io.sniffy.socket.TcpConnections.TcpExpectation
 
verify(Spy<T>) - Method in interface io.sniffy.Spy.Expectation
 
verify(Spy.Expectation) - Method in class io.sniffy.Spy
 
verify() - Method in class io.sniffy.Spy
Verifies all expectations added previously using expect methods family
verify(int) - Method in class io.sniffy.Spy
Deprecated.
verify(int, Threads) - Method in class io.sniffy.Spy
Deprecated.
verify(int, Query) - Method in class io.sniffy.Spy
Deprecated.
verify(int, Threads, Query) - Method in class io.sniffy.Spy
Deprecated.
verify(int, Query, Threads) - Method in class io.sniffy.Spy
Deprecated.
verifyAtLeast(int) - Method in class io.sniffy.Spy
Deprecated.
verifyAtLeast(int, Threads) - Method in class io.sniffy.Spy
Deprecated.
verifyAtLeast(int, Query) - Method in class io.sniffy.Spy
Deprecated.
verifyAtLeast(int, Threads, Query) - Method in class io.sniffy.Spy
Deprecated.
verifyAtLeast(int, Query, Threads) - Method in class io.sniffy.Spy
Deprecated.
verifyAtMost(int) - Method in class io.sniffy.Spy
Deprecated.
verifyAtMost(int, Threads) - Method in class io.sniffy.Spy
Deprecated.
verifyAtMost(int, Query) - Method in class io.sniffy.Spy
Deprecated.
verifyAtMost(int, Threads, Query) - Method in class io.sniffy.Spy
Deprecated.
verifyAtMost(int, Query, Threads) - Method in class io.sniffy.Spy
Deprecated.
verifyAtMostOnce() - Method in class io.sniffy.Spy
Deprecated.
verifyAtMostOnce(Threads) - Method in class io.sniffy.Spy
Deprecated.
verifyAtMostOnce(Query) - Method in class io.sniffy.Spy
Deprecated.
verifyAtMostOnce(Threads, Query) - Method in class io.sniffy.Spy
Deprecated.
verifyAtMostOnce(Query, Threads) - Method in class io.sniffy.Spy
Deprecated.
verifyBetween(int, int) - Method in class io.sniffy.Spy
Deprecated.
verifyBetween(int, int, Threads) - Method in class io.sniffy.Spy
Deprecated.
verifyBetween(int, int, Query) - Method in class io.sniffy.Spy
Deprecated.
verifyBetween(int, int, Threads, Query) - Method in class io.sniffy.Spy
Deprecated.
verifyBetween(int, int, Query, Threads) - Method in class io.sniffy.Spy
Deprecated.
verifyNever() - Method in class io.sniffy.Spy
Deprecated.
verifyNever(Threads) - Method in class io.sniffy.Spy
Deprecated.
verifyNever(Query) - Method in class io.sniffy.Spy
Deprecated.
verifyNever(Threads, Query) - Method in class io.sniffy.Spy
Deprecated.
verifyNever(Query, Threads) - Method in class io.sniffy.Spy
Deprecated.

W

write(int) - Method in class io.sniffy.socket.SnifferOutputStream
 
write(byte[]) - Method in class io.sniffy.socket.SnifferOutputStream
 
write(byte[], int, int) - Method in class io.sniffy.socket.SnifferOutputStream
 
WrongNumberOfQueriesError - Error in io.sniffy
 
WrongNumberOfQueriesError(Threads, Query, int, int, int, Collection<StatementMetaData>) - Constructor for error io.sniffy.WrongNumberOfQueriesError
 
WrongNumberOfRowsError - Error in io.sniffy
 
WrongNumberOfRowsError(Threads, Query, int, int, int, Map<StatementMetaData, SqlStats>) - Constructor for error io.sniffy.WrongNumberOfRowsError
 
A B C D E F G H I J L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2016. All rights reserved.