public OperationFuture < List < Server > > modify ( List < Server > serverList , ModifyServerConfig modifyServerConfig ) { List < JobFuture > futures = serverList . stream ( ) . map ( server -> modify ( server , modifyServerConfig ) . jobFuture ( ) ) . collect ( toList ( ) ) ; return new OperationFuture <> ( serverList , new ParallelJobsFuture ( futures ) ) ; }
Modify list of servers