io.netty.handler.codec.memcache.binary.BinaryMemcacheOpcodes Maven / Gradle / Ivy
Go to download
This artifact provides a single jar that contains all classes required to use remote Jakarta Enterprise Beans and Jakarta Messaging, including
all dependencies. It is intended for use by those not using maven, maven users should just import the Jakarta Enterprise Beans and
Jakarta Messaging BOM's instead (shaded JAR's cause lots of problems with maven, as it is very easy to inadvertently end up
with different versions on classes on the class path).
/*
* Copyright 2013 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.handler.codec.memcache.binary;
import io.netty.util.internal.UnstableApi;
/**
* Represents all Opcodes that can occur in a {@link BinaryMemcacheMessage}.
*
* This class can be extended if a custom application needs to implement a superset of the normally supported
* operations by a vanilla memcached protocol.
*/
@UnstableApi
public final class BinaryMemcacheOpcodes {
private BinaryMemcacheOpcodes() {
// disallow construction
}
public static final byte GET = 0x00;
public static final byte SET = 0x01;
public static final byte ADD = 0x02;
public static final byte REPLACE = 0x03;
public static final byte DELETE = 0x04;
public static final byte INCREMENT = 0x05;
public static final byte DECREMENT = 0x06;
public static final byte QUIT = 0x07;
public static final byte FLUSH = 0x08;
public static final byte GETQ = 0x09;
public static final byte NOOP = 0x0a;
public static final byte VERSION = 0x0b;
public static final byte GETK = 0x0c;
public static final byte GETKQ = 0x0d;
public static final byte APPEND = 0x0e;
public static final byte PREPEND = 0x0f;
public static final byte STAT = 0x10;
public static final byte SETQ = 0x11;
public static final byte ADDQ = 0x12;
public static final byte REPLACEQ = 0x13;
public static final byte DELETEQ = 0x14;
public static final byte INCREMENTQ = 0x15;
public static final byte DECREMENTQ = 0x16;
public static final byte QUITQ = 0x17;
public static final byte FLUSHQ = 0x18;
public static final byte APPENDQ = 0x19;
public static final byte PREPENDQ = 0x1a;
public static final byte TOUCH = 0x1c;
public static final byte GAT = 0x1d;
public static final byte GATQ = 0x1e;
public static final byte GATK = 0x23;
public static final byte GATKQ = 0x24;
public static final byte SASL_LIST_MECHS = 0x20;
public static final byte SASL_AUTH = 0x21;
public static final byte SASL_STEP = 0x22;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy