Class Overview
A hibernate connection provider that can be configured to return connections that impose a simulated latency on
db operations.
The desired latency may be configured via the
latency.connection.latency.ms property.
*NOTE:* This class was refactored to use a dynamic proxy in an attempt to be backwards
compatible even when Sun decide to change the API for these fundamental JDBC classes. It's
designed to only be used for test environements.
Summary
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
net.sf.hibernate.connection.ConnectionProvider
|
Public Constructors
public
LatencyConnectionProvider
()
Public Methods
public
void
closeConnection
(Connection connection)