com.quorum.tessera.discovery.NetworkStore Maven / Gradle / Ivy
package com.quorum.tessera.discovery;
import java.util.ServiceLoader;
import java.util.stream.Stream;
public interface NetworkStore {
NetworkStore store(ActiveNode activeNode);
NetworkStore remove(NodeUri nodeUri);
Stream getActiveNodes();
static NetworkStore getInstance() {
return ServiceLoader.load(NetworkStore.class).findFirst().get();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy