ObjectDB Database Search
51-100 of 200 resultsvirtual servers and one file files access and only part of the virtual file is in the virtual server's cache . Have you ever heard ... and only part of the virtual file is in the virtual server's cache . Have you ever heard ... caching of the database file is the reason seems reasonable and maybe this could be solved | |
evictAll() behavior manager A couple of questions about this: 1. the first evictAll() seems to be clearing the L2 cache ... is a bit tricky. pmf.getDataStoreCache().evictAll() clears the L2 cache . pm.evictAll() clears the persistence manager (L1) cache . But evictAll does not affect objects that have been changed by the current | |
ArrayIndexOutOfBoundException:591) at com.objectdb.jpa.EMImpl.find(EMImpl.java:514) at com.ysoft. cache .objectdb.ObjectCacheDB.deleteInOpenTransaction(ObjectCacheDB.java:361) at com.ysoft. cache .objectdb.ObjectCacheDB.delete(ObjectCacheDB.java:356) at com.ysoft. cache .objectdb.ObjectCacheDB.delete(ObjectCacheDB.java:347) at eu.ysoft | |
javax.persistence.CacheStoreMode.USE JPA Enum Constant in javax.persistence.CacheStoreMode USE Insert entity data into cache when read from database and insert/update entity data 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 | |
javax.persistence.CacheStoreMode.REFRESH JPA Enum Constant in 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 | |
javax.persistence.SharedCacheMode.ENABLE_SELECTIVE JPA Enum Constant in javax.persistence.SharedCacheMode ENABLE_SELECTIVE Caching is enabled for all entities for Cacheable(true) is specified. All other entities are not cached . Since: JPA 2.0 | |
javax.persistence.SharedCacheMode.DISABLE_SELECTIVE JPA Enum Constant in javax.persistence.SharedCacheMode DISABLE_SELECTIVE Caching is enabled for all entities except those for which Cacheable(false) is specified. Entities for which Cacheable(false) is specified are not cached . Since: JPA 2.0 | |
Enhanced classes problem of field field eu.ysoft.safeq.core. cache .entity.CacheableJobStat.jais using enhanced method at com ... .core. cache .entity.CacheableJobStat.__odbGet_jobId(CacheableJobStat.java:1) at eu.ysoft.safeq.core. cache .entity.CacheableJobStat.toString(CacheableJobStat.java:136) at java.lang.String.valueOf(Unknown | |
Best practise loading big data infrastructure ( cache releated classes? ) that was built up during reading and now ... should be better done inside the DB if possible. btc_es BTC EmbeddedSystems ObjectDB manages several cache data structures: Page cache Query caches Entity caches You may use the above links to the see default | |
javax.persistence.CacheRetrieveMode.USE JPA Enum Constant in javax.persistence.CacheRetrieveMode USE Read entity data from the cache : this is the default behavior. Since: JPA 2.0 | |
javax.persistence.CacheRetrieveMode.BYPASS JPA Enum Constant in javax.persistence.CacheRetrieveMode BYPASS Bypass the cache : get data directly from the database. Since: JPA 2.0 | |
javax.persistence.CacheStoreMode.BYPASS JPA Enum Constant in javax.persistence.CacheStoreMode BYPASS Don't insert into cache . Since: JPA 2.0 | |
javax.persistence.Cacheable.value JPA Annotation Attribute in javax.persistence.Cacheable boolean value default true (Optional) Whether or not the entity should be cached . Since: JPA 2.0 | |
javax.persistence.SharedCacheMode.ALL JPA Enum Constant in javax.persistence.SharedCacheMode ALL All entities and entity-related state and data are cached . Since: JPA 2.0 | |
javax.persistence.SharedCacheMode.NONE JPA Enum Constant in javax.persistence.SharedCacheMode NONE Caching is disabled for the persistence unit. Since: JPA 2.0 | |
javax.persistence.SharedCacheMode.UNSPECIFIED JPA Enum Constant in javax.persistence.SharedCacheMode UNSPECIFIED Caching behavior is undefined: provider-specific defaults may apply. Since: JPA 2.0 | |
PersistenceManager.evict(pc) - JDO Method JDO Method in javax.jdo.PersistenceManager void evict ( Object pc ) Mark an instance as no longer needed in the cache . Eviction is normally done automatically by ... to the PersistenceManager that the instance is no longer needed in the cache . Parameters: pc - the instance to evict from the cache . Since: JDO 1.0 | |
PersistenceManager.makeNontransactional(pc) - JDO Method are evicted from the cache . This method allows an application to identify an instance as not being evicted from the cache at transaction completion. Instead, the instance remains in the cache | |
PersistenceManager.setDetachAllOnCommit(flag) - JDO Method of persistent instances in the cache after commit is defined by the retainValues flag. With this flag set to true, during beforeCompletion all cached instances are prepared for detachment according ... the user's afterCompletion callback, all detachable persistent instances in the cache transition | |
PersistenceManager.checkConsistency() - JDO Method the PersistenceManager cache with the datastore. This method has no effect if a transaction is not active. If a datastore transaction is active, this method verifies the consistency of instances in the cache ... and verifies the consistency of the instances in the cache against the datastore. If any inconsistencies | |
DataStoreCache.evictAll() - JDO Method JDO Method in javax.jdo.datastore.DataStoreCache void evictAll () Evict the parameter instances from the second-level cache . All instances in the PersistenceManager's cache are evicted from the second-level cache . Since: JDO 2.0 | |
PersistenceManager.evictAll(pcs) - JDO Method JDO Method in 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 . See Also: evict (Object pc) Since: JDO 1.0 | |
PersistenceManager.evictAll(pcs) - JDO Method JDO Method in 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 . See Also: evict (Object pc) Since: JDO 1.0 | |
PersistenceManager.flush() - JDO Method is active, 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 | |
javax.jdo.PersistenceManagerFactory cache . If this factory does not use a second-level cache , the returned instance does | |
PersistenceManagerFactory.getDataStoreCache() - JDO Method JDO Method in 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 . Return: the DataStoreCache Since: JDO 2.0 | |
Query.setIgnoreCache(ignoreCache) - JDO Method whether the query should execute entirely in the back end, instead of in the cache . If this flag is set ... the cache . For optimistic transactions, this can dramatically improve query response times | |
javax.jdo.Transaction 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 | |
javax.jdo.identity.ByteIdentity () Return the cached hash code. Return: the cached hash code. Inherited from: SingleFieldIdentity | |
javax.jdo.identity.CharIdentity from: SingleFieldIdentity Since: JDO 2.0 int hashCode () Return the cached hash code. Return: the cached hash code. Inherited from: SingleFieldIdentity Since: JDO 1.0 void readExternal (ObjectInput  | |
javax.jdo.identity.IntIdentity name. Inherited from: SingleFieldIdentity Since: JDO 2.0 int hashCode () Return the cached hash code. Return: the cached hash code. Inherited from: SingleFieldIdentity Since: JDO 1.0 void readExternal | |
javax.jdo.identity.LongIdentity class name. Inherited from: SingleFieldIdentity Since: JDO 2.0 int hashCode () Return the cached hash code. Return: the cached hash code. Inherited from: SingleFieldIdentity Since: JDO 1.0 void | |
javax.jdo.identity.ObjectIdentity hashCode () Return the cached hash code. Return: the cached hash code. Inherited from: SingleFieldIdentity | |
javax.jdo.identity.ShortIdentity the cached hash code. Return: the cached hash code. Inherited from: SingleFieldIdentity Since: JDO 1.0 | |
javax.jdo.identity.SingleFieldIdentity: the target class name. Since: JDO 2.0 int hashCode () Return the cached hash code. Return: the cached hash | |
SingleFieldIdentity.hashCode() - JDO Method JDO Method in javax.jdo.identity.SingleFieldIdentity int hashCode () Return the cached hash code. Return: the cached hash code. Since: JDO 1.0 | |
javax.jdo.identity.StringIdentity () Return the cached hash code. Return: the cached hash code. Inherited from: SingleFieldIdentity | |
javax.jdo.spi.StateManager (PersistenceCapable pc, int field) Return true if the field is cached in the calling instance ... : whether the field is cached in the calling instance Since: JDO 1.0 boolean isNew (PersistenceCapable pc | |
StateManager.isLoaded(pc,field) - JDO Method JDO Method in javax.jdo.spi.StateManager boolean isLoaded ( PersistenceCapable pc, int field ) Return true if the field is cached in the calling instance ... : whether the field is cached in the calling instance Since: JDO 1.0 | |
PersistenceManager.evictAll(subclasses,pcClass) - JDO Method JDO Method in javax.jdo.PersistenceManager void evictAll ( boolean subclasses, Class pcClass ) Mark the parameter instances as no longer needed in the cache . Parameters: pcClass - the class of instances to evict subclasses - if true, mark instances of subclasses also Since: JDO 2.1 | |
PersistenceManager.evictAll() - JDO Method JDO Method in javax.jdo.PersistenceManager void evictAll () Mark all persistent-nontransactional instances as no longer needed in the cache . It transitions all persistent-nontransactional instances to hollow. Transactional instances are subject to eviction based on the RetainValues setting. See Also: evict (Object pc) Since: JDO 1.0 | |
PersistenceManager.refresh(pc) - JDO Method JDO Method in javax.jdo.PersistenceManager void refresh ( Object pc ) Refresh the state of the instance from the data store. In an optimistic transaction, the state of instances in the cache might not match the state in the data store. This method is used to reload the state | |
PersistenceManager.makePersistent(pc) - JDO Method JDO Method in javax.jdo.PersistenceManager T makePersistent ( T pc ) Make the parameter instance persistent in this PersistenceManager . This method makes transient instances persistent and applies detached instance changes to the cache . It must be called in the context | |
PersistenceManager.makeTransactional(pc) - JDO Method part of the transactional state. At transaction commit, the state of the instance in the cache | |
PersistenceManager.setIgnoreCache(flag) - JDO Method JDO Method in javax.jdo.PersistenceManager void setIgnoreCache ( boolean flag ) Set the ignoreCache parameter for queries. IgnoreCache set to true specifies that for all Query instances created by this PersistenceManager , the default is the cache should be ignored for queries. Parameters: flag - the ignoreCache setting. Since: JDO 1.0 | |
PersistenceManager.getIgnoreCache() - JDO Method JDO Method in javax.jdo.PersistenceManager boolean getIgnoreCache () Get the ignoreCache setting for queries. IgnoreCache set to true specifies that for all Query instances created by this PersistenceManager , the default is the cache should be ignored for queries. Return: the ignoreCache setting. Since: JDO 1.0 | |
javax.jdo.annotations.Cacheable JDO Annotation Cacheable Target: ElementType.TYPE, ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation to specify that this class/field/property is cacheable in a Level 2 cache . This corresponds to the xml attribute "cacheable" of the "class", "field" and "property | |
javax.jdo.annotations.PersistenceCapable JDO Annotation PersistenceCapable Target: ElementType.TYPE Implemented Interfaces: Annotation Annotation for whether the class or interface is persistence-capable. Since: JDO 2.1 Public Annotation Attributes String cacheable default "true" Whether this class is cacheable in a Level2 cache | |
javax.jdo.annotations.PersistenceCapable.cacheable JDO Annotation Attribute in javax.jdo.annotations.PersistenceCapable String cacheable default "true" Whether this class is cacheable in a Level2 cache . Since: JDO 2.2 | |
javax.jdo.annotations.Persistent" Whether this field/property is cacheable in a Level2 cache . Since: JDO 2.2 String column default |