Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix license: apache 2.

  • Loading branch information...
commit 7a6d9e656c46cf0ce5384e088231418822fe04f2 1 parent 83f0beb
authored March 10, 2009

Showing 29 changed files with 364 additions and 87 deletions. Show diff stats Hide diff stats

  1. 26  LICENSE
  2. 2  README.md
  3. 16  src/main/scala/net/lag/smile/KetamaNodeLocator.scala
  4. 16  src/main/scala/net/lag/smile/KeyHasher.scala
  5. 16  src/main/scala/net/lag/smile/LoggingFilter.scala
  6. 16  src/main/scala/net/lag/smile/MemcacheClient.scala
  7. 16  src/main/scala/net/lag/smile/MemcacheClientDecoder.scala
  8. 16  src/main/scala/net/lag/smile/MemcacheCodec.scala
  9. 16  src/main/scala/net/lag/smile/MemcacheConnection.scala
  10. 16  src/main/scala/net/lag/smile/MemcacheServerException.scala
  11. 16  src/main/scala/net/lag/smile/NodeLocator.scala
  12. 16  src/main/scala/net/lag/smile/RoundRobinNodeLocator.scala
  13. 16  src/main/scala/net/lag/smile/SequentialNodeLocator.scala
  14. 16  src/main/scala/net/lag/smile/ServerPool.scala
  15. 1  src/main/scala/net/lag/smile/Time.scala
  16. 16  src/test/scala/net/lag/smile/FakeMemcacheConnection.scala
  17. 16  src/test/scala/net/lag/smile/KetamaNodeLocatorSpec.scala
  18. 16  src/test/scala/net/lag/smile/KeyHasherSpec.scala
  19. 16  src/test/scala/net/lag/smile/MemcacheClientDecoderSpec.scala
  20. 16  src/test/scala/net/lag/smile/MemcacheClientSpec.scala
  21. 16  src/test/scala/net/lag/smile/MemcacheConnectionSpec.scala
  22. 16  src/test/scala/net/lag/smile/RoundRobinNodeLocatorSpec.scala
  23. 16  src/test/scala/net/lag/smile/SequentialNodeLocatorSpec.scala
  24. 16  src/test/scala/net/lag/smile/ServerPoolSpec.scala
  25. 16  src/test/scala/net/lag/smile/TestRunner.scala
  26. 22  src/test/scala/net/lag/smile/go.scala
  27. 16  src/test/scala/net/lag/smile/stress/Kestrel.scala
  28. 16  src/test/scala/net/lag/smile/stress/ManyGets.scala
  29. 16  src/test/scala/net/lag/smile/stress/StressTest.scala
26  LICENSE
... ...
@@ -1,18 +1,16 @@
1  
-This software is licensed under the ISC license, quoted below.
2  
-See <http://en.wikipedia.org/wiki/ISC_license> for details, but it is
3  
-effectively a shorter version of the BSD license, and very permissive.
  1
+This software is licensed under the Apache 2 license, quoted below.
4 2
 
  3
+Copyright 2009 Twitter, Inc.
  4
+Copyright 2009 Robey Pointer <robeypointer@gmail.com>
5 5
 
6  
-Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
  6
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
  7
+use this file except in compliance with the License. You may obtain a copy of
  8
+the License at
7 9
 
8  
-Permission to use, copy, modify, and/or distribute this software for any
9  
-purpose with or without fee is hereby granted, provided that the above
10  
-copyright notice and this permission notice appear in all copies.
  10
+    http://www.apache.org/licenses/LICENSE-2.0
11 11
 
12  
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
13  
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
14  
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
15  
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
16  
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
17  
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
18  
-OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  12
+Unless required by applicable law or agreed to in writing, software
  13
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  14
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  15
+License for the specific language governing permissions and limitations under
  16
+the License.
2  README.md
Source Rendered
@@ -3,7 +3,7 @@ SMILE
3 3
 =====
4 4
 
5 5
 Smile is a memcache library for scala which is intended to be fast and highly
6  
-concurrent. It is open-sourced under the ISC license.
  6
