public interface ManagedFlushChecker extends Serializable
Synchronization
registered by Hibernate determines
whether to perform a managed flush. An exceptions from either this delegate or the subsequent flush are routed
through the sister strategy ExceptionMapper
.Modifier and Type | Method and Description |
---|---|
boolean |
shouldDoManagedFlush(TransactionCoordinator coordinator,
int jtaStatus)
Check whether we should perform the managed flush
|
boolean shouldDoManagedFlush(TransactionCoordinator coordinator, int jtaStatus)
coordinator
- The transaction coordinatorjtaStatus
- The status of the current JTA transaction.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.