Java client for Memcached

A simple, asynchronous, single-threaded Memcached client written in java.

License

License

The MIT License (MIT)
Categories

Categories

Maven Build Tools
GroupId

GroupId

com.google.code.maven-play-plugin.spy
ArtifactId

ArtifactId

spymemcached
Last Version

Last Version

2.6
Release Date

Release Date

Type

Type

jar
Description

Description

Java client for Memcached
A simple, asynchronous, single-threaded Memcached client written in java.
Project URL

Project URL

http://code.google.com/p/spymemcached
Source Code Management

Source Code Management

https://github.com/dustin/java-memcached-client

Download spymemcached

How to add to project

<!-- https://jarcasting.com/artifacts/com.google.code.maven-play-plugin.spy/spymemcached/ -->
<dependency>
    <groupId>com.google.code.maven-play-plugin.spy</groupId>
    <artifactId>spymemcached</artifactId>
    <version>2.6</version>
</dependency>
// https://jarcasting.com/artifacts/com.google.code.maven-play-plugin.spy/spymemcached/
implementation 'com.google.code.maven-play-plugin.spy:spymemcached:2.6'
// https://jarcasting.com/artifacts/com.google.code.maven-play-plugin.spy/spymemcached/
implementation ("com.google.code.maven-play-plugin.spy:spymemcached:2.6")
'com.google.code.maven-play-plugin.spy:spymemcached:jar:2.6'
<dependency org="com.google.code.maven-play-plugin.spy" name="spymemcached" rev="2.6">
  <artifact name="spymemcached" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.google.code.maven-play-plugin.spy', module='spymemcached', version='2.6')
)
libraryDependencies += "com.google.code.maven-play-plugin.spy" % "spymemcached" % "2.6"
[com.google.code.maven-play-plugin.spy/spymemcached "2.6"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Building

Spymemcached can be compiled using Apache Ant by running the following command:

ant

This will generate binary, source, and javadoc jars in the build directory of the project.

To run the Spymemcached tests against Membase Server run the following command:

ant test -Dserver.type=membase

To test Spymemcached against Membase running on a different host use the following command:

ant test -Dserver.type=membase \
    -Dserver.address_v4=ip_address_of_membase

Testing

The latest version of spymemcached has a set of command line arguments that can be used to configure the location of your testing server. The arguments are listed below.

-Dserver.address_v4=ipv4_address_of_testing_server

This argument is used to specify the ipv4 address of your testing server. By default it is set to localhost.

-Dserver.address_v6=ipv6_address_of_testing_server

This argument is used to set the ipv6 address of your testing server. By default it is set to ::1. If an ipv6 address is specified then an ipv4 address must be specified otherwise there may be test failures.

-Dserver.port_number=port_number_of_memcached

This argument is used when memcahched is started on a port other than 11211

-Dtest.type=ci

This argument is used for CI testing where certain unit tests might be temporarily failing.

More Information

For more information about Spymemcached see the links below:

Project Page The

Spymemcached Project Home contains a wiki, issue tracker, and downloads section.

Github

The gitub page contains the latest Spymemcached source.

Couchbase.org

At couchbase.org you can find a download's section for the latest release as well as an extensive tutorial to help new users learn how to use Spymemcached.

Versions

Version
2.6