Spymemcached

A client library for memcached.

License

License

Categories

Categories

Net
GroupId

GroupId

net.spy
ArtifactId

ArtifactId

spymemcached
Last Version

Last Version

2.12.3
Release Date

Release Date

Type

Type

jar
Description

Description

Spymemcached
A client library for memcached.
Project URL

Project URL

http://www.couchbase.org/code/couchbase/java
Source Code Management

Source Code Management

https://github.com/couchbase/spymemcached

Download spymemcached

How to add to project

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

Dependencies

compile (4)

Group / Artifact Type Version
log4j : log4j Optional jar 1.2.16
org.slf4j : slf4j-api Optional jar 1.7.5
org.springframework : spring-beans Optional jar 3.0.3.RELEASE
com.codahale.metrics : metrics-core Optional jar 3.0.1

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.

net.spy

Versions

Version
2.12.3
2.12.2
2.12.1
2.12.0
2.11.7
2.11.6
2.11.5
2.11.4
2.11.3
2.11.2
2.11.1
2.11.0
2.10.6
2.10.5
2.10.4
2.10.3
2.10.2
2.10.1
2.10.0
2.9.1
2.9.0