Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix formatting

  • Loading branch information...
commit fbea73acedf3fc2367547dbfa4eeeb6f9470e6c8 1 parent 2967972
@moonpolysoft moonpolysoft authored
Showing with 22 additions and 21 deletions.
  1. +22 −21 README.md
View
43 README.md
@@ -2,40 +2,41 @@ This is Boundary's fork of Cliff Click's high scale lib. We will be maintaining
To use high scale lib from ivy add the following to your resolver chain in ivysettings.xml:
- <url name="boundary" m2compatible="true">
- <artifact pattern="http://maven.boundary.com/repo/[organization]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]" />
- <ivy pattern="http://maven.boundary.com/repo/[organization]/[module]/[revision]/ivy-[module].xml" />
- </url>
+ <url name="boundary" m2compatible="true">
+ <artifact pattern="http://maven.boundary.com/repo/[organization]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]" />
+ <ivy pattern="http://maven.boundary.com/repo/[organization]/[module]/[revision]/ivy-[module].xml" />
+ </url>
and declare the dependency in ivy.xml:
- <dependency
- org="com.boundary"
- name="high-scale-lib"
- rev="1.0.2" />
+ <dependency
+ org="com.boundary"
+ name="high-scale-lib"
+ rev="1.0.2" />
From maven simply add the repository to the repositories element:
- <repository>
- <id>boundary-site</id>
- <url>http://maven.boundary.com/repo</url>
- </repository>
+ <repository>
+ <id>boundary-site</id>
+ <url>http://maven.boundary.com/repo</url>
+ </repository>
and then add the dependency to the dependencies element:
- <dependency>
- <groupId>com.boundary</groupId>
- <artifactId>high-scale-lib</artifactId>
- <version>1.0.2</version>
- </dependency>
+ <dependency>
+ <groupId>com.boundary</groupId>
+ <artifactId>high-scale-lib</artifactId>
+ <version>1.0.2</version>
+ </dependency>
-Original README:
+Original README
+---------------
IF YOU ARE LOOKING for the drop-in replacement for java.util.Hashtable, it's
in the lib directory, lib/java_util_hashtable.jar. It needs to be in your
bootclasspath. Example:
- java -Xbootclasspath/p:lib/java_util_hashtable.jar my_java_app_goes_here
+ java -Xbootclasspath/p:lib/java_util_hashtable.jar my_java_app_goes_here
---
@@ -63,11 +64,11 @@ class-path hacks can be done.
To replace the JDK implementation of Hashtable with a non-blocking version of
Hashtable, add java_util_hashtable.jar to your java launch line:
- java -Xbootclasspath/p:lib/java_util_hashtable.jar my_app_goes_here
+ java -Xbootclasspath/p:lib/java_util_hashtable.jar my_app_goes_here
Similarly for ConcurrentHashMap, add java_util_concurrent_chm.jar:
- java -Xbootclasspath/p:lib/java_util_concurrent_chm.jar my_app_goes_here
+ java -Xbootclasspath/p:lib/java_util_concurrent_chm.jar my_app_goes_here
The other utilities do not have direct JDK replacements; you need to call them
Please sign in to comment.
Something went wrong with that request. Please try again.