Class BucketClosedEvent
- java.lang.Object
-
- com.couchbase.client.core.event.system.BucketClosedEvent
-
- All Implemented Interfaces:
CouchbaseEvent
public class BucketClosedEvent extends Object implements CouchbaseEvent
Event published when a bucket is closed.- Since:
- 1.1.0
- Author:
- Michael Nitschinger
-
-
Constructor Summary
Constructors Constructor Description BucketClosedEvent(String name)
-
-
-
Constructor Detail
-
BucketClosedEvent
public BucketClosedEvent(String name)
-
-
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.
-
name
public String name()
-
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.
-
-