Created
May 19, 2011 01:07
-
-
Save axiak/979956 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyJobRunner extends Job<List<Something>> { | |
// ... | |
public List<Something> doJobWithResult() throws Exception { | |
// some preparation logic | |
List<List<Something>> = await(F.Promise.waitAll(firstJob.now(), secondJob.now(), ...)); | |
// some merging logic... | |
return ...; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment