public class PartitionMigrationEvent extends EventObject
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.source
Constructor and Description |
---|
PartitionMigrationEvent(MigrationEndpoint migrationEndpoint,
int partitionId) |
Modifier and Type | Method and Description |
---|---|
MigrationEndpoint |
getMigrationEndpoint() |
int |
getPartitionId() |
String |
toString() |
getSource
public PartitionMigrationEvent(MigrationEndpoint migrationEndpoint, int partitionId)
public MigrationEndpoint getMigrationEndpoint()
public int getPartitionId()
public String toString()
toString
in class EventObject
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.