Packages

package acs

Type Members

  1. abstract class BaseContractObserver[T] extends ContractObserver

    Basic observer for a contract of a particular template.

    Basic observer for a contract of a particular template.

    A contract observer which will filter out create / archive events of a particular template and present the decoded version of that template to the typed create and archive functions.

    Is meant to be used for scala-codegen generated classes.

  2. trait ContractObserver extends AnyRef
  3. class ContractStore[T, L] extends BaseContractObserver[T] with NamedLogging with NoTracing

    A in-memory contract store with trivial indexing and query capabilities

    A in-memory contract store with trivial indexing and query capabilities

    The contract store takes an index function which maps an instance to an index object L (a case class), which allows to query the store using find(arg: L): Seq[Contract[T]].

    The store find / all commands will only return contracts for which no command has yet been submitted that will consume the contract.

    T

    the contract template (scala code-gen)

    L

    the index expression

Ungrouped