Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'master' of https://github.com/boundary/high-scale-lib

  • Loading branch information...
commit 83e4979250611c946a591eb860f568b38d92f92f 2 parents b7ca0f2 + fbea73a
d authored

Showing 1 changed file with 36 additions and 3 deletions. Show diff stats Hide diff stats

  1. +36 3 README → README.md
39 README → README.md
Source Rendered
... ... @@ -1,9 +1,42 @@
  1 +This is Boundary's fork of Cliff Click's high scale lib. We will be maintaining this fork with bug fixes, improvements and versioned builds in our public maven repository.
  2 +
  3 +To use high scale lib from ivy add the following to your resolver chain in ivysettings.xml:
  4 +
  5 + <url name="boundary" m2compatible="true">
  6 + <artifact pattern="http://maven.boundary.com/repo/[organization]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]" />
  7 + <ivy pattern="http://maven.boundary.com/repo/[organization]/[module]/[revision]/ivy-[module].xml" />
  8 + </url>
  9 +
  10 +and declare the dependency in ivy.xml:
  11 +
  12 + <dependency
  13 + org="com.boundary"
  14 + name="high-scale-lib"
  15 + rev="1.0.2" />
  16 +
  17 +From maven simply add the repository to the repositories element:
  18 +
  19 + <repository>
  20 + <id>boundary-site</id>
  21 + <url>http://maven.boundary.com/repo</url>
  22 + </repository>
  23 +
  24 +and then add the dependency to the dependencies element:
  25 +
  26 + <dependency>
  27 + <groupId>com.boundary</groupId>
  28 + <artifactId>high-scale-lib</artifactId>
  29 + <version>1.0.2</version>
  30 + </dependency>
  31 +
  32 +Original README
  33 +---------------
1 34
2 35 IF YOU ARE LOOKING for the drop-in replacement for java.util.Hashtable, it's
3 36 in the lib directory, lib/java_util_hashtable.jar. It needs to be in your
4 37 bootclasspath. Example:
5 38
6   - java -Xbootclasspath/p:lib/java_util_hashtable.jar my_java_app_goes_here
  39 + java -Xbootclasspath/p:lib/java_util_hashtable.jar my_java_app_goes_here
7 40
8 41
9 42 ---
@@ -31,11 +64,11 @@ class-path hacks can be done.
31 64 To replace the JDK implementation of Hashtable with a non-blocking version of
32 65 Hashtable, add java_util_hashtable.jar to your java launch line:
33 66
34   - java -Xbootclasspath/p:lib/java_util_hashtable.jar my_app_goes_here
  67 + java -Xbootclasspath/p:lib/java_util_hashtable.jar my_app_goes_here
35 68
36 69 Similarly for ConcurrentHashMap, add java_util_concurrent_chm.jar:
37 70
38   - java -Xbootclasspath/p:lib/java_util_concurrent_chm.jar my_app_goes_here
  71 + java -Xbootclasspath/p:lib/java_util_concurrent_chm.jar my_app_goes_here
39 72
40 73
41 74 The other utilities do not have direct JDK replacements; you need to call them

0 comments on commit 83e4979

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