public List < SyncPointInfo > getSyncPathList ( ) { List < SyncPointInfo > returnList = new ArrayList <> ( ) ; for ( AlluxioURI uri : mSyncPathList ) { SyncPointInfo . SyncStatus status ; Future < ? > syncStatus = mSyncPathStatus . get ( uri ) ; if ( syncStatus == null ) { status = SyncPointInfo . SyncStatus . NOT_INITIALLY_SYNCED ; } else if ( syncStatus . isDone ( ) ) { status = SyncPointInfo . SyncStatus . INITIALLY_SYNCED ; } else { status = SyncPointInfo . SyncStatus . SYNCING ; } returnList . add ( new SyncPointInfo ( uri , status ) ) ; } return returnList ; }
Get the sync point list .