public class ConcurrentFixedCache
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ConcurrentFixedCache()
Create a new concurrent cache, with a fixed size of 100.
|
ConcurrentFixedCache(int maxSize)
Create a new concurrent cache, with the max size.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(java.lang.Object key)
Return the pre-parsed query that represents the EJBQL string.
|
java.util.Map |
getCache()
Return the cache.
|
int |
getMaxSize()
Return the fixed size of the parse cache.
|
void |
put(java.lang.Object key,
java.lang.Object value)
Add the value to the cache.
|
void |
setMaxSize(int maxSize)
Set the fixed size of the parse cache.
|
public ConcurrentFixedCache()
public ConcurrentFixedCache(int maxSize)
public int getMaxSize()
public void setMaxSize(int maxSize)
public java.lang.Object get(java.lang.Object key)
public void put(java.lang.Object key, java.lang.Object value)
public java.util.Map getCache()
EclipseLink 2.4.2, "build v20130514-5956486" API Reference