public abstract class EventBackend
extends java.lang.Object
EventBackend abstraction to create events for instrumented entities.| Modifier and Type | Field and Description |
|---|---|
static EventBackend |
NONE
Empty no-op
EventBackend. |
| Constructor and Description |
|---|
EventBackend() |
| Modifier and Type | Method and Description |
|---|---|
abstract EventFactory |
eventsFor(Identity identity)
Create an
EventFactory for an instrumented entity with the
given Identity. |
boolean |
usesIdentity()
Override and set to false if the event backend doesn't use the identity.
|
public static final EventBackend NONE
EventBackend.public abstract EventFactory eventsFor(Identity identity)
EventFactory for an instrumented entity with the
given Identity.identity - identity of instrumented eventpublic boolean usesIdentity()
Cinnamon API. Copyright (c) 2015–2021 Lightbend.