All Products
Search
Document Center

ApsaraDB for Memcache:Protokol dan operasi yang didukung

Last Updated:Apr 24, 2026

Anda dapat mengakses ApsaraDB for Memcache menggunakan klien apa pun yang kompatibel dengan protokol Memcached. Pilih klien yang mendukung Memcached binary protocol dan SASL authentication protocol.

Protokol

  • Memcached binary protocol

  • SASL authentication protocol

Operasi

ApsaraDB for Memcache mendukung perintah-perintah berikut.

Opcode

Command

Description

0x00

Get

0x01

Set

0x02

Add

0x03

Replace

0x04

Delete

0x05

Increment

0x06

Decrement

0x07

Quit

0x08

Flush

Parameter expiration tidak didukung. Perintah ini segera menghapus semua data cache.

0x09

GetQ

0x0a

No-op

0x0b

Version

0x0c

GetK

0x0d

GetKQ

0x0e

Append

0x0f

Prepend

0x10

Stat

Tidak didukung.

0x11

SetQ

0x12

AddQ

0x13

ReplaceQ

0x14

DeleteQ

0x15

IncrementQ

0x16

DecrementQ

0x17

QuitQ

0x18

FlushQ

Parameter expiration tidak didukung. Perintah ini segera menghapus semua data cache.

0x19

AppendQ

0x1a

PrependQ

0x1b

Verbosity

Tidak didukung.

0x1c

Touch

0x1d

GAT

0x1e

GATQ

0x20

SASL list mechs

0x21

SASL Auth

0x22

SASL Step

Perintah protokol teks

  • get

  • gets

  • set

  • add

  • replace

  • append

  • prepend

  • cas

  • delete

  • quit

  • incr

  • decr

  • touch

  • flush_all

  • version