public class StatelessHibernateSpaceSynchronizationEndpoint extends AbstractHibernateSpaceSynchronizationEndpoint
SynchronizationEndpointInterceptor implementation based on Hibernate StatelessSession.
 Note, stateless session is much faster than regular Hibernate session, but at the expense of not having a first level cache, as well as not performing any cascading operations (both in read operations as well as dirty operations).
logger| Constructor and Description | 
|---|
StatelessHibernateSpaceSynchronizationEndpoint(org.hibernate.SessionFactory sessionFactory,
                                              Set<String> managedEntries)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
onOperationsBatchSynchronization(OperationsBatchData batchData)
Perform the given batch changes using Hibernate  
StatelessSession. | 
void | 
onTransactionSynchronization(TransactionData transactionData)
Perform the given transation changes using Hibernate  
StatelessSession. | 
filterItemValue, getManagedEntries, getPartialUpdateHQL, getSessionFactory, isManaged, rollbackTxafterOperationsBatchSynchronization, afterTransactionSynchronization, onAddIndex, onIntroduceType, onTransactionConsolidationFailurepublic void onTransactionSynchronization(TransactionData transactionData)
StatelessSession.
 First, tries to perform "optimistic" operations without checking in advance for existence of
 certain entity. If this fails, will try and perform the same operations again, simply with
 checking if the entry exists or not.onTransactionSynchronization in class SpaceSynchronizationEndpointtransactionData - the transaction datapublic void onOperationsBatchSynchronization(OperationsBatchData batchData)
StatelessSession.
 First, tries to perform "optimistic" operations without checking in advance for existence of
 certain entity. If this fails, will try and perform the same operations again, simply with
 checking if the entry exists or not.onOperationsBatchSynchronization in class SpaceSynchronizationEndpointbatchData - the batched operations dataCopyright © GigaSpaces.