Top Fields Constructors Methods
org.hibernate.cache.internal

public Class NoCachingTransactionSynchronizationImpl

extends Object
implements CacheTransactionSynchronization
Class Inheritance
All Implemented Interfaces
org.hibernate.cache.spi.CacheTransactionSynchronization
Imports
org.hibernate.cache.spi.CacheTransactionSynchronization

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final NoCachingTransactionSynchronizationImpl

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public long
public void
transactionCompleted(boolean
Was the resource transaction successful?
successful
)

Implements org.hibernate.cache.spi.CacheTransactionSynchronization.transactionCompleted.

Callback that the underling resource transaction to which the owning Session was joined is in the "completed" stage.
public void
transactionCompleting()

Implements org.hibernate.cache.spi.CacheTransactionSynchronization.transactionCompleting.

Callback that the underling resource transaction to which the owning Session was joined is in the beginning stages of completing.
public void
transactionJoined()

Implements org.hibernate.cache.spi.CacheTransactionSynchronization.transactionJoined.

Callback that owning Session has become joined to a resource transaction.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final NoCachingTransactionSynchronizationImpl INSTANCE

Constructor Detail

NoCachingTransactionSynchronizationImplback to summary
private NoCachingTransactionSynchronizationImpl()

Method Detail

getCachingTimestampback to summary
public long getCachingTimestamp()

Implements org.hibernate.cache.spi.CacheTransactionSynchronization.getCachingTimestamp.

Doc from org.hibernate.cache.spi.CacheTransactionSynchronization.getCachingTimestamp.

What is the start time of this context object?

Annotations
@Override
transactionCompletedback to summary
public void transactionCompleted(boolean successful)

Implements org.hibernate.cache.spi.CacheTransactionSynchronization.transactionCompleted.

Doc from org.hibernate.cache.spi.CacheTransactionSynchronization.transactionCompleted.

Callback that the underling resource transaction to which the owning Session was joined is in the "completed" stage. This method is called regardless of success or failure of the transaction - the outcome is passed as a boolean.

Parameters
successful:boolean

Was the resource transaction successful?

Annotations
@Override
transactionCompletingback to summary
public void transactionCompleting()

Implements org.hibernate.cache.spi.CacheTransactionSynchronization.transactionCompleting.

Doc from org.hibernate.cache.spi.CacheTransactionSynchronization.transactionCompleting.

Callback that the underling resource transaction to which the owning Session was joined is in the beginning stages of completing. Note that this is only called for successful "begin completion" of the underlying resource transaction (not rolling-back, marked-for-rollback, etc)

Annotations
@Override
transactionJoinedback to summary
public void transactionJoined()

Implements org.hibernate.cache.spi.CacheTransactionSynchronization.transactionJoined.

Doc from org.hibernate.cache.spi.CacheTransactionSynchronization.transactionJoined.

Callback that owning Session has become joined to a resource transaction.

Annotations
@Override