Example #1
0
 @AfterClass
 public static void tearDown() {
   System.out.println("tearDown(): finalizing...");
   ParseExecutor.getExecutor().shutdown();
   // while(!ParseExecutor.getExecutor().isTerminated()) { }
 }
Example #2
0
 public void deleteInBackground(DeleteCallback deleteCallback) {
   DeleteInBackgroundThread task = new DeleteInBackgroundThread(deleteCallback);
   ParseExecutor.runInBackground(task);
 }
Example #3
0
 public void saveInBackground(SaveCallback saveCallback) {
   SaveInBackgroundThread task = new SaveInBackgroundThread(saveCallback);
   ParseExecutor.runInBackground(task);
 }
Example #4
0
 public void countInBackground(CountCallback countCallback) {
   CountInBackgroundThread task = new CountInBackgroundThread(countCallback);
   ParseExecutor.runInBackground(task);
 }
Example #5
0
 public void findInBackground(FindCallback<T> callback) {
   FindInBackgroundThread task = new FindInBackgroundThread(callback);
   ParseExecutor.runInBackground(task);
 }
Example #6
0
 public void getInBackground(String objectId, GetCallback<T> callback) {
   GetInBackgroundThread task = new GetInBackgroundThread(objectId, callback);
   ParseExecutor.runInBackground(task);
 }