com.hazelcast.spi
Class PartitionMigrationEvent
java.lang.Object
java.util.EventObject
com.hazelcast.spi.PartitionMigrationEvent
- All Implemented Interfaces:
- Serializable
public class PartitionMigrationEvent
- extends EventObject
An EventObject
for a partition migration. Can be used by SPI services to get a callback
to listen to partition migration. See MigrationAwareService
for more info.
- See Also:
- Serialized Form
PartitionMigrationEvent
public PartitionMigrationEvent(MigrationEndpoint migrationEndpoint,
int partitionId)
getMigrationEndpoint
public MigrationEndpoint getMigrationEndpoint()
getPartitionId
public int getPartitionId()
toString
public String toString()
- Overrides:
toString
in class EventObject
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.