more minor cleanup
This commit is contained in:
Родитель
1b000fee12
Коммит
892ae14395
|
@ -210,7 +210,7 @@ public final class EmbeddedSocialBatchedClientImpl {
|
|||
processBatchResponse(batchResponse);
|
||||
|
||||
// Notify the individual interceptors to resume
|
||||
syncObject.notify();
|
||||
syncObject.notifyAll();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ public class Main {
|
|||
public static void main(String[] args) {
|
||||
SyncExample syncExample = new SyncExample(ESUrl);
|
||||
AsyncExample asyncExample = new AsyncExample(ESUrl);
|
||||
BatchedExample batchedExample = new BatchedExample(ESUrl, 2);
|
||||
BatchedExample batchedExample = new BatchedExample(ESUrl, 5);
|
||||
|
||||
// syncExample makes single synchronous call
|
||||
syncExample.run();
|
||||
|
|
Загрузка…
Ссылка в новой задаче