!per #18463 Make Persistence Query API explorable

* make the standard queries "single method interfaces" that may be implemented
  by a query journal plugin
* remove hints (major problems with varargs anyway), the hints for standard
  queries  should be given in configuration instead, e.g. refresh-interval
This commit is contained in:
Patrik Nordwall 2015-09-14 11:08:22 +02:00
parent a45f31cecb
commit 5bd245fbc8
46 changed files with 1487 additions and 948 deletions

View file

@ -136,7 +136,7 @@ trait DomainEvent
case class Person(name: String, age: Int) extends DomainEvent
case class Box(length: Int) extends DomainEvent
case class MyTaggingJournalModel(payload: Any, tags: immutable.Set[String])
case class MyTaggingJournalModel(payload: Any, tags: Set[String])
//#identity-event-adapter
class MyEventAdapter(system: ExtendedActorSystem) extends EventAdapter {
@ -230,4 +230,4 @@ object v1 {
trait Event
trait UserEvent extends v1.Event
trait ItemEvent extends v1.Event
}
}