Şu satırı dahil ederiz
import com.hazelcast.spi.discovery.integration.DiscoveryService;
Açıklayan bir yazı burada
Şöyle yaparız
import com.hazelcast.cluster.Address; import com.hazelcast.spi.discovery.DiscoveryNode; import com.hazelcast.spi.discovery.SimpleDiscoveryNode; import com.hazelcast.spi.discovery.integration.DiscoveryService; import com.hazelcast.spi.discovery.integration.DiscoveryServiceSettings; public class DomainDiscoveryService implements DiscoveryService { public DomainDiscoveryService(DiscoveryServiceSettings settings) { } @Override public void start() { } @Override public Iterable<DiscoveryNode> discoverNodes() { } }
Hiç yorum yok:
Yorum Gönder