fix line length problems
This commit is contained in:
parent
a6211c72eb
commit
f9e6163365
|
@ -98,7 +98,8 @@ public class DiscoveryNodeService extends AbstractComponent {
|
||||||
logger.warn("failed to build custom attributes from provider [{}]", e, provider);
|
logger.warn("failed to build custom attributes from provider [{}]", e, provider);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return new DiscoveryNode(Node.NODE_NAME_SETTING.get(settings), nodeId, publishAddress, attributes, Collections.unmodifiableSet(roles), version);
|
return new DiscoveryNode(Node.NODE_NAME_SETTING.get(settings), nodeId, publishAddress, attributes,
|
||||||
|
Collections.unmodifiableSet(roles), version);
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface CustomAttributesProvider {
|
public interface CustomAttributesProvider {
|
||||||
|
|
|
@ -174,7 +174,8 @@ public class UnicastZenPing extends AbstractLifecycleComponent<ZenPing> implemen
|
||||||
}
|
}
|
||||||
this.configuredTargetNodes = configuredTargetNodes.toArray(new DiscoveryNode[configuredTargetNodes.size()]);
|
this.configuredTargetNodes = configuredTargetNodes.toArray(new DiscoveryNode[configuredTargetNodes.size()]);
|
||||||
|
|
||||||
transportService.registerRequestHandler(ACTION_NAME, UnicastPingRequest::new, ThreadPool.Names.SAME, new UnicastPingRequestHandler());
|
transportService.registerRequestHandler(ACTION_NAME, UnicastPingRequest::new, ThreadPool.Names.SAME,
|
||||||
|
new UnicastPingRequestHandler());
|
||||||
|
|
||||||
ThreadFactory threadFactory = EsExecutors.daemonThreadFactory(settings, "[unicast_connect]");
|
ThreadFactory threadFactory = EsExecutors.daemonThreadFactory(settings, "[unicast_connect]");
|
||||||
unicastConnectExecutor = EsExecutors.newScaling("unicast_connect", 0, concurrentConnects, 60, TimeUnit.SECONDS,
|
unicastConnectExecutor = EsExecutors.newScaling("unicast_connect", 0, concurrentConnects, 60, TimeUnit.SECONDS,
|
||||||
|
|
Loading…
Reference in New Issue