The 2.8.0 release is a minor update to spymemcached which
includes bug fixes, some minor new features and some
features split out into a separate project.
Starting in the 2.8.0 release, there is no longer support
directly in the MemcachedClient object for Membase Server.
That has been broken out into a separate library which is
hosted at http://www.couchbase.com/develop/java/current
By separating out that code, it reduced the dependency
burden on this project. Also, a number of the proposed
new features, namely support for Couchbase Server views
seemed increasingly like they did not belong in this
project.
The new project should be compatible with minimal,
though some, code changes. It is Open Source under an
Apache 2.0 license, and support of that library continues
by the same developers.
This new release also includes Iterator versions of
getAsyncBulk and getBulk.
For example:
public PrefixAdderIterator implements Iterator<String> {
private final String prefix;
private final Iterator<String> iterator;
public PrefixAdderIterator(String prefix,
Iterator<String> iterator) {
this.prefix = prefix;
this.iterator = iterator;
}
...
public String next() {
return prefix+iterator.next();
}
...
}
rather than
List<String> prefixedKeys = new ArrayList<String>();
for (String key: keys) {
prefixedKeys.add(prefix+key);
}
Thanks much to Ted Crossman for the idea and
contribution.
Bugs fixed/closed in 2.8.0:
http://code.google.com/p/spymemcached/issues69/detail?id=199
(a.k.a. http://www.couchbase.org/issues/browse/SPY-48)
http://code.google.com/p/spymemcached/issues69/detail?id=134
With others which can be listed here:
http://code.google.com/p/spymemcached/issues/list
Note that Couchbase also tracks issues here:
http://www.couchbase.org/issues/browse/SPY