private AsyncOperation enqueEntityOperation( AsyncOperation.OperationType operationtype, Class class1, Object obj, int i) { AsyncOperation asyncoperation = new AsyncOperation(operationtype, daoSession.getDao(class1), obj, i); executor.enqueue(asyncoperation); return asyncoperation; }
private AsyncOperation enqueueDatabaseOperation( AsyncOperation.OperationType operationtype, Object obj, int i) { AsyncOperation asyncoperation = new AsyncOperation(operationtype, daoSession.getDatabase(), obj, i); executor.enqueue(asyncoperation); return asyncoperation; }
public boolean waitForCompletion(int i) { return executor.waitForCompletion(i); }
public void waitForCompletion() { executor.waitForCompletion(); }
public void setWaitForMergeMillis(int i) { executor.setWaitForMergeMillis(i); }
public void setMaxOperationCountToMerge(int i) { executor.setMaxOperationCountToMerge(i); }
public void setListenerMainThread(AsyncOperationListener asyncoperationlistener) { executor.setListenerMainThread(asyncoperationlistener); }
public void setListener(AsyncOperationListener asyncoperationlistener) { executor.setListener(asyncoperationlistener); }
public boolean isCompleted() { return executor.isCompleted(); }
public int getWaitForMergeMillis() { return executor.getWaitForMergeMillis(); }
public int getMaxOperationCountToMerge() { return executor.getMaxOperationCountToMerge(); }
public AsyncOperationListener getListenerMainThread() { return executor.getListenerMainThread(); }
public AsyncOperationListener getListener() { return executor.getListener(); }