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 |
LOG
Logger.
|
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()
PersistenceManager
flushAsync
in interface PersistenceManager
public void flush()
PersistenceManager
flush
in interface PersistenceManager
protected 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–2018 The Apache Software Foundation. All rights reserved.