}
private static void invokeClient01(String groupId, int serverPort, boolean denseModel)
throws InterruptedException {
PredictionModel model = denseModel ? new DenseModel(100, false)
: new SparseModel(100, false);
model.configureClock();
MixClient client = null;
try {
client = new MixClient(MixEventName.average, groupId, "localhost:" + serverPort, false, 3, model);
model.setUpdateHandler(client);