Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Initial import

  • Loading branch information...
commit fbd0f95d62ac2c5e97e5a4df5a732e9342d60da1 0 parents
@jkreps jkreps authored
Showing with 24,938 additions and 0 deletions.
  1. +33 −0 .classpath
  2. +18 −0 .project
  3. +266 −0 .settings/org.eclipse.jdt.core.prefs
  4. +118 −0 .settings/org.eclipse.jdt.ui.prefs
  5. +12 −0 BUGS
  6. +56 −0 NOTES
  7. +143 −0 TODO
  8. +16 −0 bin/run-wrapper.sh
  9. +21 −0 bin/sort.sh
  10. +9 −0 bin/voldemort-remote-test.sh
  11. +21 −0 bin/voldemort-server.sh
  12. +11 −0 bin/voldemort-shell.sh
  13. +18 −0 build.properties
  14. +180 −0 build.xml
  15. +6 −0 build_number.txt
  16. +10 −0 config/single_node_cluster/config/cluster.xml
  17. +25 −0 config/single_node_cluster/config/server.properties
  18. +18 −0 config/single_node_cluster/config/stores.xml
  19. +17 −0 config/test_config1/config/cluster.xml
  20. +26 −0 config/test_config1/config/server.properties
  21. +19 −0 config/test_config1/config/stores.xml
  22. +3 −0  config/test_config1/simple_ops.txt
  23. +17 −0 config/test_config2/config/cluster.xml
  24. +15 −0 config/test_config2/config/server.properties
  25. +18 −0 config/test_config2/config/stores.xml
  26. +2 −0  docs/eclipse_templates/voldemort-codetemplate.xml
  27. +267 −0 docs/eclipse_templates/voldemort-eclipse-settings.xml
  28. +267 −0 docs/eclipse_templates/voldemort_formatter.xml
  29. +19 −0 docs/fun_projects.txt
  30. +1,438 −0 docs/hash_ring.graffle
  31. BIN  docs/hash_ring.png
  32. +959 −0 docs/logical_arch.graffle
  33. BIN  docs/logical_arch.png
  34. +21 −0 docs/perf/draw_graph.sh
  35. +52 −0 docs/perf/mysql_bdb_comparison.dat
  36. +101 −0 docs/perf/mysqlbench_results.dat
  37. +7 −0 docs/perf/notes.txt
  38. BIN  docs/perf/read_comp.png
  39. BIN  docs/perf/write_comp.png
  40. +2,526 −0 docs/physical_arch.graffle
  41. BIN  docs/physical_arch.png
  42. +116 −0 docs/purpose.txt
  43. +38 −0 example/java/voldemort/examples/ClientExample.java
  44. BIN  lib/catalina-ant.jar
  45. BIN  lib/colt.jar
  46. BIN  lib/commons-codec-1.3.jar
  47. BIN  lib/commons-collections-3.1.jar
  48. BIN  lib/commons-dbcp-1.2.2.jar
  49. BIN  lib/commons-httpclient-3.1.jar
  50. BIN  lib/commons-io-1.3.2.jar
  51. BIN  lib/commons-lang-2.1.jar
  52. BIN  lib/commons-logging.jar
  53. BIN  lib/commons-pool-1.4.jar
  54. BIN  lib/google-collect-snapshot-20080530.jar
  55. BIN  lib/jdom.jar
  56. BIN  lib/je-3.3.62.jar
  57. BIN  lib/jetty-6.1.6rc0.jar
  58. BIN  lib/jetty-util-6.1.6rc0.jar
  59. BIN  lib/junit-4.1.jar
  60. BIN  lib/log4j-1.2.13.jar
  61. BIN  lib/mysql-connector-java-5.1.5-bin.jar
  62. BIN  lib/servlet-api.jar
  63. BIN  lib/slf4j-api-1.4.3.jar
  64. BIN  lib/slf4j-log4j12-1.4.3.jar
  65. BIN  lib/src/bdb-je-3.2.44-src.zip
  66. BIN  lib/src/commons-httpclient-3.1-src.zip
  67. BIN  lib/src/commons-pool-1.4-src.zip
  68. BIN  lib/src/google-collections-src-snapshot-20080530.zip
  69. BIN  lib/src/hadoop-0.18.0-src.zip
  70. BIN  lib/src/jetty-6.1.3-src.zip
  71. BIN  lib/src/mina-core-1.1.5-sources.jar
  72. BIN  lib/src/mysql-connector-java-5.1.5.src.zip
  73. BIN  lib/src/stringtree-2.0.9-src.zip
  74. BIN  lib/velocity-1.5.jar
  75. BIN  lib/xerces.jar
  76. +14 −0 src/java/log4j.properties
  77. +215 −0 src/java/voldemort/VoldemortClientShell.java
  78. +33 −0 src/java/voldemort/VoldemortException.java
  79. +11 −0 src/java/voldemort/annotations/concurrency/Immutable.java
  80. +13 −0 src/java/voldemort/annotations/concurrency/LockedBy.java
  81. +12 −0 src/java/voldemort/annotations/concurrency/NotThreadsafe.java
  82. +12 −0 src/java/voldemort/annotations/concurrency/Threadsafe.java
  83. +5 −0 src/java/voldemort/annotations/concurrency/package.html
  84. +15 −0 src/java/voldemort/annotations/jmx/JmxGetter.java
  85. +19 −0 src/java/voldemort/annotations/jmx/JmxManaged.java
  86. +23 −0 src/java/voldemort/annotations/jmx/JmxOperation.java
  87. +21 −0 src/java/voldemort/annotations/jmx/JmxParam.java
  88. +15 −0 src/java/voldemort/annotations/jmx/JmxSetter.java
  89. +5 −0 src/java/voldemort/annotations/jmx/package.html
  90. +5 −0 src/java/voldemort/annotations/package.html
  91. +198 −0 src/java/voldemort/client/AbstractStoreClientFactory.java
  92. +23 −0 src/java/voldemort/client/BootstrapFailureException.java
  93. +135 −0 src/java/voldemort/client/DefaultStoreClient.java
  94. +131 −0 src/java/voldemort/client/HttpStoreClientFactory.java
  95. +72 −0 src/java/voldemort/client/MockStoreClientFactory.java
  96. +23 −0 src/java/voldemort/client/RoutingTier.java
  97. +131 −0 src/java/voldemort/client/SocketStoreClientFactory.java
  98. +129 −0 src/java/voldemort/client/StoreClient.java
  99. +20 −0 src/java/voldemort/client/StoreClientFactory.java
  100. +25 −0 src/java/voldemort/client/UpdateAction.java
  101. +7 −0 src/java/voldemort/client/VoldemortProtocol.java
  102. +9 −0 src/java/voldemort/client/package.html
  103. +98 −0 src/java/voldemort/cluster/Cluster.java
  104. +114 −0 src/java/voldemort/cluster/Node.java
  105. +78 −0 src/java/voldemort/cluster/NodeStatus.java
  106. +5 −0 src/java/voldemort/cluster/package.html
  107. +98 −0 src/java/voldemort/routing/ConsistentRoutingStrategy.java
  108. +33 −0 src/java/voldemort/routing/RouteToAllStrategy.java
  109. +34 −0 src/java/voldemort/routing/RoutingStrategy.java
  110. +5 −0 src/java/voldemort/routing/package.html
  111. +43 −0 src/java/voldemort/serialization/DefaultSerializerFactory.java
  112. +20 −0 src/java/voldemort/serialization/IdentitySerializer.java
  113. +53 −0 src/java/voldemort/serialization/ObjectSerializer.java
  114. +33 −0 src/java/voldemort/serialization/SerializationException.java
  115. +28 −0 src/java/voldemort/serialization/Serializer.java
  116. +101 −0 src/java/voldemort/serialization/SerializerDefinition.java
  117. +13 −0 src/java/voldemort/serialization/SerializerFactory.java
  118. +65 −0 src/java/voldemort/serialization/SlopSerializer.java
  119. +35 −0 src/java/voldemort/serialization/StringSerializer.java
  120. +45 −0 src/java/voldemort/serialization/VersionedSerializer.java
  121. +7 −0 src/java/voldemort/serialization/VoldemortOpCode.java
  122. +83 −0 src/java/voldemort/serialization/VoldemortOperation.java
  123. +13 −0 src/java/voldemort/serialization/json/EndOfFileException.java
  124. +381 −0 src/java/voldemort/serialization/json/JsonReader.java
  125. +170 −0 src/java/voldemort/serialization/json/JsonTypeDefinition.java
  126. +528 −0 src/java/voldemort/serialization/json/JsonTypeSerializer.java
  127. +40 −0 src/java/voldemort/serialization/json/JsonTypes.java
  128. +5 −0 src/java/voldemort/serialization/package.html
  129. +66 −0 src/java/voldemort/server/AbstractService.java
  130. +561 −0 src/java/voldemort/server/VoldemortConfig.java
  131. +181 −0 src/java/voldemort/server/VoldemortServer.java
  132. +30 −0 src/java/voldemort/server/VoldemortService.java
  133. +91 −0 src/java/voldemort/server/http/HttpService.java
  134. +171 −0 src/java/voldemort/server/http/StoreServlet.java
  135. +60 −0 src/java/voldemort/server/http/VoldemortServletContextListener.java
  136. +54 −0 src/java/voldemort/server/http/gui/AdminServlet.java
  137. +89 −0 src/java/voldemort/server/http/gui/QueryServlet.java
  138. +56 −0 src/java/voldemort/server/http/gui/VelocityEngine.java
  139. +77 −0 src/java/voldemort/server/http/gui/templates/admin.vm
  140. +51 −0 src/java/voldemort/server/http/gui/templates/query.vm
  141. +5 −0 src/java/voldemort/server/http/package.html
  142. +88 −0 src/java/voldemort/server/jmx/JmxService.java
  143. +6 −0 src/java/voldemort/server/package.html
  144. +88 −0 src/java/voldemort/server/scheduler/DataCleanupJob.java
  145. +81 −0 src/java/voldemort/server/scheduler/RebalancingJob.java
  146. +76 −0 src/java/voldemort/server/scheduler/SchedulerService.java
  147. +98 −0 src/java/voldemort/server/scheduler/SlopPusherJob.java
  148. +196 −0 src/java/voldemort/server/socket/SocketServer.java
  149. +46 −0 src/java/voldemort/server/socket/SocketService.java
  150. +120 −0 src/java/voldemort/server/socket/StreamStoreRequestHandler.java
  151. +252 −0 src/java/voldemort/server/storage/StorageService.java
  152. +60 −0 src/java/voldemort/store/DelegatingStore.java
  153. +53 −0 src/java/voldemort/store/Entry.java
  154. +47 −0 src/java/voldemort/store/ErrorCodeMapper.java
  155. +50 −0 src/java/voldemort/store/InsufficientOperationalNodesException.java
  156. +44 −0 src/java/voldemort/store/KeyWrapper.java
  157. +22 −0 src/java/voldemort/store/ObsoleteVersionException.java
  158. +31 −0 src/java/voldemort/store/PersistenceFailureException.java
  159. +35 −0 src/java/voldemort/store/StorageConfiguration.java
  160. +29 −0 src/java/voldemort/store/StorageEngine.java
  161. +59 −0 src/java/voldemort/store/StorageEngineType.java
  162. +30 −0 src/java/voldemort/store/StorageInitializationException.java
  163. +57 −0 src/java/voldemort/store/Store.java
  164. +167 −0 src/java/voldemort/store/StoreDefinition.java
  165. +31 −0 src/java/voldemort/store/StoreOperationFailureException.java
  166. +16 −0 src/java/voldemort/store/StoreUtils.java
  167. +35 −0 src/java/voldemort/store/UnknownFailure.java
  168. +28 −0 src/java/voldemort/store/UnreachableStoreException.java
  169. +95 −0 src/java/voldemort/store/bdb/BdbStorageConfiguration.java
  170. +347 −0 src/java/voldemort/store/bdb/BdbStorageEngine.java
  171. +171 −0 src/java/voldemort/store/filesystem/FilesystemStorageEngine.java
  172. +53 −0 src/java/voldemort/store/gzip/GzipStore.java
  173. +73 −0 src/java/voldemort/store/http/HttpResponseCodeErrorMapper.java
  174. +149 −0 src/java/voldemort/store/http/HttpStore.java
  175. +106 −0 src/java/voldemort/store/logging/LoggingStore.java
  176. +36 −0 src/java/voldemort/store/memory/CacheStorageConfiguration.java
  177. +31 −0 src/java/voldemort/store/memory/InMemoryStorageConfiguration.java
  178. +228 −0 src/java/voldemort/store/memory/InMemoryStorageEngine.java
  179. +146 −0 src/java/voldemort/store/metadata/MetadataStore.java
  180. +36 −0 src/java/voldemort/store/mysql/MysqlStorageConfiguration.java
  181. +312 −0 src/java/voldemort/store/mysql/MysqlStorageEngine.java
  182. +272 −0 src/java/voldemort/store/readonly/ExternalSorter.java
  183. +248 −0 src/java/voldemort/store/readonly/JsonStoreBuilder.java
  184. +38 −0 src/java/voldemort/store/readonly/RandomAccessFileStorageConfiguration.java
  185. +253 −0 src/java/voldemort/store/readonly/RandomAccessFileStore.java
  186. +35 −0 src/java/voldemort/store/readonly/StringSorter.java
  187. +77 −0 src/java/voldemort/store/routed/NodeValue.java
  188. +123 −0 src/java/voldemort/store/routed/ReadRepairer.java
  189. +514 −0 src/java/voldemort/store/routed/RoutedStore.java
  190. +70 −0 src/java/voldemort/store/serialized/SerializingStorageEngine.java
  191. +72 −0 src/java/voldemort/store/serialized/SerializingStore.java
  192. +114 −0 src/java/voldemort/store/slop/Slop.java
  193. +84 −0 src/java/voldemort/store/slop/SlopDetectingStore.java
  194. +134 −0 src/java/voldemort/store/slop/SloppyStore.java
  195. +49 −0 src/java/voldemort/store/socket/SocketAndStreams.java
  196. +51 −0 src/java/voldemort/store/socket/SocketDestination.java
  197. +78 −0 src/java/voldemort/store/socket/SocketPool.java
  198. +81 −0 src/java/voldemort/store/socket/SocketPoolableObjectFactory.java
  199. +150 −0 src/java/voldemort/store/socket/SocketStore.java
  200. +124 −0 src/java/voldemort/store/stats/StatTrackingStore.java
  201. +32 −0 src/java/voldemort/store/versioned/InconsistencyResolvingStore.java
  202. +38 −0 src/java/voldemort/store/versioned/VersionIncrementingStore.java
  203. +437 −0 src/java/voldemort/utils/ByteUtils.java
  204. +19 −0 src/java/voldemort/utils/ClosableIterator.java
  205. +16 −0 src/java/voldemort/utils/ConfigurationException.java
  206. +22 −0 src/java/voldemort/utils/ConstantHashFunction.java
  207. +25 −0 src/java/voldemort/utils/DefaultIterable.java
  208. +44 −0 src/java/voldemort/utils/FnvHashFunction.java
  209. +13 −0 src/java/voldemort/utils/HashFunction.java
  210. +293 −0 src/java/voldemort/utils/JmxUtils.java
  211. +240 −0 src/java/voldemort/utils/Props.java
  212. +44 −0 src/java/voldemort/utils/ReflectUtils.java
  213. +31 −0 src/java/voldemort/utils/SystemTime.java
  214. +31 −0 src/java/voldemort/utils/Time.java
  215. +17 −0 src/java/voldemort/utils/UndefinedPropertyException.java
  216. +143 −0 src/java/voldemort/utils/Utils.java
  217. +5 −0 src/java/voldemort/utils/package.html
  218. +29 −0 src/java/voldemort/versioning/ArbitraryInconsistencyResolver.java
  219. +36 −0 src/java/voldemort/versioning/ChainedResolver.java
  220. +87 −0 src/java/voldemort/versioning/ClockEntry.java
  221. +20 −0 src/java/voldemort/versioning/FailingInconsistencyResolver.java
  222. +24 −0 src/java/voldemort/versioning/InconsistencyResolver.java
  223. +32 −0 src/java/voldemort/versioning/InconsistentDataException.java
  224. +38 −0 src/java/voldemort/versioning/MergingInconsitencyResolver.java
  225. +13 −0 src/java/voldemort/versioning/ObjectMerger.java
  226. +14 −0 src/java/voldemort/versioning/Occured.java
  227. +32 −0 src/java/voldemort/versioning/TimeBasedInconsistencyResolver.java
  228. +327 −0 src/java/voldemort/versioning/VectorClock.java
  229. +41 −0 src/java/voldemort/versioning/VectorClockInconsistencyResolver.java
  230. +22 −0 src/java/voldemort/versioning/Version.java
  231. +88 −0 src/java/voldemort/versioning/Versioned.java
  232. +119 −0 src/java/voldemort/xml/ClusterMapper.java
  233. +25 −0 src/java/voldemort/xml/MappingException.java
  234. +213 −0 src/java/voldemort/xml/StoreDefinitionsMapper.java
  235. +28 −0 src/java/voldemort/xml/cluster.xsd
  236. +52 −0 src/java/voldemort/xml/stores.xsd
  237. +7 −0 test/common/mysql_test_init.sql
  238. +27 −0 test/common/voldemort/BlockingInputStream.java
  239. +28 −0 test/common/voldemort/BlockingOutputStream.java
  240. +47 −0 test/common/voldemort/MockTime.java
  241. +79 −0 test/common/voldemort/ServerTestUtils.java
  242. +134 −0 test/common/voldemort/TestUtils.java
  243. +57 −0 test/common/voldemort/VoldemortTestConstants.java
  244. +69 −0 test/common/voldemort/config/nine-node-cluster.xml
  245. +11 −0 test/common/voldemort/config/one-node-cluster.xml
  246. +20 −0 test/common/voldemort/config/single-store.xml
  247. +21 −0 test/common/voldemort/config/store-with-retention.xml
  248. +34 −0 test/common/voldemort/config/stores.xml
  249. +18 −0 test/common/voldemort/config/two-node-cluster.xml
  250. +51 −0 test/common/voldemort/store/FailingStore.java
  251. +48 −0 test/common/voldemort/store/SleepyStore.java
  252. +2 −0  test/integration/create_mysql_test.sql
  253. +10 −0 test/integration/generate_random_data.py
  254. +41 −0 test/integration/rest.py
  255. +8 −0 test/integration/simple_test.py
  256. +83 −0 test/integration/voldemort/ClientServerTest.java
  257. +27 −0 test/integration/voldemort/InMemoryMultiThreadedTest.java
  258. +76 −0 test/integration/voldemort/MultithreadedStressTest.java
  259. +41 −0 test/integration/voldemort/RandomAccessFileStoreTest.java
  260. +30 −0 test/integration/voldemort/ReadJson.java
  261. +95 −0 test/integration/voldemort/ReadOnlyStoreBuilder.java
  262. +35 −0 test/integration/voldemort/TestArrayCopy.java
  263. +28 −0 test/integration/voldemort/partition/FnvHashFunctionTester.java
  264. +57 −0 test/integration/voldemort/performance/AbstractLoadTestHarness.java
  265. +132 −0 test/integration/voldemort/performance/BdbGrowth.java
  266. +47 −0 test/integration/voldemort/performance/CacheStorageEnginePerformanceTest.java
  267. +73 −0 test/integration/voldemort/performance/HttpClientBench.java
  268. +38 −0 test/integration/voldemort/performance/LocalDirectLoadTest.java
  269. +64 −0 test/integration/voldemort/performance/LocalRoutedStoreLoadTest.java
  270. +124 −0 test/integration/voldemort/performance/MysqlBench.java
  271. +122 −0 test/integration/voldemort/performance/MysqlGrowth.java
  272. +116 −0 test/integration/voldemort/performance/PerformanceTest.java
  273. +29 −0 test/integration/voldemort/performance/RemoteHttpStoreLoadTest.java
  274. +151 −0 test/integration/voldemort/performance/RemoteStoreComparisonTest.java
  275. +102 −0 test/integration/voldemort/performance/RemoteTest.java
  276. +33 −0 test/integration/voldemort/performance/SemiLocalHttpStoreLoadTest.java
  277. +156 −0 test/unit/voldemort/UtilsTest.java
  278. +105 −0 test/unit/voldemort/client/AbstractStoreClientFactoryTest.java
  279. +59 −0 test/unit/voldemort/client/HttpStoreClientFactoryTest.java
  280. +63 −0 test/unit/voldemort/client/SocketStoreClientFactoryTest.java
  281. +68 −0 test/unit/voldemort/cluster/TestCluster.java
  282. +164 −0 test/unit/voldemort/routing/ConsistentRoutingStrategyTest.java
  283. +25 −0 test/unit/voldemort/routing/PartitionedRoutingStrategyTest.java
  284. +65 −0 test/unit/voldemort/scheduled/DataCleanupJobTest.java
  285. +68 −0 test/unit/voldemort/scheduled/SlopPusherTest.java
  286. +26 −0 test/unit/voldemort/serialization/SlopSerializerTest.java
  287. +33 −0 test/unit/voldemort/serialization/VersionedSerializerTest.java
  288. +145 −0 test/unit/voldemort/serialization/json/JsonReaderTest.java
  289. +215 −0 test/unit/voldemort/serialization/json/JsonTypeSerializerTest.java
  290. +75 −0 test/unit/voldemort/server/ServiceTest.java
  291. +79 −0 test/unit/voldemort/server/socket/SocketPoolTest.java
  292. +195 −0 test/unit/voldemort/store/BasicStoreTest.java
  293. +37 −0 test/unit/voldemort/store/ByteArrayStoreTest.java
  294. +85 −0 test/unit/voldemort/store/StorageEngineTest.java
  295. +88 −0 test/unit/voldemort/store/bdb/BdbStorageEngineTest.java
  296. +47 −0 test/unit/voldemort/store/filesystem/FilesystemStorageEngineTest.java
  297. +81 −0 test/unit/voldemort/store/http/HttpStoreTest.java
  298. +30 −0 test/unit/voldemort/store/logging/LoggingStoreTest.java
  299. +46 −0 test/unit/voldemort/store/memory/CacheStorageEngineTest.java
  300. +33 −0 test/unit/voldemort/store/memory/InMemoryStorageEngineTest.java
