Class ServiceReconfigurationFailedEvent
- java.lang.Object
-
- com.couchbase.client.core.cnc.AbstractEvent
-
- com.couchbase.client.core.cnc.events.core.ServiceReconfigurationFailedEvent
-
- All Implemented Interfaces:
Event
public class ServiceReconfigurationFailedEvent extends AbstractEvent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.couchbase.client.core.cnc.Event
Event.Category, Event.Severity
-
-
Field Summary
-
Fields inherited from interface com.couchbase.client.core.cnc.Event
CATEGORY_PREFIX
-
-
Constructor Summary
Constructors Constructor Description ServiceReconfigurationFailedEvent(Context context, String hostname, ServiceType serviceType, Throwable reason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
cause()
If present, holds the cause for this event.String
description()
A textual description with more information about the event.String
hostname()
ServiceType
serviceType()
-
-
-
Constructor Detail
-
ServiceReconfigurationFailedEvent
public ServiceReconfigurationFailedEvent(Context context, String hostname, ServiceType serviceType, Throwable reason)
-
-
Method Detail
-
cause
public Throwable cause()
Description copied from interface:Event
If present, holds the cause for this event. Usually present if raised because of an excetion.- Returns:
- the throwable if present.
-
hostname
public String hostname()
-
serviceType
public ServiceType serviceType()
-
-