Composable javadsl CommandHandlerBuilder, #25226 (#25227)

* Composable javadsl CommandHandlerBuilder, #25226
* CommandHandlerBuilder with stateClass and statePredicate parameters
* CommandHandlerBuilder.orElse
* Remove ActorContext from handler function signatures, can be
  passed in constructor
This commit is contained in:
Patrik Nordwall 2018-07-06 16:35:07 +02:00 committed by Christopher Batey
parent 46b433b47d
commit 9cecba3455
15 changed files with 920 additions and 325 deletions

View file

@ -57,7 +57,7 @@ trait Effect {
/**
* Java API: Defines a criteria and determines whether the parameter meets this criteria.
*
* This class is kept for compatibility, but for future API's please prefer [[akka.japi.function.Predicate]].
* This class is kept for compatibility, but for future API's please prefer [[java.util.function.Predicate]].
*/
trait Predicate[T] {
def test(param: T): Boolean