Sorry, we could not display the entire diff because too many files (318) changed.
33 .classpath
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/java"/>
+ <classpathentry kind="src" path="test/unit"/>
+ <classpathentry kind="src" path="test/integration"/>
+ <classpathentry kind="src" path="test/common"/>
+ <classpathentry kind="src" path="example/java"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="lib" path="lib/catalina-ant.jar"/>
+ <classpathentry kind="lib" path="lib/colt.jar"/>
+ <classpathentry kind="lib" path="lib/commons-codec-1.3.jar"/>
+ <classpathentry kind="lib" path="lib/commons-collections-3.1.jar"/>
+ <classpathentry kind="lib" path="lib/commons-dbcp-1.2.2.jar"/>
+ <classpathentry kind="lib" path="lib/commons-httpclient-3.1.jar"/>
+ <classpathentry kind="lib" path="lib/commons-io-1.3.2.jar"/>
+ <classpathentry kind="lib" path="lib/commons-lang-2.1.jar"/>
+ <classpathentry kind="lib" path="lib/commons-logging.jar"/>
+ <classpathentry kind="lib" path="lib/commons-pool-1.4.jar"/>
+ <classpathentry kind="lib" path="lib/google-collect-snapshot-20080530.jar" sourcepath="lib/src/google-collections-src-snapshot-20080530.zip"/>
+ <classpathentry kind="lib" path="lib/jdom.jar"/>
+ <classpathentry kind="lib" path="lib/je-3.3.62.jar"/>
+ <classpathentry kind="lib" path="lib/jetty-6.1.6rc0.jar"/>
+ <classpathentry kind="lib" path="lib/jetty-util-6.1.6rc0.jar"/>
+ <classpathentry kind="lib" path="lib/junit-4.1.jar"/>
+ <classpathentry kind="lib" path="lib/log4j-1.2.13.jar"/>
+ <classpathentry kind="lib" path="lib/mysql-connector-java-5.1.5-bin.jar"/>
+ <classpathentry kind="lib" path="lib/servlet-api.jar"/>
+ <classpathentry kind="lib" path="lib/slf4j-api-1.4.3.jar"/>
+ <classpathentry kind="lib" path="lib/slf4j-log4j12-1.4.3.jar"/>
+ <classpathentry kind="lib" path="lib/velocity-1.5.jar"/>
+ <classpathentry kind="lib" path="lib/xerces.jar"/>
+ <classpathentry kind="output" path="classes"/>
+</classpath>
18 .project
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>voldemort</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>com.sysdeo.eclipse.tomcat.tomcatnature</nature>
+ </natures>
+</projectDescription>
266 .settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,266 @@
+#Sun Dec 07 11:27:30 PST 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.core.codeComplete.argumentPrefixes=
+org.eclipse.jdt.core.codeComplete.argumentSuffixes=
+org.eclipse.jdt.core.codeComplete.fieldPrefixes=_
+org.eclipse.jdt.core.codeComplete.fieldSuffixes=
+org.eclipse.jdt.core.codeComplete.localPrefixes=
+org.eclipse.jdt.core.codeComplete.localSuffixes=
+org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
+org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
+org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=82
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=82
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=82
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=82
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=82
+org.eclipse.jdt.core.formatter.alignment_for_assignment=0
+org.eclipse.jdt.core.formatter.alignment_for_binary_expression=18
+org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
+org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=82
+org.eclipse.jdt.core.formatter.alignment_for_enum_constants=83
+org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
+org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=82
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=82
+org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=82
+org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=18
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
+org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_after_package=1
+org.eclipse.jdt.core.formatter.blank_lines_before_field=0
+org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=1
+org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
+org.eclipse.jdt.core.formatter.blank_lines_before_method=1
+org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
+org.eclipse.jdt.core.formatter.blank_lines_before_package=0
+org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
+org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
+org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
+org.eclipse.jdt.core.formatter.comment.format_block_comments=true
+org.eclipse.jdt.core.formatter.comment.format_header=true
+org.eclipse.jdt.core.formatter.comment.format_html=true
+org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
+org.eclipse.jdt.core.formatter.comment.format_line_comments=true
+org.eclipse.jdt.core.formatter.comment.format_source_code=true
+org.eclipse.jdt.core.formatter.comment.indent_parameter_description=false
+org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
+org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
+org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=do not insert
+org.eclipse.jdt.core.formatter.comment.line_length=80
+org.eclipse.jdt.core.formatter.compact_else_if=true
+org.eclipse.jdt.core.formatter.continuation_indentation=2
+org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
+org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
+org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_empty_lines=false
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=true
+org.eclipse.jdt.core.formatter.indentation.size=4
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
+org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.lineSplit=100
+org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
+org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
+org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
+org.eclipse.jdt.core.formatter.tabulation.char=space
+org.eclipse.jdt.core.formatter.tabulation.size=4
+org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
+org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
118 .settings/org.eclipse.jdt.ui.prefs
@@ -0,0 +1,118 @@
+#Fri Nov 28 00:09:45 PST 2008
+cleanup.add_default_serial_version_id=true
+cleanup.add_generated_serial_version_id=false
+cleanup.add_missing_annotations=true
+cleanup.add_missing_deprecated_annotations=true
+cleanup.add_missing_methods=true
+cleanup.add_missing_nls_tags=false
+cleanup.add_missing_override_annotations=true
+cleanup.add_serial_version_id=true
+cleanup.always_use_blocks=true
+cleanup.always_use_parentheses_in_expressions=false
+cleanup.always_use_this_for_non_static_field_access=false
+cleanup.always_use_this_for_non_static_method_access=false
+cleanup.convert_to_enhanced_for_loop=false
+cleanup.correct_indentation=true
+cleanup.format_source_code=true
+cleanup.format_source_code_changes_only=false
+cleanup.make_local_variable_final=true
+cleanup.make_parameters_final=false
+cleanup.make_private_fields_final=true
+cleanup.make_type_abstract_if_missing_method=false
+cleanup.make_variable_declarations_final=false
+cleanup.never_use_blocks=false
+cleanup.never_use_parentheses_in_expressions=true
+cleanup.organize_imports=true
+cleanup.qualify_static_field_accesses_with_declaring_class=false
+cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
+cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
+cleanup.qualify_static_member_accesses_with_declaring_class=true
+cleanup.qualify_static_method_accesses_with_declaring_class=false
+cleanup.remove_private_constructors=true
+cleanup.remove_trailing_whitespaces=false
+cleanup.remove_trailing_whitespaces_all=true
+cleanup.remove_trailing_whitespaces_ignore_empty=false
+cleanup.remove_unnecessary_casts=true
+cleanup.remove_unnecessary_nls_tags=true
+cleanup.remove_unused_imports=true
+cleanup.remove_unused_local_variables=false
+cleanup.remove_unused_private_fields=true
+cleanup.remove_unused_private_members=false
+cleanup.remove_unused_private_methods=true
+cleanup.remove_unused_private_types=true
+cleanup.sort_members=false
+cleanup.sort_members_all=false
+cleanup.use_blocks=false
+cleanup.use_blocks_only_for_return_and_throw=false
+cleanup.use_parentheses_in_expressions=false
+cleanup.use_this_for_non_static_field_access=false
+cleanup.use_this_for_non_static_field_access_only_if_necessary=true
+cleanup.use_this_for_non_static_method_access=false
+cleanup.use_this_for_non_static_method_access_only_if_necessary=true
+cleanup_profile=_voldemort
+cleanup_settings_version=2
+eclipse.preferences.version=1
+editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
+formatter_profile=_voldemort
+formatter_settings_version=11
+org.eclipse.jdt.ui.exception.name=e
+org.eclipse.jdt.ui.gettersetter.use.is=true
+org.eclipse.jdt.ui.ignorelowercasenames=true
+org.eclipse.jdt.ui.importorder=java;javax;org;com;
+org.eclipse.jdt.ui.javadoc=false
+org.eclipse.jdt.ui.keywordthis=false
+org.eclipse.jdt.ui.ondemandthreshold=99
+org.eclipse.jdt.ui.overrideannotation=true
+org.eclipse.jdt.ui.staticondemandthreshold=99
+org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8"?><templates><template autoinsert\="false" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment"></template><template autoinsert\="false" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment"></template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * ${tags}\n */</template><template autoinsert\="false" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment"></template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n * @author ${user}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment"></template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${tags}\n * ${see_to_target}\n */</template><template autoinsert\="false" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="false" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">${body_statement}</template><template autoinsert\="false" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates>
+sp_cleanup.add_default_serial_version_id=true
+sp_cleanup.add_generated_serial_version_id=false
+sp_cleanup.add_missing_annotations=true
+sp_cleanup.add_missing_deprecated_annotations=true
+sp_cleanup.add_missing_methods=false
+sp_cleanup.add_missing_nls_tags=false
+sp_cleanup.add_missing_override_annotations=true
+sp_cleanup.add_serial_version_id=false
+sp_cleanup.always_use_blocks=true
+sp_cleanup.always_use_parentheses_in_expressions=false
+sp_cleanup.always_use_this_for_non_static_field_access=false
+sp_cleanup.always_use_this_for_non_static_method_access=false
+sp_cleanup.convert_to_enhanced_for_loop=false
+sp_cleanup.correct_indentation=false
+sp_cleanup.format_source_code=true
+sp_cleanup.format_source_code_changes_only=false
+sp_cleanup.make_local_variable_final=false
+sp_cleanup.make_parameters_final=false
+sp_cleanup.make_private_fields_final=true
+sp_cleanup.make_type_abstract_if_missing_method=false
+sp_cleanup.make_variable_declarations_final=true
+sp_cleanup.never_use_blocks=false
+sp_cleanup.never_use_parentheses_in_expressions=true
+sp_cleanup.on_save_use_additional_actions=false
+sp_cleanup.organize_imports=true
+sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
+sp_cleanup.remove_private_constructors=true
+sp_cleanup.remove_trailing_whitespaces=false
+sp_cleanup.remove_trailing_whitespaces_all=true
+sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
+sp_cleanup.remove_unnecessary_casts=true
+sp_cleanup.remove_unnecessary_nls_tags=false
+sp_cleanup.remove_unused_imports=false
+sp_cleanup.remove_unused_local_variables=false
+sp_cleanup.remove_unused_private_fields=true
+sp_cleanup.remove_unused_private_members=false
+sp_cleanup.remove_unused_private_methods=true
+sp_cleanup.remove_unused_private_types=true
+sp_cleanup.sort_members=false
+sp_cleanup.sort_members_all=false
+sp_cleanup.use_blocks=false
+sp_cleanup.use_blocks_only_for_return_and_throw=false
+sp_cleanup.use_parentheses_in_expressions=false
+sp_cleanup.use_this_for_non_static_field_access=false
+sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
+sp_cleanup.use_this_for_non_static_method_access=false
+sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
12 BUGS
@@ -0,0 +1,12 @@
+1. Connection churn on mac os with many threads, not on Linux.
+2. Sporadic exception in read repair under very, very high concurrency:
+ Exception in thread "pool-2-thread-2" java.util.NoSuchElementException
+ at java.util.HashMap$HashIterator.nextEntry(HashMap.java:844)
+ at java.util.HashMap$KeyIterator.next(HashMap.java:877)
+ at com.google.common.collect.StandardMultimap$WrappedCollection$WrappedIterator.next(StandardMultimap.java:469)
+ at voldemort.store.routed.ReadRepairer.getRepairs(ReadRepairer.java:86)
+ at voldemort.store.routed.RoutedStore$3.run(RoutedStore.java:293)
+ at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
+ at java.lang.Thread.run(Thread.java:613)
+3. Deletes should not attempt on unavailable nodes
56 NOTES
@@ -0,0 +1,56 @@
+Getting Started
+
+## checkout and build
+jkreps@jkreps-md:/tmp > svn co svn+ssh://cm01.corp/lirepo/voldemort/trunk voldemort
+jkreps@jkreps-md:/tmp > cd voldemort
+jkreps@jkreps-md:/tmp/voldemort > ant
+
+## start single node cluster and connect to table named �test�
+jkreps@jkreps-md:/tmp/voldemort > ./bin/voldemort-server.sh config/single_node_cluster &
+jkreps@jkreps-md:/tmp/voldemort> ./bin/voldemort-shell.sh test tcp://localhost:6666
+
+## run some random commands to put and get strings
+> help
+Commands:
+put key value -- Associate the given value with the key.
+get key -- Retrieve the value associated with the key.
+delete key -- Remove all values associated with the key.
+locate key -- Determine which servers host the give key.
+help -- Print this message.
+exit -- Exit from this shell.
+> put "hello" "there"
+> get "hello"
+version(0:1): "there"
+> locate "hello"
+Node 0
+host: localhost
+port: 6666
+available: yes
+last checked: 4614 ms ago
+
+Example usage in example/java/voldemort/example/VoldemortExample.java.
+Example configurations in config/
+
+
+Code layout
+
+annotations - Helper annotations
+client - Code specific to the client
+cluster - domain model for a voldemort cluster
+routing - Code specific to routing requests
+serialization - Code for turning bytes into objects and vice versa
+server - Code for handling client requests
+store - All the store implementations used by both client and server
+utils - Helpers!
+versioning - Vector clock stuff
+xml - Code for serializing the configuration data...should probably be move to serialization
+
+
+Background Resources
+
+- Amazon Dynamo Paper -- http://s3.amazonaws.com/AllThingsDistributed/sosp/amazon-dynamo-sosp2007.pdf
+- http://www.allthingsdistributed.com/2007/12/eventually_consistent.html
+- OpenDHT and Bamboo papers
+- BDB Performance: http://www.oracle.com/technology/products/berkeley-db/pdf/berkeley-db-perf.pdf
+- Origin of vector clocks: http://research.microsoft.com/users/lamport/pubs/time-clocks.pdf
+- Brewer's conjecture: http://citeseer.ist.psu.edu/544596.html
143 TODO
@@ -0,0 +1,143 @@
+TODO HIGH
+-- push readonly data to voldemort
+-- mr task to build stores
+-- mechanism to swap table on the fly (HTTP in war, method in vold. server)
+-- initial implementation is in the read-only store using read/write lock
+-- rebalancing JMX control
+
+MEDIUM
+-- reenable slop
+-- Protocolbuffers serialization
+-- Add setters to StoreClientFactories to allow propery-based configuration
+-- Expand socketpool test
+-- Slop detecting store test
+-- Add to remote store comparison (bdb, in memory, routed w/wo read repair)
+-- Add reading from piped input to client shell
+-- support non-null values: make SimpleType a class and add isNullable() for string add encoding
+-- use variable number of bytes for sizes to efficiently support small lists/bytes/strings (e.g. n-1 1 bits, then 7*n bits of number)
+-- Memory-mapped store
+-- RandomAccessFileStore vs. MmapFileStore benchmark
+
+TODO LOW
+-- Rewrite socket pool to not use commons-pool because it sucks
+-- Support date type formatting
+-- Add type enforcement to jsonreader?
+-- support non-blocking writes (i.e. preferred-writes = 0)
+-- XML mappers should be subpackage of serialization and implement Serializer<Cluster>, Serializer<List<StoreDefinitions>>
+-- Add histograms to StatTrackingStore (http://www.ibm.com/developerworks/xml/library/x-svggrph/)
+-- Switch to JSP and dump velocity
+-- Convert iterators to use Google collections iterator
+-- There are three operation serialization mechanisms: Slop and two VoldemortOperations...this can probably be reduced
+-- Define HTTP protocol more formally
+-- Show running tasks
+-- Add disk usage to dashboards
+-- GUI
+ -- Show running services
+ -- Show running tasks
+
+Slop stores key, table, node
+
+Testing
+1. Does failover work
+2. Concurrency super-smack
+3. Socket timeouts, and routed store timeout
+4. Extended usage test.
+
+Unit testing area
+3. SocketServer - think through state diagram and make sure it is correct
+
+Not Doing
+xxx Varlength ints
+xxx Delete SimpleTypeDefinition
+xxx Move metadata into BDB (soon)
+xxx Lazy bootstrapping in store client (works correctly now)
+xxx Support load factors in partitions not nodes, add this into tagging logic somehow (probably they just get more tags.
+xxx Schema versioning should be called "schema id" to avoid confusion with value versioning
+xxx convert jetty to run off web.xml (http://jetty.mortbay.org/jetty5/tut/Server.html)
+xxx Validate vector clock usage
+xxx *Support for null vector clock to implement clobber semantics*
+xxx Remove obsolete version exception (no!)
+xxx Share threadpool between everyone (socket server, jetty if possible, mina, and client factory)
+xxx Why is metadata store duplicated in voldemortserver and storageservice
+
+Done
+xxx soft-reference "cache" storage type
+xxx Search result tracking test
+xxx Change tags to partitions in configuration
+xxx Routed store *must* timeout
+xxx Archival strategy
+xxx Re-think slop, replication
+xxx Add node liveness check back in
+xxx Adapt serialization layer to hadoop
+xxx Integration with network
+xxx change simple schema to be called JSON
+xxx Move threadpool configuration into storeclient to handle overload better
+xxx Move to li svn
+xxx Add schema for cluster and store xml, and validate against it
+xxx Move config off of VoldemortServer itself
+xxx Add package html for javadoc
+xxx Implement improved partitioning strategy
+xxx Remove partitions from xml
+xxx Delete mina
+xxx Add MockStoreClient
+xxx Incremental JSON parser for table builder
+xxx Remove stringtree dependency
+xxx Test routingstrategy
+xxx Client configured conflict resolution
+xxx Desired vs Required number for get/put/delete
+xxx Think through client node id situation
+xxx Support user defined serializers
+xxx Prune on write
+xxx Get unit tests back in shape
+xxx Query tool - (add numeric coercion)
+xxx Show running services in gui
+xxx Add package html for javadoc
+xxx Type coercion in simple serializer
+xxx Query tool - needs to use the client -- we need to first serialize the json input
+xxx Schema versioning
+xxx JMX stats
+xxx JSON serialization
+xxx Add store-meta table attribute
+xxx Convert key to bytes
+xxx Clean up client instantiation
+xxx Move java code under java subdir
+xxx Add generated subdirectory for antlr output
+xxx Read repair
+xxx Get ant script building everything
+xxx Split build into voldemort-client.jar and voldemort-server.jar
+xxx Better performance investigation--why is http so slow?
+xxx Metadata persistence using seperate single-partition metadata cluster. N writes required.
+xxx Move storage initialization to seperate service
+xxx Store add/delete--update metadata, physically delete store
+xxx fix abstractservice to check if it is already started/stopped, throw correct exception
+xxx Fix up and test MinaTcpStore
+xxx Test of AsyncWeb vs. Mina vs. Jetty
+xxx Mark nodes as "down"
+xxx Handle version incrementing
+xxx Test with configuration file
+xxx Mark nodes as "down" -- where does this happen?
+xxx Simple integration test
+xxx Detect which instance in the cluster you are
+xxx Client should initialize its own server definition
+xxx Client shell for testing
+xxx Parse configuration for cluster and stores from xml files
+xxx Move server out of testharness
+xxx Unit test consistent hashing scheme
+xxx Simple replication test with a single two node partition
+xxx Handle allow_create properly--slaves must open for reading only and must re-open on election to master
+xxx Fix packaging
+xxx Load test with replication
+xxx Start using httpclient
+xxx Remove abstraction around BDB, we aren't going to support two storage engines anytime soon
+xxx add ant file
+xxx Unify Store and StoreClient interfaces, get rid of client sub dir
+xxx Get performance tests working again
+xxx extend BasicStoreTest for all tests
+xxx get client/server http test working
+xxx Local load test
+xxx Http test
+xxx JMX
+xxx Deploy as
+ xxx Standalone
+ xxx WAR
+ xxx Embedded
16 bin/run-wrapper.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+base_dir=$(dirname $0)/..
+
+for file in $base_dir/lib/*.jar;
+do
+ CLASSPATH=$CLASSPATH:$file
+done
+
+for file in $base_dir/dist/*.jar;
+do
+ CLASSPATH=$CLASSPATH:$file
+done
+
+export CLASSPATH
+java -Xmx2G -server -cp $CLASSPATH ${1} ${2} ${3} ${4} ${5} ${6} ${7}
21 bin/sort.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+if [ $# -gt 2 ];
+then
+ echo 'USAGE: bin/sort.sh file max_memory_lines'
+ exit 1
+fi
+
+base_dir=$(dirname $0)/..
+
+for file in $base_dir/dist/*.jar;
+do
+ CLASSPATH=$CLASSPATH:$file
+done
+
+for file in $base_dir/lib/*.jar;
+do
+ CLASSPATH=$CLASSPATH:$file
+done
+
+java -agentlib:hprof=cpu=samples,depth=10 -Xmx2G -server -cp $CLASSPATH voldemort.store.readonly.StringSorter ${1} ${2}
9 bin/voldemort-remote-test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+if [ $# -ne 3 ];
+then
+ echo 'USAGE: bin/voldemort-remote-test.sh bootstrap-url num-requests start-num'
+ exit 1
+fi
+
+bin/run-wrapper.sh voldemort.performance.RemoteTest ${1} ${2} ${3}
21 bin/voldemort-server.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+if [ $# -gt 1 ];
+then
+ echo 'USAGE: bin/voldemort-server.sh [voldemort_home]'
+ exit 1
+fi
+
+base_dir=$(dirname $0)/..
+
+for file in $base_dir/dist/*.jar;
+do
+ CLASSPATH=$CLASSPATH:$file
+done
+
+for file in $base_dir/lib/*.jar;
+do
+ CLASSPATH=$CLASSPATH:$file
+done
+
+java -Xmx2G -server -cp $CLASSPATH -Dcom.sun.management.jmxremote voldemort.server.VoldemortServer ${1}
11 bin/voldemort-shell.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+if [ $# != 2 ];
+then
+ echo 'USAGE: bin/voldemort-shell.sh store_name bootstrap_url [command_file]'
+ exit 1
+fi
+
+base_dir=$(dirname $0)/..
+
+$base_dir/bin/run-wrapper.sh voldemort.VoldemortClientShell ${1} ${2} ${3}
18 build.properties
@@ -0,0 +1,18 @@
+src.dir=src
+java.dir=src/java
+lib.dir=lib
+docs.dir=docs
+javadoc.dir=docs/javadoc
+dist.dir=dist
+war.dir=war
+classes.dir=dist/classes
+commontestsrc.dir=test/common
+unittestsrc.dir=test/unit
+inttestsrc.dir=test/integration
+testclasses.dir=dist/testclasses
+testreport.dir=dist/junit-reports
+testhtml.dir=dist/junit-reports/html
+tomcat.manager.url=http://localhost:8080/manager
+tomcat.manager.username=tomcat
+tomcat.manager.password=tomcat
+tomcat.context=/voldemort
180 build.xml
@@ -0,0 +1,180 @@
+<?xml version="1.0"?>
+
+<project name="voldemort" basedir="." default="all">
+ <property file="build.properties"/>
+
+ <property name="name" value="voldemort"/>
+ <property name="display.name" value="Voldemort"/>
+ <property name="author" value="Jay Kreps"/>
+
+ <path id="main-classpath">
+ <fileset dir="${lib.dir}">
+ <include name="*.jar"/>
+ </fileset>
+ <pathelement path="${classes.dir}"/>
+ </path>
+
+ <path id="test-classpath">
+ <path refid="main-classpath"/>
+ <pathelement path="${testclasses.dir}"/>
+ </path>
+
+ <macrodef name="replace-dir">
+ <attribute name="dir"/>
+ <sequential>
+ <delete dir="@{dir}"/>
+ <mkdir dir="@{dir}"/>
+ </sequential>
+ </macrodef>
+
+ <target name="all" depends="clean, jar, war, test" description="Build all artifacts." />
+
+ <target name="usage">
+ <echo message=""/>
+ <echo message="${name} build file"/>
+ <echo message="-----------------------------------"/>
+ <echo message=""/>
+ <echo message="Available targets are:"/>
+ <echo message=""/>
+ <echo message="build -- Build the application"/>
+ <echo message="client -- Build a jar file for clients to use"/>
+ <echo message="jar -- Build a jar file for the client."/>
+ <echo message="war -- Build a war file for deploying the server to a servlet container"/>
+ <echo message="docs -- Create html documentation"/>
+ <echo message="clean -- Delete generated files"/>
+ <echo message=""/>
+ </target>
+
+ <target name="clean" description="Delete generated files.">
+ <delete dir="${dist.dir}" />
+ <replace-dir dir="${javadoc.dir}"/>
+ </target>
+
+ <target name="build" description="Compile main source tree java files">
+ <replace-dir dir="${classes.dir}"/>
+ <!-- copy non-java files to classes dir to load from classpath -->
+ <copy todir="${classes.dir}">
+ <fileset dir="${java.dir}">
+ <exclude name="**/*.java"/>
+ </fileset>
+ </copy>
+ <javac destdir="${classes.dir}" target="1.5" debug="true" deprecation="true" failonerror="true">
+ <src path="${java.dir}"/>
+ <classpath refid="main-classpath"/>
+ </javac>
+ <buildnumber file="build_number.txt"/>
+ </target>
+
+ <target name="test" depends="build, buildtest" description="Build test jar file">
+ <jar destfile="${dist.dir}/${name}-test.jar">
+ <fileset dir="${testclasses.dir}"/>
+ </jar>
+ </target>
+
+ <target name="jar" depends="build" description="Build server jar file">
+ <jar destfile="${dist.dir}/${name}.jar">
+ <fileset dir="${classes.dir}">
+ <include name="**/*.*"/>
+ </fileset>
+ <!-- include src code for ide convenience -->
+ <fileset dir="${java.dir}" />
+ </jar>
+ </target>
+
+ <target name="utils" depends="build" description="Build a jar file with voldemort util classes.">
+ <tstamp>
+ <format property="TODAY" pattern="yyyy-MM-dd" locale="en,US"/>
+ </tstamp>
+ <jar destfile="${dist.dir}/${name}-utils-${TODAY}.jar">
+ <fileset dir="${classes.dir}">
+ <include name="voldemort/VoldemortException.class"/>
+ <include name="voldemort/Serializer.class"/>
+ <include name="voldemort/serialization/SerializationException.class"/>
+ <include name="voldemort/serialization/json/*"/>
+ <include name="voldemort/utils/*"/>
+ </fileset>
+ </jar>
+ </target>
+
+ <target name="buildtest" description="Compile test classes">
+ <replace-dir dir="${testclasses.dir}"/>
+ <javac destdir="${testclasses.dir}" target="1.5" debug="true" deprecation="true" failonerror="true">
+ <src path="${unittestsrc.dir}"/>
+ <src path="${inttestsrc.dir}"/>
+ <src path="${commontestsrc.dir}"/>
+ <classpath refid="main-classpath"/>
+ </javac>
+ </target>
+
+ <target name="junit" depends="build, buildtest" description="Run junit tests.">
+ <replace-dir dir="${testreport.dir}"/>
+ <replace-dir dir="${testhtml.dir}"/>
+ <junit printsummary="yes" showoutput="true">
+ <classpath refid="test-classpath"/>
+ <formatter type="xml"/>
+ <batchtest fork="yes" todir="${testreport.dir}">
+ <fileset dir="${unittestsrc.dir}">
+ <include name="**/*Test.java"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ <junitreport todir="${testhtml.dir}">
+ <fileset dir="${testreport.dir}">
+ <include name="TEST-*.xml"/>
+ </fileset>
+ <report todir="${testhtml.dir}" styledir="junitreport" format="frames" />
+ </junitreport>
+ </target>
+
+ <target name="war" depends="build" description="Build server war file">
+ <war destfile="${dist.dir}/${name}.war" webxml="web.xml" basedir="${classes.dir}">
+ <classes dir="${classes.dir}"/>
+ <lib dir="${lib.dir}">
+ <exclude name="${lib.dir}/servlet-api.jar"/>
+ <exclude name="${lib.dir}/src/**"/>
+ </lib>
+ </war>
+ </target>
+
+ <target name="docs" description="Create complete Javadoc documentation">
+ <replace-dir dir="${javadoc.dir}"/>
+ <javadoc sourcepath="${java.dir}" destdir="${javadoc.dir}" windowtitle="${display.name}"
+ source="1.5" author="true" version="true" use="true" packagenames="*">
+ <doctitle>${display.name}</doctitle>
+ <bottom>${author}</bottom>
+ <classpath refid="main-classpath"/>
+ </javadoc>
+ </target>
+
+ <target name="redeploy" depends="war, deploy">
+ </target>
+
+ <taskdef file="tomcat-tasks.properties">
+ <classpath>
+ <path location="${lib.dir}/catalina-ant.jar"/>
+ </classpath>
+ </taskdef>
+
+ <target name="list" description="List Tomcat applications">
+ <list url="${tomcat.manager.url}"
+ username="${tomcat.manager.username}"
+ password="${tomcat.manager.password}"/>
+ </target>
+
+ <target name="deploy" description="Deploy application" depends="war">
+ <deploy url="${tomcat.manager.url}"
+ username="${tomcat.manager.username}"
+ password="${tomcat.manager.password}"
+ path="${tomcat.context}"
+ update="true"
+ war="file:${dist.dir}/${name}.war"/>
+ </target>
+
+ <target name="undeploy" description="Undeploy application">
+ <undeploy url="${tomcat.manager.url}"
+ username="${tomcat.manager.username}"
+ password="${tomcat.manager.password}"
+ path="${tomcat.context}"/>
+ </target>
+
+</project>
6 build_number.txt
@@ -0,0 +1,6 @@
+#Build Number for ANT. Do not edit!
+#Fri Jan 02 13:30:12 PST 2009
+build.number=139
+>>>>>>>=1.8
+=\=\=\=\=\=\=
+<<<<<<<=build_number.txt
10 config/single_node_cluster/config/cluster.xml
@@ -0,0 +1,10 @@
+<cluster>
+ <name>mycluster</name>
+ <server>
+ <id>0</id>
+ <host>localhost</host>
+ <http-port>8081</http-port>
+ <socket-port>6666</socket-port>
+ <partitions>0, 1</partitions>
+ </server>
+</cluster>
25 config/single_node_cluster/config/server.properties
@@ -0,0 +1,25 @@
+# The ID of *this* particular cluster node
+node.id=0
+
+max.threads=100
+
+############### DB options ######################
+
+http.enable=true
+socket.enable=true
+mina.enable=false
+bdb.enable=true
+
+# BDB
+bdb.sync.transactions=false
+bdb.cache.size=100MB
+
+http.port=8081
+socket.port=6666
+
+# Mysql
+mysql.host=localhost
+mysql.port=1521
+mysql.user=root
+mysql.password=3306
+mysql.database=test
18 config/single_node_cluster/config/stores.xml
@@ -0,0 +1,18 @@
+<stores>
+ <store>
+ <name>test</name>
+ <persistence>cache</persistence>
+ <routing>client</routing>
+ <replication-factor>1</replication-factor>
+ <required-reads>1</required-reads>
+ <required-writes>1</required-writes>
+ <key-serializer>
+ <type>json</type>
+ <schema-info>"string"</schema-info>
+ </key-serializer>
+ <value-serializer>
+ <type>json</type>
+ <schema-info>"string"</schema-info>
+ </value-serializer>
+ </store>
+</stores>
17 config/test_config1/config/cluster.xml
@@ -0,0 +1,17 @@
+<cluster>
+ <name>mycluster</name>
+ <server>
+ <id>0</id>
+ <host>localhost</host>
+ <http-port>8081</http-port>
+ <socket-port>6666</socket-port>
+ <partitions>0, 1</partitions>
+ </server>
+ <server>
+ <id>1</id>
+ <host>localhost</host>
+ <http-port>8082</http-port>
+ <socket-port>6667</socket-port>
+ <partitions>2, 3</partitions>
+ </server>
+</cluster>
26 config/test_config1/config/server.properties
@@ -0,0 +1,26 @@
+# The ID of *this* particular cluster node
+node.id=0
+
+max.threads=100
+
+############### DB options ######################
+
+http.enable=true
+socket.enable=true
+mina.enable=false
+bdb.enable=true
+jmx.enable=true
+
+# BDB
+bdb.sync.transactions=false
+bdb.cache.size=100MB
+
+http.port=8081
+socket.port=6666
+
+# Mysql
+mysql.host=localhost
+mysql.port=1521
+mysql.user=root
+mysql.password=3306
+mysql.database=test
19 config/test_config1/config/stores.xml
@@ -0,0 +1,19 @@
+<stores>
+ <store>
+ <name>test</name>
+ <persistence>bdb</persistence>
+ <routing>client</routing>
+ <replication-factor>2</replication-factor>
+ <required-reads>2</required-reads>
+ <required-writes>2</required-writes>
+ <key-serializer>
+ <type>json</type>
+ <schema-info>"int32"</schema-info>
+ </key-serializer>
+ <value-serializer>
+ <type>json</type>
+ <schema-info>{"a":"int32"}</schema-info>
+ </value-serializer>
+ <retention-days>1</retention-days>
+ </store>
+</stores>
3  config/test_config1/simple_ops.txt
@@ -0,0 +1,3 @@
+put jay kreps
+get jay
+delete jay
17 config/test_config2/config/cluster.xml
@@ -0,0 +1,17 @@
+<cluster>
+ <name>mycluster</name>
+ <server>
+ <id>0</id>
+ <host>localhost</host>
+ <http-port>8081</http-port>
+ <socket-port>6666</socket-port>
+ <partitions>0, 1</partitions>
+ </server>
+ <server>
+ <id>1</id>
+ <host>localhost</host>
+ <http-port>8082</http-port>
+ <socket-port>6667</socket-port>
+ <partitions>2, 3</partitions>
+ </server>
+</cluster>
15 config/test_config2/config/server.properties
@@ -0,0 +1,15 @@
+# The size of the in-memory cache used by bdb
+bdb.sync.transactions=false
+bdb.cache.size=100MB
+
+max.threads=100
+
+http.enable=true
+socket.enable=true
+mina.enable=true
+bdb.enable=true
+
+node.id=1
+
+http.port=8082
+socket.port=6667
18 config/test_config2/config/stores.xml
@@ -0,0 +1,18 @@
+<stores>
+ <store>
+ <name>test</name>
+ <persistence>bdb</persistence>
+ <routing>client</routing>
+ <replication-factor>2</replication-factor>
+ <required-reads>2</required-reads>
+ <required-writes>2</required-writes>
+ <key-serializer>
+ <type>string</type>
+ <schema-info>UTF-8</schema-info>
+ </key-serializer>
+ <value-serializer>
+ <type>string</type>
+ <schema-info>UTF-8</schema-info>
+ </value-serializer>
+ </store>
+</stores>
2  docs/eclipse_templates/voldemort-codetemplate.xml
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?><templates><template autoinsert="true" context="catchblock_context" deleted="true" description="Code in new catch blocks" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.catchblock" name="catchblock">// ${todo} Auto-generated catch block
+${exception_var}.printStackTrace();</template></templates>
267 docs/eclipse_templates/voldemort-eclipse-settings.xml
@@ -0,0 +1,267 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<profiles version="11">
+<profile kind="CodeFormatterProfile" name="voldemort" version="11">
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_binary_operator" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="0"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration" value="82"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="82"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.indent_parameter_description" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_source_code" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="100"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="82"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_binary_operator" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="0"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.wrap_before_binary_operator" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch" value="insert"/>
+<setting id="org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode" value="enabled"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_import_groups" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_ellipsis" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="82"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.compiler.problem.assertIdentifier" value="error"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration" value="0"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments" value="insert"/>
+<setting id="org.eclipse.jdt.core.compiler.source" value="1.5"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="80"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.compiler.compliance" value="1.5"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.compact_else_if" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_switch" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration" value="82"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body" value="0"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.compiler.problem.enumIdentifier" value="error"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.compiler.codegen.targetPlatform" value="1.5"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression" value="82"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation" value="82"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer" value="2"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.indent_root_tags" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="80"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation" value="82"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration" value="18"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_package" value="0"/>
+<setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="space"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter" value="insert"/>
+</profile>
+</profiles>
267 docs/eclipse_templates/voldemort_formatter.xml
@@ -0,0 +1,267 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<profiles version="11">
+<profile kind="CodeFormatterProfile" name="voldemort" version="11">
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_binary_operator" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration" value="82"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="0"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="82"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.indent_parameter_description" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_source_code" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="100"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="82"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_binary_operator" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="0"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression" value="18"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.wrap_before_binary_operator" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode" value="enabled"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_import_groups" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_ellipsis" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="82"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.compiler.problem.assertIdentifier" value="error"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant" value="82"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block" value="insert"/>
+<setting id="org.eclipse.jdt.core.compiler.source" value="1.5"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="80"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.compiler.compliance" value="1.5"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments" value="do not insert