CalculatorInt calculator = TypedActor.get(_system).typedActorOf(
new TypedProps<Calculator>(CalculatorInt.class,
Calculator.class).withDispatcher("defaultDispatcher"));
// calling a fire and forget method
calculator.incrementCount();
// Invoke the method and wait for result
Future<Integer> future = calculator.add(Integer.valueOf(14),
Integer.valueOf(6));
Integer result = Await.result(future, timeout.duration());