Documentation of 'org.apache.derby.client.am.StatementCacheInteractor' Java class
StatementCacheInteractor
org.apache.derby.client.am

Class StatementCacheInteractor



  • public final class StatementCacheInteractor
    extends java.lang.Object
    Utility class encapsulating the logic for interacting with the JDBC statement cache when creating new logical statements.

    This class was introduced to share code between the pre-JDBC 4 and the JDBC 4+ versions of the JDBC classes.

    The pattern for the prepareX methods is:

    1. Generate a key for the statement to create.
    2. Consult cache to see if an existing statement can be used.
    3. Create new statement on physical connection if necessary.
    4. Return reference to existing or newly created statement.
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.