Set types in ZkController callables

This commit is contained in:
Tomas Fernandez Lobbe 2019-02-06 16:47:03 -08:00 committed by Tomas Fernandez Lobbe
parent cfceff87c4
commit e8b7700ba9
1 changed files with 2 additions and 2 deletions

View File

@ -252,7 +252,7 @@ public class ZkController implements Closeable {
// ref is held as a HashSet since we clone the set before notifying to avoid synchronizing too long
private HashSet<OnReconnect> reconnectListeners = new HashSet<OnReconnect>();
private class RegisterCoreAsync implements Callable {
private class RegisterCoreAsync implements Callable<Object> {
CoreDescriptor descriptor;
boolean recoverReloadedCores;
@ -272,7 +272,7 @@ public class ZkController implements Closeable {
}
// notifies registered listeners after the ZK reconnect in the background
private static class OnReconnectNotifyAsync implements Callable {
private static class OnReconnectNotifyAsync implements Callable<Object> {
private final OnReconnect listener;