public ParseInfo get(String key) { if (key == null || key.length() > this.cacheSqlLimit) { return null; } synchronized (this.conn.getConnectionMutex()) { return (ParseInfo) this.cache.get(key); } }
public void put(String key, ParseInfo value) { if (key == null || key.length() > this.cacheSqlLimit) { return; } synchronized (this.conn.getConnectionMutex()) { this.cache.put(key, value); } }
public ParseInfo get(String key) { if (key == null || key.length() > this.cacheSqlLimit) { return null; } synchronized (this.conn.getConnectionMutex()) { return this.cache.get(key); } }
public ParseInfo get(String key) { if (key == null || key.length() > cacheSqlLimit) { return null; } synchronized (conn.getConnectionMutex()) { return (ParseInfo) cache.get(key); } }
public void put(String key, ParseInfo value) { if (key == null || key.length() > cacheSqlLimit) { return; } synchronized (conn.getConnectionMutex()) { cache.put(key, value); } }
public JDBC4PreparedStatement(MySQLConnection conn, String sql, String catalog, ParseInfo cachedParseInfo) throws SQLException { super(conn, sql, catalog, cachedParseInfo); }
public CacheAdapter<String, ParseInfo> getInstance(Connection forConnection, String url, int cacheMaxSize, int maxKeySize, Properties connectionProperties) throws SQLException { return new PerConnectionLRU(forConnection, cacheMaxSize, maxKeySize); }