public class StreamEndEvent extends Object implements CouchbaseEvent
| Constructor and Description |
|---|
StreamEndEvent(int partition,
StreamEndReason reason) |
| Modifier and Type | Method and Description |
|---|---|
int |
partition() |
StreamEndReason |
reason() |
Map<String,Object> |
toMap()
Converts the event into a map representation of simple types.
|
String |
toString() |
EventType |
type()
The type of the event.
|
public StreamEndEvent(int partition,
StreamEndReason reason)
public EventType type()
CouchbaseEventtype in interface CouchbaseEventpublic int partition()
public StreamEndReason reason()
public Map<String,Object> toMap()
CouchbaseEventtoMap in interface CouchbaseEventCopyright © 2021 Couchbase, Inc.. All rights reserved.