2 Aralık 2022 Cuma

HazelcastAPI MigrationInterceptor Arayüzü - Kullanmayın

Giriş
Şu satırı dahil ederiz
import com.hazelcast.internal.partition.impl.MigrationInterceptor;
Açıklaması şöyle. Yani dışarıdan kullanılamaz.
Internal synchronous/blocking listener to intercept migration cycle on master member and migration participants.
It's used to execute a specific test scenario deterministically. There's no user side api or configuration.
See Also:
InternalPartitionServiceImpl.setMigrationInterceptor(MigrationInterceptor)
Metodlar şöyle
default void onMigrationStart(MigrationParticipant participant, MigrationInfo migration) {
}

default void onMigrationComplete(MigrationParticipant participant, MigrationInfo migration, 
  boolean success) {
}

default void onMigrationCommit(MigrationParticipant participant, MigrationInfo migration) {
}

default void onMigrationRollback(MigrationParticipant participant, MigrationInfo migration){
}

default void onPromotionStart(MigrationParticipant participant, 
  Collection<MigrationInfo> migrations) {
}

default void onPromotionComplete(MigrationParticipant participant, 
  Collection<MigrationInfo> migrations, boolean success) {
}

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