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