Skip to content

Commit cd09e65

Browse files
committed
upgrade to 3.0.0
you can now download this client from maven. domain changed from danga.com to whalin.com because of the maven policy.
2 parents c7d6c7f + c5a8483 commit cd09e65

33 files changed

+215
-125
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ memcached-release*
1414
/bin
1515
/target
1616
/java_memcached-release*
17+
/release.properties
18+
/pom.xml.releaseBackup

README

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
#Author Xingen Wang ([email protected])
22
3+
Release 3.0.0:
4+
Change the domain name in order to put the library into maven central.
5+
6+
Release 2.6.6:
7+
Resove issue #38. you can now get Boolean, Long with gets command in AsciiClient.
8+
39
Release 2.6.5:
410
since nio doesn't support soTimeout, solve this issue in com.schooner.MemCached.SockInputStream.readFromChannel().
511

build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ build.dir=classes
3333
test.build.dir=testclasses
3434
build.instr.dir=classesinstr
3535
project=java_memcached-release
36-
ver=2.6.5
36+
ver=3.0.0
3737
junit.jar=lib/junit.jar
3838
slf4japi.jar=lib/slf4j-api-1.6.1.jar
3939
slf4jsimple.jar=lib/slf4j-simple-1.6.1.jar

doc/LICENSE.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
LGPLv3
2+
13
* Copyright (c) 2007, Greg Whain
24
* All rights reserved.
35
*
@@ -22,6 +24,7 @@
2224
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2325
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2426
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27+
********************************************************************************
2528

