com.hazelcast.spi
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()
Gets the partition migration endpoint.
|
int |
getPartitionId()
Gets the partition id.
|
String |
toString() |
getSource
public PartitionMigrationEvent(MigrationEndpoint migrationEndpoint, int partitionId)
public MigrationEndpoint getMigrationEndpoint()
public int getPartitionId()
public String toString()
toString
in class EventObject
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.