public class ServiceStateChangedEvent extends AbstractEvent
Service
changes its state.Event.Category, Event.Severity
CATEGORY_PREFIX
Constructor and Description |
---|
ServiceStateChangedEvent(ServiceContext context,
ServiceState oldState,
ServiceState newState) |
Modifier and Type | Method and Description |
---|---|
String |
description()
A textual description with more information about the event.
|
ServiceState |
newState() |
ServiceState |
oldState() |
category, context, createdAt, duration, severity, toString
public ServiceStateChangedEvent(ServiceContext context, ServiceState oldState, ServiceState newState)
public ServiceState oldState()
public ServiceState newState()
Copyright © 2020 Couchbase, Inc.. All rights reserved.