public abstract class AbstractHibernateSpaceSynchronizationEndpoint extends ManagedEntriesSpaceSynchronizationEndpoint
SpaceSynchronizationEndpoint
implementations.Constructor and Description |
---|
AbstractHibernateSpaceSynchronizationEndpoint(org.hibernate.SessionFactory sessionFactory,
Set<String> managedEntries) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
filterItemValue(String entityName,
Map<String,Object> itemValues)
Filter from the input map the unmapped field of this entity
|
Iterable<String> |
getManagedEntries() |
protected String |
getPartialUpdateHQL(DataSyncOperation dataSyncOperation,
Map<String,Object> updatedValues) |
org.hibernate.SessionFactory |
getSessionFactory() |
protected boolean |
isManaged(DataSyncOperation dataSyncOperation) |
protected void |
rollbackTx(org.hibernate.Transaction tr) |
afterOperationsBatchSynchronization, afterTransactionSynchronization, onAddIndex, onIntroduceType, onOperationsBatchSynchronization, onTransactionConsolidationFailure, onTransactionSynchronization
protected static final Log logger
protected boolean isManaged(DataSyncOperation dataSyncOperation)
dataSyncOperation
- protected Map<String,Object> filterItemValue(String entityName, Map<String,Object> itemValues)
entityName
- itemValues
- map of properties to filterprotected String getPartialUpdateHQL(DataSyncOperation dataSyncOperation, Map<String,Object> updatedValues)
protected void rollbackTx(org.hibernate.Transaction tr)
public org.hibernate.SessionFactory getSessionFactory()
public Iterable<String> getManagedEntries()
getManagedEntries
in class ManagedEntriesSpaceSynchronizationEndpoint
Copyright © GigaSpaces.