public class PersistentOfflineMutationManager
extends java.lang.Object
Constructor and Description |
---|
PersistentOfflineMutationManager(AppSyncMutationSqlCacheOperations mutationSqlCacheOperations,
AppSyncCustomNetworkInvoker networkInvoker) |
Modifier and Type | Method and Description |
---|---|
void |
addPersistentMutationObject(PersistentOfflineMutationObject mutationObject) |
java.util.List<PersistentOfflineMutationObject> |
fetchPersistentMutationsList() |
boolean |
isQueueEmpty() |
PersistentOfflineMutationObject |
processNextMutationObject() |
boolean |
removePersistentMutationObject(java.lang.String recordId) |
public PersistentOfflineMutationManager(AppSyncMutationSqlCacheOperations mutationSqlCacheOperations, AppSyncCustomNetworkInvoker networkInvoker)
public boolean removePersistentMutationObject(java.lang.String recordId)
public void addPersistentMutationObject(PersistentOfflineMutationObject mutationObject)
public java.util.List<PersistentOfflineMutationObject> fetchPersistentMutationsList()
public boolean isQueueEmpty()
public PersistentOfflineMutationObject processNextMutationObject()