Enum ServerFeatures

    • Enum Constant Detail

      • DATATYPE

        public static final ServerFeatures DATATYPE
        The custom datatype feature.
        Since:
        Couchbase Server 4.0
      • TCPNODELAY

        public static final ServerFeatures TCPNODELAY
        Enable TCP Nodelay.
        Since:
        Couchbase Server 4.0
      • MUTATION_SEQNO

        public static final ServerFeatures MUTATION_SEQNO
        Return the sequence number on every mutation.
        Since:
        Couchbase Server 4.0
      • TCPDELAY

        public static final ServerFeatures TCPDELAY
        Disable TCP Nodelay.
        Since:
        Couchbase Server 4.0
      • XATTR

        public static final ServerFeatures XATTR
        Enable xattr support
        Since:
        Couchbase Server Spock (5.0)
      • XERROR

        public static final ServerFeatures XERROR
        Enable extended error map support.
        Since:
        Couchbase Server Spock (5.0)
      • SELECT_BUCKET

        public static final ServerFeatures SELECT_BUCKET
        Enable select_bucket support
        Since:
        Couchbase Server Spock (5.0)
      • SNAPPY

        public static final ServerFeatures SNAPPY
        Enable snappy-based compression support.
        Since:
        Couchbase Server Vulcan (5.5)
      • TRACING

        public static final ServerFeatures TRACING
        Enable tracing support.
        Since:
        Couchbase Server Vulcan (5.5)
    • Method Detail

      • values

        public static ServerFeatures[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ServerFeatures c : ServerFeatures.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ServerFeatures valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public short value()
        Returns the actual byte value for the wire protocol.
        Returns:
        the actual wire value.