Class TooManyEnvironmentsEvent
java.lang.Object
com.couchbase.client.core.event.system.TooManyEnvironmentsEvent
- All Implemented Interfaces:
CouchbaseEvent
public class TooManyEnvironmentsEvent extends Object implements CouchbaseEvent
Event published when more than one Environments are created.
- Since:
- 1.3.2
- Author:
- Michael Nitschinger
-
Constructor Summary
Constructors Constructor Description TooManyEnvironmentsEvent(int numEnvs)
-
Method Summary
-
Constructor Details
-
TooManyEnvironmentsEvent
public TooManyEnvironmentsEvent(int numEnvs)
-
-
Method Details
-
type
Description copied from interface:CouchbaseEvent
The type of the event.- Specified by:
type
in interfaceCouchbaseEvent
- Returns:
- the event type.
-
numEnvs
public int numEnvs()The number of open environments at the time of the event. -
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.
-
toString
-