24 Şubat 2021 Çarşamba

Hazelcast Client HazelCastClient Sınıfı

Giriş
Şu satırı dahil ederiz.
import com.hazelcast.client.HazelcastClient;
newHazelCastClient metodu
Örnek
Şöyle yaparız
// Start the Hazelcast Client and connect to an already running Hazelcast Cluster
// on 127.0.0.1

HazelcastInstance hz = HazelcastClient.newHazelcastClient();
newHazelCastClient metodu - ClientConfig
Örnek
Şöyle yaparız.
ClientConfig config = new ClientConfig();
...
HazelcastInstance client = HazelcastClient.newHazelcastClient(config);

Hiç yorum yok:

Yorum Gönder