+concurrent. It is open-sourced under the Apache 2 license.
7 7
 
8 8
 All the standard key hashing functions are supported (CRC-ITU, FNV, and
9 9
 Ketama). Support for round-robin ("default") and Ketama key distributions is
16  src/main/scala/net/lag/smile/KetamaNodeLocator.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile
16  src/main/scala/net/lag/smile/KeyHasher.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile
16  src/main/scala/net/lag/smile/LoggingFilter.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile
16  src/main/scala/net/lag/smile/MemcacheClient.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile
16  src/main/scala/net/lag/smile/MemcacheClientDecoder.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile
16  src/main/scala/net/lag/smile/MemcacheCodec.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile
16  src/main/scala/net/lag/smile/MemcacheConnection.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile
16  src/main/scala/net/lag/smile/MemcacheServerException.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile
16  src/main/scala/net/lag/smile/NodeLocator.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile
16  src/main/scala/net/lag/smile/RoundRobinNodeLocator.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile
16  src/main/scala/net/lag/smile/SequentialNodeLocator.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2009, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile
16  src/main/scala/net/lag/smile/ServerPool.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile
1  src/main/scala/net/lag/smile/Time.scala
... ...
@@ -1,4 +1,5 @@
1 1
 /*
  2
+ * Copyright 2009 Twitter, Inc.
2 3
  * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
3 4
  *
4 5
  * Licensed under the Apache License, Version 2.0 (the "License"); you may
16  src/test/scala/net/lag/smile/FakeMemcacheConnection.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile
16  src/test/scala/net/lag/smile/KetamaNodeLocatorSpec.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile
16  src/test/scala/net/lag/smile/KeyHasherSpec.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile
16  src/test/scala/net/lag/smile/MemcacheClientDecoderSpec.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile
16  src/test/scala/net/lag/smile/MemcacheClientSpec.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile
16  src/test/scala/net/lag/smile/MemcacheConnectionSpec.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile
16  src/test/scala/net/lag/smile/RoundRobinNodeLocatorSpec.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile
16  src/test/scala/net/lag/smile/SequentialNodeLocatorSpec.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2009, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile
16  src/test/scala/net/lag/smile/ServerPoolSpec.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile
16  src/test/scala/net/lag/smile/TestRunner.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile
22  src/test/scala/net/lag/smile/go.scala
... ...
@@ -1,22 +0,0 @@
1  
-/*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
4  
- */
5  
-
6  
-package net.lag.smile
7  
-
8  
-import net.lag.configgy.Configgy
9  
-import net.lag.logging.{Level, Logger}
10  
-import net.lag.configgy.Configgy
11  
-//import net.lag.smile.MemcacheClient
12  
-
13  
-
14  
-object go {
15  
-  def main(args: Array[String]): Unit = {
16  
-    Logger.get("").setLevel(Logger.TRACE)
17  
-    val cache = MemcacheClient.create(Array("localhost"), "default", "crc32-itu")
18  
-    println(cache)
19  
-    cache.set("robey", "calgon take me away!")
20  
-    cache.shutdown
21  
-  }
22  
-}
16  src/test/scala/net/lag/smile/stress/Kestrel.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile.stress
16  src/test/scala/net/lag/smile/stress/ManyGets.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile.stress
16  src/test/scala/net/lag/smile/stress/StressTest.scala
... ...
@@ -1,6 +1,18 @@
1 1
 /*
2  
- * Copyright (c) 2008, Robey Pointer <robeypointer@gmail.com>
3  
- * ISC licensed. Please see the included LICENSE file for more information.
  2
+ * Copyright 2009 Twitter, Inc.
  3
+ * Copyright 2009 Robey Pointer <robeypointer@gmail.com>
  4
+ *
  5
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
  6
+ * not use this file except in compliance with the License. You may obtain
  7
+ * a copy of the License at
  8
+ *
  9
+ *     http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
4 16
  */
5 17
 
6 18
 package net.lag.smile.stress

0 notes on commit 7a6d9e6

Please sign in to comment.
Something went wrong with that request. Please try again.