Home » Search

About cache

71-80 of 200Refresh
Issue
5

Server out of memory exceptions

on the server side became higher mainly due to increasing page cache size. I see that the test uses 4 different databases (2 large and 2 small). The default size of each page cache (per database) is 64MB, so the cache of the two large databases consumes at least 128MB (probably a little more). Other caches
Forum
4

significant performance decrease

to around 30% when the number of entities was just half of the current). We tried to optimize the cache ... ="write" /> cache="2048mb" max-threads="10" synchronized="false"/> cache results="1024mb" programs="500" />
JPA Doc
4

CacheStoreMode.REFRESH

Enum Constant javax.persistence.CacheStoreMode REFRESH Insert/update entity data into cache when read from database and when committed into database. Forces refresh of cache for items read from database. Since: JPA 2.0
JPA Doc
4

CacheStoreMode.USE

Enum Constant javax.persistence.CacheStoreMode USE Insert/update entity data into cache when read from database and when committed into database: this is the default behavior. Does not force refresh of already cached items when reading from database. Since: JPA 2.0
JDO Doc
4

evictAll(pcs)

Method javax.jdo.PersistenceManager void evictAll(   Collection pcs ) Mark a Collection of instances as no longer needed in the cache. Parameters: pcs - the Collection of instances to evict from the cache. Since: JDO 1.0 See Also: evict(Object pc)
JDO Doc
4

evictAll(pcs)

Method javax.jdo.PersistenceManager void evictAll(   Object... pcs ) Mark an array of instances as no longer needed in the cache. Parameters: pcs - the array of instances to evict from the cache. Since: JDO 1.0 See Also: evict(Object pc)
JDO Doc
4

flush()

, this method synchronizes the cache with the datastore and reports any exceptions. If an optimistic transaction is active, this method obtains a datastore connection, synchronizes the cache
JDO Doc
4

getDataStoreCache()

Method javax.jdo.PersistenceManagerFactory DataStoreCache getDataStoreCache() Return the DataStoreCache that this factory uses for controlling a second-level cache. If this factory does not use a second-level cache, the returned instance does nothing. This method never returns null. Returns: the DataStoreCache Since: JDO 2.0
JDO Doc
4

hashCode()

Method javax.jdo.identity.SingleFieldIdentity int hashCode() Return the cached hash code. Returns: the cached hash code. Since: JDO 1.0
JDO Doc
4

isLoaded(pc, field)

Method javax.jdo.spi.StateManager boolean isLoaded(   PersistenceCapable pc,   int field ) Return true if the field is cached in the calling instance. Parameters: pc - the calling PersistenceCapable instance field - the field number Returns: whether the field is cached in the calling instance Since: JDO 1.0