Şu satırı dahil ederiz.
Örnek
import com.hazelcast.client.HazelcastClient;
newHazelCastClient metodu
Örnek
Şöyle yaparız
// Start the Hazelcast Client and connect to an already running Hazelcast ClusternewHazelCastClient metodu - ClientConfig
// on 127.0.0.1
HazelcastInstance hz = HazelcastClient.newHazelcastClient();
Örnek
Şöyle yaparız.
ClientConfig config = new ClientConfig();
...
HazelcastInstance client = HazelcastClient.newHazelcastClient(config);
Hiç yorum yok:
Yorum Gönder