Connection reset by peer: socket write error是什么错误
query.findInBackground().subscribe(new Observer>() {
@Override
public void onSubscribe(Disposable disposable) {
System.out.println("onSubscribe=" + disposable);
}
@Override
public void onNext(List<AVObject> avObjects) {
System.out.println("onNext=" + avObjects.size());
for (int j = 0; j < avObjects.size(); j++) {
objectIdList.add(avObjects.get(j).getObjectId());//统计要更新的List
updateList.add(avObjects.get(j));
}
}
@Override
public void onError(Throwable throwable) {
System.out.println("onError=" + throwable.getMessage());
}
@Override
public void onComplete() {
System.out.println("onComplete=");
}
});