EventAdapters

org.apache.pekko.persistence.journal.EventAdapters
class EventAdapters(map: ConcurrentHashMap[Class[_], EventAdapter], bindings: Seq[(Class[_], EventAdapter)], log: LoggingAdapter)

EventAdapters serves as a per-journal collection of bound event adapters.

Attributes

Source
EventAdapters.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def get(clazz: Class[_]): EventAdapter

Finds the "most specific" matching adapter for the given class (i.e. it may return an adapter that can work on a interface implemented by the given class if no direct match is found).

Finds the "most specific" matching adapter for the given class (i.e. it may return an adapter that can work on a interface implemented by the given class if no direct match is found).

Falls back to IdentityEventAdapter if no adapter was defined for the given class.

Attributes

Source
EventAdapters.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
EventAdapters.scala