示例#1
0
 private AsyncOperation enqueueDatabaseOperation(
     AsyncOperation.OperationType operationtype, Object obj, int i) {
   AsyncOperation asyncoperation =
       new AsyncOperation(operationtype, daoSession.getDatabase(), obj, i);
   executor.enqueue(asyncoperation);
   return asyncoperation;
 }
示例#2
0
 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;
 }