Giriş
Şu satırı dahil ederiz
import com.hazelcast.config.RingBufferConfig;setCapacity metodu
Örnek
Şöyle yaparız
HazelcastInstance client = HazelcastClient.newHazelcastClient(); Config config = client.getConfig(); config.addRingBufferConfig(new RingbufferConfig("foo").setCapacity(12345)); Ringbuffer<Object> ringbuffer = client.getRingbuffer("foo");
Hiç yorum yok:
Yorum Gönder