|Modifier and Type||Method and Description|
Checks if shutdown has been requested.
Notifies the migration context of the current progress.
Requests a shutdown.
void reportProgress(String message, long num, long total)
message- an informative message about what is being migrated
num- the current number of things migrated
total- the total number of things to migrate, or
This should be checked periodically by the migrator, and when
true the migrator should return as soon
as possible, even if its work is not complete.
This is a "nice" version of thread interruption, which will follow a short while later, and should also be checked by the migrator.
trueif migration should be stopped as soon as possible
Copyright © 2019 Nuxeo. All rights reserved.