7 Aralık 2022 Çarşamba

HazelcastAPI PNCounter Arayüzü

Giriş
Şu satırı dahil ederiz
import com.hazelcast.crdt.pncounter.PNCounter;
Açıklaması şöyle
In summary, IAtomicLong sacrifices Availability for Consistency. The result will always be correct, but it might not always be available.

PNCounter makes the opposite trade-off. It's always available (depending on the number of nodes of the cluster, of course) but it's eventually consistent as it's asynchronously replicated.
Command Pattern
com.hazelcast.internal.crdt.pncounter.operations.AddOperation

Hiç yorum yok:

Yorum Gönder

THIRD-PARTY.txt Dosyası

Kullanılan harici kütüphanelerin sürümleri bu dosyada Dosyanın yolu şöyle hazelcast/licenses/THIRD-PARTY.txt