-
-
Save ptwohig/2a88108540eb17dd1ad4080b150e09f7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final var local = new SimpleInstanceHostInfo(getInternalBindAddress()); | |
concat(of(local), known.stream()) | |
.filter(nfo -> !getBindAddress().equals(nfo.getConnectAddress())) | |
.filter(not(nfo -> pending.containsKey(nfo) || active.containsKey(nfo))) | |
.forEach(nfo -> createNewConnection(nfo)); // Throws class java.lang.String cannot be | |
// cast to class InstanceHostInfo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment