com.hazelcast.spi
Interface MigrationAwareService
- All Known Subinterfaces:
- ICacheService
- All Known Implementing Classes:
- AbstractCacheService, AtomicLongService, AtomicReferenceService, CacheService, CollectionService, CountDownLatchService, ListService, LockServiceImpl, MapService, MultiMapService, QueueService, SemaphoreService, SetService
public interface MigrationAwareService
An interface that can be implemented by SPI services to get notified of partition changes. E.g. if a
MapService
that start moving its data around because partitions are moving
to a different machine.
prepareReplicationOperation
Operation prepareReplicationOperation(PartitionReplicationEvent event)
beforeMigration
void beforeMigration(PartitionMigrationEvent event)
commitMigration
void commitMigration(PartitionMigrationEvent event)
rollbackMigration
void rollbackMigration(PartitionMigrationEvent event)
clearPartitionReplica
void clearPartitionReplica(int partitionId)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.