2629
/*******************************************************************************
2730
* Copyright (c) 2009 Schooner Information Technology, Inc.

pom.xml

Lines changed: 158 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,158 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3-
<modelVersion>4.0.0</modelVersion>
4-
5-
<groupId>com.danga</groupId>
6-
<artifactId>Memcached-Java-Client</artifactId>
7-
<version>2.6.5</version>
8-
<packaging>jar</packaging>
9-
10-
<name>Memcached-Java-Client</name>
11-
<url>https://github.com/gwhalin/Memcached-Java-Client</url>
12-
13-
<properties>
14-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15-
</properties>
16-
17-
<dependencies>
18-
<dependency>
19-
<groupId>junit</groupId>
20-
<artifactId>junit</artifactId>
21-
<version>3.8.1</version>
22-
<scope>test</scope>
23-
</dependency>
24-
<dependency>
25-
<groupId>commons-pool</groupId>
26-
<artifactId>commons-pool</artifactId>
27-
<version>1.5.6</version>
28-
</dependency>
29-
<dependency>
30-
<groupId>org.slf4j</groupId>
31-
<artifactId>slf4j-api</artifactId>
32-
<version>1.6.4</version>
33-
</dependency>
34-
<dependency>
35-
<groupId>org.slf4j</groupId>
36-
<artifactId>slf4j-simple</artifactId>
37-
<version>1.6.4</version>
38-
<scope>provided</scope>
39-
</dependency>
40-
</dependencies>
41-
<build>
42-
<plugins>
43-
<plugin>
44-
<groupId>org.apache.maven.plugins</groupId>
45-
<artifactId>maven-surefire-plugin</artifactId>
46-
<version>2.9</version>
47-
<configuration>
48-
<skipTests>true</skipTests>
49-
</configuration>
50-
</plugin>
51-
<plugin>
52-
<groupId>org.apache.maven.plugins</groupId>
53-
<artifactId>maven-compiler-plugin</artifactId>
54-
<version>2.3.2</version>
55-
<configuration>
56-
<debuglevel>none</debuglevel>
57-
<optimize>true</optimize>
58-
<source>1.6</source>
59-
<target>1.6</target>
60-
</configuration>
61-
</plugin>
62-
<plugin>
63-
<groupId>org.apache.maven.plugins</groupId>
64-
<artifactId>maven-source-plugin</artifactId>
65-
<version>2.1.2</version>
66-
<executions>
67-
<execution>
68-
<id>attach-sources</id>
69-
<phase>verify</phase>
70-
<goals>
71-
<goal>jar-no-fork</goal>
72-
</goals>
73-
</execution>
74-
</executions>
75-
</plugin>
76-
</plugins>
77-
</build>
78-
<description>high performance memcached java client</description>
79-
</project>
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<modelVersion>4.0.0</modelVersion>
3+
4+
<groupId>com.whalin</groupId>
5+
<artifactId>Memcached-Java-Client</artifactId>
6+
<version>3.0.0</version>
7+
<packaging>jar</packaging>
8+
9+
<name>Memcached-Java-Client</name>
10+
<description>high performance memcached java client</description>
11+
<issueManagement>
12+
<url>https://github.com/gwhalin/Memcached-Java-Client/issues</url>
13+
<system>github</system>
14+
</issueManagement>
15+
<organization>
16+
<name>Schooner Information Technology</name>
17+
<url>http://www.schoonerinfotech.com/</url>
18+
</organization>
19+
<url>https://github.com/gwhalin/Memcached-Java-Client</url>
20+
<licenses>
21+
<license>
22+
<name>LGPLv3</name>
23+
<url>http://www.gnu.org/licenses/gpl-3.0.html</url>
24+
<distribution>repo</distribution>
25+
</license>
26+
</licenses>
27+
<scm>
28+
<connection>scm:git:[email protected]:gwhalin/Memcached-Java-Client.git</connection>
29+
<developerConnection>scm:git:[email protected]:gwhalin/Memcached-Java-Client.git</developerConnection>
30+
<tag>Performance</tag>
31+
<url>[email protected]:gwhalin/Memcached-Java-Client.git</url>
32+
</scm>
33+
34+
<developers>
35+
<developer>
36+
<id>gwhalin</id>
37+
<name>Greg Whalin</name>
38+
<email>[email protected]</email>
39+
</developer>
40+
<developer>
41+
<id>newroot</id>
42+
<name>Xingen Wang</name>
43+
<email>[email protected]</email>
44+
</developer>
45+
<developer>
46+
<id>jowett</id>
47+
<name>Meng Li</name>
48+
<email>[email protected]</email>
49+
</developer>
50+
</developers>
51+
52+
<properties>
53+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
54+
</properties>
55+
56+
<dependencies>
57+
<dependency>
58+
<groupId>junit</groupId>
59+
<artifactId>junit</artifactId>
60+
<version>3.8.1</version>
61+
<scope>test</scope>
62+
</dependency>
63+
<dependency>
64+
<groupId>commons-pool</groupId>
65+
<artifactId>commons-pool</artifactId>
66+
<version>1.5.6</version>
67+
</dependency>
68+
<dependency>
69+
<groupId>org.slf4j</groupId>
70+
<artifactId>slf4j-api</artifactId>
71+
<version>1.6.4</version>
72+
</dependency>
73+
<dependency>
74+
<groupId>org.slf4j</groupId>
75+
<artifactId>slf4j-simple</artifactId>
76+
<version>1.6.4</version>
77+
<scope>provided</scope>
78+
</dependency>
79+
</dependencies>
80+
<build>
81+
<plugins>
82+
<plugin>
83+
<groupId>org.apache.maven.plugins</groupId>
84+
<artifactId>maven-surefire-plugin</artifactId>
85+
<version>2.9</version>
86+
<configuration>
87+
<skipTests>true</skipTests>
88+
</configuration>
89+
</plugin>
90+
<plugin>
91+
<groupId>org.apache.maven.plugins</groupId>
92+
<artifactId>maven-compiler-plugin</artifactId>
93+
<version>2.3.2</version>
94+
<configuration>
95+
<debuglevel>none</debuglevel>
96+
<optimize>true</optimize>
97+
<source>1.6</source>
98+
<target>1.6</target>
99+
</configuration>
100+
</plugin>
101+
<plugin>
102+
<groupId>org.apache.maven.plugins</groupId>
103+
<artifactId>maven-source-plugin</artifactId>
104+
<version>2.1.2</version>
105+
<executions>
106+
<execution>
107+
<id>attach-sources</id>
108+
<phase>verify</phase>
109+
<goals>
110+
<goal>jar-no-fork</goal>
111+
</goals>
112+
</execution>
113+
</executions>
114+
</plugin>
115+
<plugin>
116+
<groupId>org.apache.maven.plugins</groupId>
117+
<artifactId>maven-javadoc-plugin</artifactId>
118+
<configuration>
119+
<locale>en_US</locale>
120+
</configuration>
121+
<executions>
122+
<execution>
123+
<id>attach-javadocs</id>
124+
<goals>
125+
<goal>jar</goal>
126+
</goals>
127+
</execution>
128+
</executions>
129+
</plugin>
130+
<plugin>
131+
<groupId>org.apache.maven.plugins</groupId>
132+
<artifactId>maven-gpg-plugin</artifactId>
133+
<executions>
134+
<execution>
135+
<id>sign-artifacts</id>
136+
<phase>verify</phase>
137+
<goals>
138+
<goal>sign</goal>
139+
</goals>
140+
</execution>
141+
</executions>
142+
</plugin>
143+
</plugins>
144+
</build>
145+
<reporting>
146+
<plugins>
147+
<plugin>
148+
<groupId>org.apache.maven.plugins</groupId>
149+
<artifactId>maven-javadoc-plugin</artifactId>
150+
</plugin>
151+
</plugins>
152+
</reporting>
153+
<parent>
154+
<groupId>org.sonatype.oss</groupId>
155+
<artifactId>oss-parent</artifactId>
156+
<version>7</version>
157+
</parent>
158+
</project>

src/main/java/com/schooner/MemCached/AscIIClient.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@
4646
import java.util.Map;
4747
import java.util.zip.GZIPInputStream;
4848

49-
import com.danga.MemCached.ErrorHandler;
50-
import com.danga.MemCached.LineInputStream;
51-
import com.danga.MemCached.MemCachedClient;
49+
import com.whalin.MemCached.ErrorHandler;
50+
import com.whalin.MemCached.LineInputStream;
51+
import com.whalin.MemCached.MemCachedClient;
5252

5353
/**
5454
* This client implements the text protocol of memcached in a very high

src/main/java/com/schooner/MemCached/AscIIUDPClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
import java.util.HashMap;
3636
import java.util.Map;
3737

38-
import com.danga.MemCached.ErrorHandler;
39-
import com.danga.MemCached.MemCachedClient;
4038
import com.schooner.MemCached.command.DeletionCommand;
4139
import com.schooner.MemCached.command.FlushAllCommand;
4240
import com.schooner.MemCached.command.IncrdecrCommand;
@@ -45,6 +43,8 @@
4543
import com.schooner.MemCached.command.StorageCommand;
4644
import com.schooner.MemCached.command.SyncAllCommand;
4745
import com.schooner.MemCached.command.SyncCommand;
46+
import com.whalin.MemCached.ErrorHandler;
47+
import com.whalin.MemCached.MemCachedClient;
4848

4949
/**
5050
* This client implements the UDP protocol of memcached in a very high

src/main/java/com/schooner/MemCached/AuthSchoonerSockIOFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import org.slf4j.Logger;
99
import org.slf4j.LoggerFactory;
1010

11-
import com.danga.MemCached.MemCachedClient;
11+
import com.whalin.MemCached.MemCachedClient;
1212

1313
/**
1414
* * {@link AuthSchoonerSockIOFactory} is used to create and destroy socket for

src/main/java/com/schooner/MemCached/BinaryClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
import java.util.Map;
4848
import java.util.zip.GZIPInputStream;
4949

50-
import com.danga.MemCached.ErrorHandler;
51-
import com.danga.MemCached.MemCachedClient;
50+
import com.whalin.MemCached.ErrorHandler;
51+
import com.whalin.MemCached.MemCachedClient;
5252

5353
/**
5454
* This client implements the binary protocol of memcached in a very high

src/main/java/com/schooner/MemCached/ByteBufArrayInputStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import java.nio.ByteBuffer;
2525
import java.util.List;
2626

27-
import com.danga.MemCached.LineInputStream;
27+
import com.whalin.MemCached.LineInputStream;
2828

2929
/**
3030
* This class will only be used in the multi-get memcached operations.

0 commit comments

Comments
 (0)