public class AutoCloseableStartMetricEvent extends Object implements AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
protected StartMetricEvent |
decorated |
protected Consumer<? super AMetricEvent> |
eventBus |
| Constructor and Description |
|---|
AutoCloseableStartMetricEvent(StartMetricEvent startEvent,
Consumer<? super AMetricEvent> eventBus) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
StartMetricEvent |
getStartEvent() |
protected final StartMetricEvent decorated
protected final Consumer<? super AMetricEvent> eventBus
public AutoCloseableStartMetricEvent(StartMetricEvent startEvent, Consumer<? super AMetricEvent> eventBus)
public void close()
close in interface AutoCloseablepublic StartMetricEvent getStartEvent()
Copyright © 2014–2017 Pivotal Software, Inc.. All rights reserved.