Skip to content

idlerun/memcached-client

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
page title tags date
Java Memcached Binary Test Client
java, memcached
2016-11-23

This is a very simple client for testing a memcached instance using the binary protocol

Compilation

Compile with the package command to create an executable jar with dependencies included

mvn package

Running

java -jar target/memcached-client-1.0.jar

Default host is localhost:11211.

Can be changed with -DHOST setting

java -DHOST=192.168.0.123:11211 -jar target/memcached-client-1.0.jar

Optionally set the rate to send keepalive requests to memcached with -DKEEPALIVE_RATE_MS=10000. Default is every 30 seconds (30000)

Commands

Commands to send are entered through stdin.

Supported commands:

  • SET key value
  • GET key
  • DELETE key

About

Simple memcached binary protocol client written in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages