mediatekformation

CachedCollectionPersister extends CachedPersister, CollectionPersister

Interface for second level cache collection persisters.

Table of Contents

afterTransactionComplete()  : mixed
Perform whatever processing is encapsulated here after completion of the transaction.
afterTransactionRolledBack()  : mixed
Perform whatever processing is encapsulated here after completion of the rolled-back.
contains()  : bool
Checks for existence of an element.
containsKey()  : bool
Checks for existence of a key.
count()  : int
Counts the size of this persistent collection.
delete()  : void
Deletes the persistent state represented by the given collection.
get()  : mixed
Gets an element by key.
getCacheRegion()  : Region
Gets the The region access.
getSourceEntityMetadata()  : ClassMetadata
getTargetEntityMetadata()  : ClassMetadata
loadCollectionCache()  : PersistentCollection|null
Loads a collection from cache
loadCriteria()  : array<string|int, mixed>
Loads association entities matching the given Criteria object.
slice()  : array<string|int, mixed>
Slices elements.
storeCollectionCache()  : void
Stores a collection into cache
update()  : void
Updates the given collection, synchronizing its state with the database by inserting, updating and deleting individual elements.

Methods

afterTransactionComplete()

Perform whatever processing is encapsulated here after completion of the transaction.

public afterTransactionComplete() : mixed
Return values
mixed

afterTransactionRolledBack()

Perform whatever processing is encapsulated here after completion of the rolled-back.

public afterTransactionRolledBack() : mixed
Return values
mixed

Search results