Skip to content

kaixinbaba/ginyu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ginyu

Redis implment with PURE Java 小青蛙基纽

一个用纯java实现的redis服务端

  • RESP2协议
  • String,Hash,List,Set,ZSet5种数据结构
  • 后台清除过期的key
  • 使用json格式进行内存快照的存储

Redis Command List

Cluster
  • Cluster
    • CLUSTER ADDSLOTS
    • CLUSTER COUNT-FAILURE-REPO
    • CLUSTER COUNTKEYSINSLOT
    • CLUSTER DELSLOTS
    • CLUSTER FAILOVER
    • CLUSTER FORGET
    • CLUSTER GETKEYSINSLOT
    • CLUSTER INFO
    • CLUSTER KEYSLOT
    • CLUSTER MEET
    • CLUSTER NODES
    • CLUSTER REPLICAS
    • CLUSTER REPLICATE
    • CLUSTER RESET
    • CLUSTER SAVECONFIG
    • CLUSTER SET-CONFIG-EPOCH
    • CLUSTER SETSLOT
    • CLUSTER SLAVES
    • CLUSTER SLOTS
    • CLUSTER READONLY
    • CLUSTER READWRITE
Connection
  • Connection
    • AUTH
    • ECHO
    • PING
    • QUIT
    • SELECT
    • SWAPDB
Geo
  • Geo
    • GEOADD
    • GEOHASH
    • GEOPOS
    • GEODIST
    • GEORADIUS
    • GEORADIUSBYMEMBER
Hashes
  • Hashes
    • HDEL
    • HEXISTS
    • HGET
    • HGETALL
    • HINCRBY
    • HINCRBYFLOAT
    • HKEYS
    • HLEN
    • HMGET
    • HMSET
    • HSET
    • HSETNX
    • HSTRLEN
    • HVALS
    • HSCAN
HyperLogLog
  • HyperLogLog
    • PFADD
    • PFCOUNT
    • PFMERGE
Keys
  • Keys
    • DEL
    • DUMP
    • EXISTS
    • EXPIRE
    • EXPIREAT
    • KEYS
    • MIGRATE
    • MOVE
    • OBJECT
    • PERSIST
    • PEXPIRE
    • PEXPIREAT
    • PTTL
    • RANDOMKEY
    • RENAME
    • RENAMENX
    • RESTORE
    • SORT
    • TTL
    • TYPE
    • WAIT
    • SCAN
Lists
  • Lists
    • BLPOP
    • BRPOP
    • BRPOPLPUSH
    • LINDEX
    • LINSERT
    • LLEN
    • LPOP
    • LPUSH
    • LPUSHX
    • LRANGE
    • LREM
    • LSET
    • LTRIM
    • RPOP
    • RPOPLPUSH
    • RPUSH
    • RPUSHX
Pub/Sub
  • Pub/Sub
    • PSUBCRIBE
    • PUBSUB
    • PUBLISH
    • PUNSUBSCRIBE
    • SUBSRIBE
    • UNSUBSCRIBE
Scripting
  • Scripting
    • EVAL
    • EVALSHA
    • SCRIPT DEBUG
    • SCRIPT EXISTS
    • SCRIPT FLUSH
    • SCRIPT KILL
    • SCRIPT LOAD
Server
  • Server
    • BGREWRITEAOF
    • BGSAVE
    • CLIENT KILL
    • CLIENT LIST
    • CLIENT GETNAME
    • CLIENT ID
    • CLIENT PAUSE
    • CLIENT REPLY
    • CLIENT SETNAME
    • CLIENT UNBLOCK
    • COMMAND
    • COMMAND COUNT
    • COMMAND GETKEYS
    • COMMAND INFO
    • CONFIG GET
    • CONFIG REWRITE
    • CONFIG SET
    • CLIENT RESETSTAT
    • DBSIZE
    • DEBUG OBJECT
    • DEBUG SEGFAULT
    • FLUSHALL
    • FLUSHDB
    • INFO
    • LASTSAVE
    • MEMORY DOCTOR
    • MEMORY HELP
    • MEMORY-MALLOC-STATS
    • MEMORY-PURGE
    • MEMORY-STATS
    • MEMORY-USAGE
    • MONITOR
    • REPLICAOF
    • ROLE
    • SAVE
    • SHUTDOWN
    • SLAVEOF
    • SLOWLOG
    • SYNC
    • TIME
Sets
  • Sets
    • SADD
    • SCARD
    • SDIFF
    • SDIFFSTORE
    • SINTER
    • SINTERSTORE
    • SISMEMBER
    • SMEMBERS
    • SMOVE
    • SPOP
    • SRANDMEMBER
    • SREM
    • SUNION
    • SUNIONSTORE
    • SSCAN
Sorted Sets
  • Sorted Sets
    • ZADD
    • ZCARD
    • ZCOUNT
    • ZINCRBY
    • ZINTERSTORE
    • ZLEXCOUNT
    • ZPOPMAX
    • ZPOPMIN
    • ZRANGE
    • ZRANGEBYLEX
    • ZREVRANGEBYLEX
    • ZRANGEBYSCORE
    • ZRANK
    • ZREM
    • ZREMRANGEBYLEX
    • ZREMRANGEBYRANK
    • ZREMRANGEBYSCORE
    • ZREVRANGE
    • ZREVRANGEBYSCORE
    • ZREVRANK
    • ZSCORE
    • ZUNIONSTORE
    • ZSCAN
Streams
  • Streams
    • XACK
    • XADD
    • XCLAIM
    • XDEL
    • XGROUP
    • XINFO
    • XLEN
    • XPENDING
    • XRANGE
    • XREAD
    • XREADGROUP
    • XREVRANGE
    • XTRIM
Strings
  • Strings
    • APPEND
    • BITCOUNT
    • BITFIELD
    • BITOP
    • BITPOS
    • DECR
    • DECRBY
    • GET
    • GETBIT
    • GETRANGE
    • GETSET
    • INCR
    • INCRBY
    • INCRBYFLOAT
    • MGET
    • MSET
    • MSETNX
    • PSETEX
    • SET
    • SETBIT
    • SETEX
    • SETNX
    • SETRANGE
    • STRLEN
Transactions
  • Transactions
    • DISCARD
    • EXEC
    • MULTI
    • UNWATCH
    • WATCH

About

Redis implment with PURE Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages