public class NonTransactionalPersistenceManagerImpl extends Object
PersistenceManager implementation not using OData batch requests: any
 read-write operation will be sent separately to the OData service when calling flush().| Modifier and Type | Field and Description | 
|---|---|
| protected static org.slf4j.Logger | LOGLogger. | 
| protected AbstractService<?> | service | 
| Constructor and Description | 
|---|
| NonTransactionalPersistenceManagerImpl(AbstractService<?> factory) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | doFlush(PersistenceChanges changes,
       TransactionItems items) | 
| void | flush()Flushes all pending changes to the OData service. | 
| Future<Void> | flushAsync()Asynchronously flushes all pending changes to the OData service. | 
| protected void | processDelayedUpdates(List<EntityLinkDesc> delayedUpdates,
                     int pos,
                     TransactionItems items,
                     PersistenceChanges changeset) | 
| protected int | processEntityContext(EntityInvocationHandler handler,
                    int pos,
                    TransactionItems items,
                    List<EntityLinkDesc> delayedUpdates,
                    PersistenceChanges changeset) | 
protected static final org.slf4j.Logger LOG
protected final AbstractService<?> service
public NonTransactionalPersistenceManagerImpl(AbstractService<?> factory)
protected void doFlush(PersistenceChanges changes, TransactionItems items)
public Future<Void> flushAsync()
PersistenceManagerflushAsync in interface PersistenceManagerpublic void flush()
PersistenceManagerflush in interface PersistenceManagerprotected int processEntityContext(EntityInvocationHandler handler, int pos, TransactionItems items, List<EntityLinkDesc> delayedUpdates, PersistenceChanges changeset)
protected void processDelayedUpdates(List<EntityLinkDesc> delayedUpdates, int pos, TransactionItems items, PersistenceChanges changeset)
Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.