_canceled = true;
_executor.shutdownNow();
}
public UserPropertiesMigrationStatus getStatus() {
UserPropertiesMigrationStatus status = new UserPropertiesMigrationStatus();
status.setCanceled(isCanceled());
status.setComplete(isComplete());
status.setNumberOfUsers(getNumberOfUsers());
status.setNumberOfUsersConverted(getNumberOfUsersConverted());
status.setNumberOfUsersProcessed(getNumberOfUsersProcessed());
return status;
}