public class AMetricEvent extends Object
EventBus. They will be handled by
ApexMetricsTowerControl| Modifier and Type | Field and Description |
|---|---|
long |
eventId |
static String |
INSTANCE_UUID |
protected static org.slf4j.Logger |
LOGGER |
List<? extends String> |
names |
Object |
source |
protected static Set<Class<?>> |
SOURCE_CLASSES
Ability to retrieve all encountered source classes, and then monitor available events
|
| Constructor and Description |
|---|
AMetricEvent(Object source,
List<? extends String> names) |
AMetricEvent(Object source,
String firstName,
String... otherNames) |
| Modifier and Type | Method and Description |
|---|---|
static Set<Class<?>> |
getEncounteredSourceClasses() |
static Set<Class<?>> |
getSourceClasses() |
protected static void |
logNoEventBus(Object source,
List<?> names) |
static void |
post(Consumer<? super AMetricEvent> eventBus,
AMetricEvent simpleEvent) |
String |
toString() |
protected static final org.slf4j.Logger LOGGER
public static final String INSTANCE_UUID
public final long eventId
protected static final Set<Class<?>> SOURCE_CLASSES
public final Object source
public static void post(Consumer<? super AMetricEvent> eventBus, AMetricEvent simpleEvent)
Copyright © 2014–2017 Pivotal Software, Inc.. All rights reserved.