Package com.hazelcast.partition
Interface MigrationState
public interface MigrationState
MigrationState shows statistical information about the migration,
 such as; migration start time, number of planned replica migrations,
 number of completed replica migrations, total elapsed migration time etc.
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionintReturns the number of completed migrations in the migration plan.intReturns the number of planned migrations in the migration plan.intReturns the number of remaining migrations in the migration plan.longReturns the start time of the migration in milliseconds since the epoch.longReturns the total elapsed time of completed migrations in milliseconds.
- 
Method Details- 
getStartTimelong getStartTime()Returns the start time of the migration in milliseconds since the epoch.- Returns:
- start time of the migration process
 
- 
getPlannedMigrationsint getPlannedMigrations()Returns the number of planned migrations in the migration plan.- Returns:
- number of planned migrations
 
- 
getCompletedMigrationsint getCompletedMigrations()Returns the number of completed migrations in the migration plan.- Returns:
- number of completed migrations
 
- 
getRemainingMigrationsint getRemainingMigrations()Returns the number of remaining migrations in the migration plan.- Returns:
- number of remaining migrations
 
- 
getTotalElapsedTimelong getTotalElapsedTime()Returns the total elapsed time of completed migrations in milliseconds.- Returns:
- total elapsed time in milliseconds
 
 
-