Skip to content

Commit 2a83095

Browse files
committed
commit 2.6.0
1 parent d7947d3 commit 2a83095

30 files changed

+386
-1030
lines changed

.classpath

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
<classpathentry kind="lib" path="lib/emma_ant.jar"/>
66
<classpathentry kind="lib" path="lib/emma.jar"/>
77
<classpathentry kind="lib" path="lib/junit.jar"/>
8-
<classpathentry kind="lib" path="lib/log4j.jar"/>
8+
<classpathentry kind="lib" path="lib/slf4j-api-1.6.1.jar"/>
9+
<classpathentry kind="lib" path="lib/slf4j-simple-1.6.1.jar"/>
910
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
1011
<classpathentry kind="output" path="bin"/>
1112
</classpath>

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@ dist/
1111
scratch/
1212
.cachedir/
1313
memcached-release*
14+
/java_memcached-release_3.0.0.jar
15+
/java_memcached-release_2.6.0.zip
16+
/java_memcached-release_2.6.0.jar
17+
/java_memcached-release_test_2.6.0.jar

README

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
#Author Xingen Wang ([email protected])
2+
3+
Release 2.6.0:
4+
add slf4j logger support.
5+
because compress is so slow, we remove this feature in this release.
6+
we also remove error handler feature and classloader feature in this release.
7+
fix issue 19.
8+
9+
TODO:
10+
We will add SASL support in next version.
11+
Perhaps, we will get rid of the direct buffer, since it cause OutOfMemoryError.
12+
13+
14+
15+
Release 2.5.x:
216
This is a performance branch for the whalin memcached java client,
317
which was first maintained by Greg Whalin and perhaps the most
418
popular memcached java client in past years. While in recent years,

build.properties

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ build.dir=classes
3333
test.build.dir=testclasses
3434
build.instr.dir=classesinstr
3535
project=java_memcached-release
36-
ver=2.5.3
36+
ver=2.6.0
3737
junit.jar=lib/junit.jar
38-
log4j.jar=lib/log4j.jar
38+
slf4japi.jar=lib/slf4j-api-1.6.1.jar
39+
slf4jsimple.jar=lib/slf4j-simple-1.6.1.jar
3940
emma.dir=lib
4041
emma.enabled=true
4142
report.dir=report

build.xml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,15 @@
2727
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2828
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2929
-->
30-
<project name="schooner_memcached_client" default="jar" basedir=".">
30+
<project name="schooner_memcached_client" default="zip" basedir=".">
3131
<property file="build.properties" />
3232
<path id="emma.lib">
3333
<pathelement location="${emma.dir}/emma.jar" />
3434
<pathelement location="${emma.dir}/emma_ant.jar" />
3535
</path>
3636
<taskdef resource="emma_ant.properties" classpathref="emma.lib" />
37-
<path id="test.classpath">
38-
<pathelement location="${junit.jar}" />
39-
<pathelement location="${log4j.jar}" />
37+
<path id="build.classpath">
38+
<fileset dir="${basedir}/lib" includes="*.jar" />
4039
</path>
4140
<target name="clean">
4241
<delete dir="${build.dir}" />
@@ -47,13 +46,19 @@
4746
<target name="compile" depends="clean">
4847
<mkdir dir="${build.dir}" />
4948
<mkdir dir="${test.build.dir}" />
50-
<javac optimize="yes" srcdir="${src.dir}" destdir="${build.dir}" deprecation="true" target="1.5" source="1.5" nowarn="true" />
49+
<javac optimize="yes" srcdir="${src.dir}" destdir="${build.dir}" deprecation="true" target="1.5" source="1.5" nowarn="true" classpathref="build.classpath" />
5150
<javac optimize="yes" srcdir="${test.dir}" destdir="${test.build.dir}" deprecation="true" target="1.5" source="1.5" nowarn="true">
52-
<classpath refid="test.classpath" />
51+
<classpath refid="build.classpath" />
5352
<classpath path="${build.dir}" />
5453
</javac>
5554
</target>
56-
55+
<target name="zip" depends="jar">
56+
<zip destfile="${project}_${ver}.zip" basedir=".">
57+
<include name="${project}_${ver}.jar" />
58+
<fileset dir="lib" includes="slf4j*.jar" />
59+
<include name="README" />
60+
</zip>
61+
</target>
5762
<target name="jar">
5863
<antcall target="clean" />
5964
<antcall target="compile" />

doc/TODO.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
To Do:
2-
- removeMulti support
32
- Increase performance for UDP protocol by decreasing the latency time.
43
- Give performance test report for UDP protocol.
5-
- Try to support big data in windows platform, seems the null bug is caused by jre.
6-
- dynamic test for loadMulti.

lib/log4j.jar

-344 KB
Binary file not shown.

src/main/com/danga/MemCached/Logger.java

Lines changed: 0 additions & 232 deletions
This file was deleted.

0 commit comments

Comments
 (0)