| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CacheAdapter | getInstance(Lock lock, String url, int cacheMaxSize, int maxKeySize)
Implements com.
|
| PerConnectionLRUFactory | back to summary |
|---|---|
| public PerConnectionLRUFactory() | |
| getInstance | back to summary |
|---|---|
| public CacheAdapter Implements com.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final LRUCache | |
| private final int | |
| private final Lock |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public QueryInfo | |
| public void | |
| public void | |
| public void | |
| public void |
| cache | back to summary |
|---|---|
| private final LRUCache<String, QueryInfo> cache | |
| cacheSqlLimit | back to summary |
|---|---|
| private final int cacheSqlLimit | |
| lock | back to summary |
|---|---|
| private final Lock lock | |
| PerConnectionLRU | back to summary |
|---|---|
| protected PerConnectionLRU(Lock lock, int cacheMaxSize, int maxKeySize) | |
| get | back to summary |
|---|---|
| public QueryInfo get(String key) Implements com.
| |
| invalidate | back to summary |
|---|---|
| public void invalidate(String key) Implements com.
| |
| invalidateAll | back to summary |
|---|---|
| public void invalidateAll(Set<String> keys) Implements com.
| |
| invalidateAll | back to summary |
|---|---|
| public void invalidateAll() Implements com.
| |
| put | back to summary |
|---|---|
| public void put(String key, QueryInfo value) Implements com.
| |