Class PerConnectionLRUFactory
java.lang.Object
com.mysql.jdbc.PerConnectionLRUFactory
- All Implemented Interfaces:
CacheAdapterFactory<String, PreparedStatement.ParseInfo>
public class PerConnectionLRUFactory
extends Object
implements CacheAdapterFactory<String, PreparedStatement.ParseInfo>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInstance(Connection forConnection, String url, int cacheMaxSize, int maxKeySize, Properties connectionProperties)
-
Constructor Details
-
PerConnectionLRUFactory
public PerConnectionLRUFactory()
-
-
Method Details
-
getInstance
public CacheAdapter<String, PreparedStatement.ParseInfo> getInstance(Connection forConnection, String url, int cacheMaxSize, int maxKeySize, Properties connectionProperties) throws SQLException - Specified by:
getInstancein interfaceCacheAdapterFactory<String, PreparedStatement.ParseInfo>- Throws:
SQLException
-