About cache

81-90 of 200Refresh
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
Forum
4

Index causes increased memory usage

is there a data structure stored in memory that assists in searching on indexes?  Are they cached in any way ... . Thanks in advance. There is no special cache for indexes. Pages that contain indexes are cached in the page cache, exactly as pages that contain data. Try analyzing a heap dump and post information
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
JDO Doc
4

setIgnoreCache(ignoreCache)

entirely in the back end, instead of in the cache. If this flag is set to true, an implementation might be able to optimize the query execution by ignoring changed values in the cache. For optimistic
JDO Doc
4

javax.jdo.Transaction

control should be used for the current transaction, whether instances may hold values in the cache outside transactions, and whether values should be retained in the cache after transaction completion