public class StatementsCache extends Object
| Constructor and Description |
|---|
StatementsCache(int maxLRUCacheSize) |
| Modifier and Type | Method and Description |
|---|---|
PreparedStatement |
getDynamicCache(String queryString,
Session session) |
PreparedStatement |
getStaticCache(CacheKey cacheKey) |
void |
putStaticCache(CacheKey cacheKey,
Callable<PreparedStatement> psSupplier) |
public void putStaticCache(CacheKey cacheKey, Callable<PreparedStatement> psSupplier)
public PreparedStatement getStaticCache(CacheKey cacheKey)
public PreparedStatement getDynamicCache(String queryString, Session session)
Copyright © 2012-2021. All Rights Reserved.