Uses of Class
io.ebeaninternal.server.cache.CacheChangeSet
Packages that use CacheChangeSet
Package
Description
Core implementation objects
Bean description
Transaction implementation
-
Uses of CacheChangeSet in io.ebeaninternal.api
Methods in io.ebeaninternal.api that return CacheChangeSetModifier and TypeMethodDescriptionTransactionEvent.buildCacheChanges(TransactionManager manager) Build and return the cache changeSet.TransactionEvent.obtainCacheChangeSet()Return the CacheChangeSet that we add cache notification messages to. -
Uses of CacheChangeSet in io.ebeaninternal.server.core
Methods in io.ebeaninternal.server.core with parameters of type CacheChangeSetModifier and TypeMethodDescriptionvoidPersistRequestBean.addBeanUpdate(CacheChangeSet changeSet) Build the bean update for the L2 cache. -
Uses of CacheChangeSet in io.ebeaninternal.server.deploy
Methods in io.ebeaninternal.server.deploy with parameters of type CacheChangeSetModifier and TypeMethodDescriptionvoidBeanDescriptorManager.cacheNotify(TransactionEventTable.TableIUD tableIUD, CacheChangeSet changeSet) For SQL based modifications we need to invalidate appropriate parts of the cache.voidBeanDescriptor.cachePersistDelete(Object id, PersistRequestBean<T> deleteRequest, CacheChangeSet changeSet) Remove a bean from the cache given its Id.voidBeanDescriptor.cachePersistDeleteByIds(Collection<Object> ids, CacheChangeSet changeSet) Remove a bean from the cache given its Id.voidBeanDescriptor.cachePersistInsert(PersistRequestBean<T> insertRequest, CacheChangeSet changeSet) Add the insert changes to the changeSet.voidBeanDescriptor.cachePersistUpdate(Object id, PersistRequestBean<T> updateRequest, CacheChangeSet changeSet) Add the update to the changeSet. -
Uses of CacheChangeSet in io.ebeaninternal.server.transaction
Methods in io.ebeaninternal.server.transaction with parameters of type CacheChangeSetModifier and TypeMethodDescriptionvoidBeanPersistIds.notifyCache(CacheChangeSet changeSet) Notify the cache of this event that came from another server in the cluster.voidDeleteByIdMap.notifyCache(CacheChangeSet changeSet)