Future < ? > function ( ) { RecomputePlan loc0 = mPlanner . loc0 ( ) ; if ( loc0 != null && ! loc0 . isEmpty ( ) ) { return mRecomputeLauncherService . submit ( new RecomputeLauncher ( loc0 ) ) ; } return Futures . < Void > immediateFuture ( null ) ; }
a version of heartbeat which returns a future representing completion of therecompute plan . this is especially useful for tests . concode_field_sep RecomputePlan mPlan concode_elem_sep FileSystemMaster mFileSystemMaster concode_elem_sep ExecutorService mRecomputeLauncherService concode_elem_sep int DEFAULT_RECOMPUTE_LAUNCHER_POOL_SIZE concode_elem_sep Logger LOG concode_elem_sep RecomputePlanner mPlanner concode_field_sep void heartbeat concode_elem_sep void run concode_elem_sep void close