Class RuntimeMetricsEvent
- java.lang.Object
-
- com.couchbase.client.core.event.metrics.RuntimeMetricsEvent
-
- All Implemented Interfaces:
CouchbaseEvent
public class RuntimeMetricsEvent extends Object implements CouchbaseEvent
This event contains collected system stats, like GC, Thread and Memory usage.- Since:
- 1.2.0
- Author:
- Michael Nitschinger
-
-
Constructor Summary
Constructors Constructor Description RuntimeMetricsEvent(Map<String,Object> info)
-
-
-
Method Detail
-
type
public EventType type()
Description copied from interface:CouchbaseEvent
The type of the event.- Specified by:
type
in interfaceCouchbaseEvent
- Returns:
- the event type.
-
toMap
public Map<String,Object> toMap()
Description copied from interface:CouchbaseEvent
Converts the event into a map representation of simple types.- Specified by:
toMap
in interfaceCouchbaseEvent
- Returns:
- the map representation.
-
-