Class 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 Detail

      • TooManyEnvironmentsEvent

        public TooManyEnvironmentsEvent​(int numEnvs)
    • Method Detail

      • numEnvs

        public int numEnvs()
        The number of open environments at the time of the event.
      • 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 interface CouchbaseEvent
        Returns:
        the map representation.