public class ShakespearePlaysScrabbleParallelOpt extends ShakespearePlaysScrabble
Shakespeare plays Scrabble with Reactor.
letterScores, scrabbleAvailableLetters, scrabbleWords, shakespeareWords
构造器和说明 |
---|
ShakespearePlaysScrabbleParallelOpt() |
限定符和类型 | 方法和说明 |
---|---|
void |
localSetup() |
void |
localTeardown() |
static void |
main(java.lang.String[] args) |
java.util.List<java.util.Map.Entry<java.lang.Integer,java.util.List<java.lang.String>>> |
measureThroughput() |
init
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public void localSetup()
public void localTeardown()
public java.util.List<java.util.Map.Entry<java.lang.Integer,java.util.List<java.lang.String>>> measureThroughput() throws java.lang.InterruptedException
java.lang.InterruptedException