Documentation

CachedCollectionPersister extends CachedPersister, CollectionPersister

Interface for second level cache collection persisters.

Table of Contents

Methods

afterTransactionComplete()  : void
Perform whatever processing is encapsulated here after completion of the transaction.
afterTransactionRolledBack()  : void
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()  : array<string|int, mixed>|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() : void

afterTransactionRolledBack()

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

public afterTransactionRolledBack() : void

        
On this page

Search results