net.glorat.cqrs.Repository.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dlstore_2.11 Show documentation
Show all versions of dlstore_2.11 Show documentation
Ledger state machine framework backed by Kafka distributed ledger store
The newest version!
package net.glorat.cqrs
import scala.concurrent.Future
import scala.reflect.ClassTag
trait Repository {
def save(aggregate: AggregateRoot, expectedVersion: Int) : Future[Unit]
def getById[T <: AggregateRoot: ClassTag](id: GUID, tmpl: T): T
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy