public class TooManyEnvironmentsEvent extends Object implements CouchbaseEvent
Event published when more than one Environments are created.
| Constructor and Description |
|---|
TooManyEnvironmentsEvent(int numEnvs) |
| Modifier and Type | Method and Description |
|---|---|
int |
numEnvs()
The number of open environments at the time of the event.
|
Map<String,Object> |
toMap()
Converts the event into a map representation of simple types.
|
String |
toString() |
EventType |
type()
The type of the event.
|
public EventType type()
CouchbaseEventThe type of the event.
type in interface CouchbaseEventpublic int numEnvs()
The number of open environments at the time of the event.
public Map<String,Object> toMap()
CouchbaseEventConverts the event into a map representation of simple types.
toMap in interface CouchbaseEventCopyright © 2017 Couchbase, Inc.. All rights reserved.