akka 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (271) hide show
  1. data/examples/enqueue-urls.rb +16 -0
  2. data/examples/example-1.rb +14 -0
  3. data/examples/example-2.rb +31 -0
  4. data/examples/example-3.rb +34 -0
  5. data/lib/akka.rb +18 -0
  6. data/lib/akka/akka-modules-1.0.jar +0 -0
  7. data/lib/akka/config/akka-reference.conf +229 -0
  8. data/lib/akka/config/akka.conf +229 -0
  9. data/lib/akka/config/cassandra-akka-storage-conf.xml +395 -0
  10. data/lib/akka/config/logback.xml +30 -0
  11. data/lib/akka/config/microkernel-server.xml +106 -0
  12. data/lib/akka/deploy/akka-sample-camel-1.0-docs.jar +0 -0
  13. data/lib/akka/deploy/akka-sample-camel-1.0-sources.jar +0 -0
  14. data/lib/akka/deploy/akka-sample-camel-1.0.jar +0 -0
  15. data/lib/akka/deploy/akka-sample-chat-1.0-docs.jar +0 -0
  16. data/lib/akka/deploy/akka-sample-chat-1.0-sources.jar +0 -0
  17. data/lib/akka/deploy/akka-sample-chat-1.0.jar +0 -0
  18. data/lib/akka/deploy/akka-sample-fsm-1.0-docs.jar +0 -0
  19. data/lib/akka/deploy/akka-sample-fsm-1.0-sources.jar +0 -0
  20. data/lib/akka/deploy/akka-sample-fsm-1.0.jar +0 -0
  21. data/lib/akka/deploy/akka-sample-pubsub-1.0-docs.jar +0 -0
  22. data/lib/akka/deploy/akka-sample-pubsub-1.0-sources.jar +0 -0
  23. data/lib/akka/deploy/akka-sample-pubsub-1.0.jar +0 -0
  24. data/lib/akka/deploy/akka-sample-remote-1.0-docs.jar +0 -0
  25. data/lib/akka/deploy/akka-sample-remote-1.0-sources.jar +0 -0
  26. data/lib/akka/deploy/akka-sample-remote-1.0.jar +0 -0
  27. data/lib/akka/deploy/akka-sample-rest-java-1.0-docs.jar +0 -0
  28. data/lib/akka/deploy/akka-sample-rest-java-1.0-sources.jar +0 -0
  29. data/lib/akka/deploy/akka-sample-rest-java-1.0.jar +0 -0
  30. data/lib/akka/deploy/akka-sample-rest-scala-1.0-docs.jar +0 -0
  31. data/lib/akka/deploy/akka-sample-rest-scala-1.0-sources.jar +0 -0
  32. data/lib/akka/deploy/akka-sample-rest-scala-1.0.jar +0 -0
  33. data/lib/akka/deploy/akka-sample-security-1.0-docs.jar +0 -0
  34. data/lib/akka/deploy/akka-sample-security-1.0-sources.jar +0 -0
  35. data/lib/akka/deploy/akka-sample-security-1.0.jar +0 -0
  36. data/lib/akka/dist/akka-actor-1.0-docs.jar +0 -0
  37. data/lib/akka/dist/akka-actor-1.0-sources.jar +0 -0
  38. data/lib/akka/dist/akka-actor-1.0.jar +0 -0
  39. data/lib/akka/dist/akka-amqp-1.0-docs.jar +0 -0
  40. data/lib/akka/dist/akka-amqp-1.0-sources.jar +0 -0
  41. data/lib/akka/dist/akka-amqp-1.0.jar +0 -0
  42. data/lib/akka/dist/akka-camel-1.0-docs.jar +0 -0
  43. data/lib/akka/dist/akka-camel-1.0-sources.jar +0 -0
  44. data/lib/akka/dist/akka-camel-1.0.jar +0 -0
  45. data/lib/akka/dist/akka-http-1.0-docs.jar +0 -0
  46. data/lib/akka/dist/akka-http-1.0-sources.jar +0 -0
  47. data/lib/akka/dist/akka-http-1.0.jar +0 -0
  48. data/lib/akka/dist/akka-jta-1.0-docs.jar +0 -0
  49. data/lib/akka/dist/akka-jta-1.0-sources.jar +0 -0
  50. data/lib/akka/dist/akka-jta-1.0.jar +0 -0
  51. data/lib/akka/dist/akka-kernel-1.0-docs.jar +0 -0
  52. data/lib/akka/dist/akka-kernel-1.0-sources.jar +0 -0
  53. data/lib/akka/dist/akka-kernel-1.0.jar +0 -0
  54. data/lib/akka/dist/akka-osgi-dependencies-bundle-1.0-docs.jar +0 -0
  55. data/lib/akka/dist/akka-osgi-dependencies-bundle-1.0-sources.jar +0 -0
  56. data/lib/akka/dist/akka-osgi-dependencies-bundle-1.0.jar +0 -0
  57. data/lib/akka/dist/akka-persistence-cassandra-1.0-docs.jar +0 -0
  58. data/lib/akka/dist/akka-persistence-cassandra-1.0-sources.jar +0 -0
  59. data/lib/akka/dist/akka-persistence-cassandra-1.0.jar +0 -0
  60. data/lib/akka/dist/akka-persistence-common-1.0-docs.jar +0 -0
  61. data/lib/akka/dist/akka-persistence-common-1.0-sources.jar +0 -0
  62. data/lib/akka/dist/akka-persistence-common-1.0.jar +0 -0
  63. data/lib/akka/dist/akka-persistence-couchdb-1.0-docs.jar +0 -0
  64. data/lib/akka/dist/akka-persistence-couchdb-1.0-sources.jar +0 -0
  65. data/lib/akka/dist/akka-persistence-couchdb-1.0.jar +0 -0
  66. data/lib/akka/dist/akka-persistence-hbase-1.0-docs.jar +0 -0
  67. data/lib/akka/dist/akka-persistence-hbase-1.0-sources.jar +0 -0
  68. data/lib/akka/dist/akka-persistence-hbase-1.0.jar +0 -0
  69. data/lib/akka/dist/akka-persistence-memcached-1.0-docs.jar +0 -0
  70. data/lib/akka/dist/akka-persistence-memcached-1.0-sources.jar +0 -0
  71. data/lib/akka/dist/akka-persistence-memcached-1.0.jar +0 -0
  72. data/lib/akka/dist/akka-persistence-mongo-1.0-docs.jar +0 -0
  73. data/lib/akka/dist/akka-persistence-mongo-1.0-sources.jar +0 -0
  74. data/lib/akka/dist/akka-persistence-mongo-1.0.jar +0 -0
  75. data/lib/akka/dist/akka-persistence-redis-1.0-docs.jar +0 -0
  76. data/lib/akka/dist/akka-persistence-redis-1.0-sources.jar +0 -0
  77. data/lib/akka/dist/akka-persistence-redis-1.0.jar +0 -0
  78. data/lib/akka/dist/akka-persistence-riak-1.0-docs.jar +0 -0
  79. data/lib/akka/dist/akka-persistence-riak-1.0-sources.jar +0 -0
  80. data/lib/akka/dist/akka-persistence-riak-1.0.jar +0 -0
  81. data/lib/akka/dist/akka-persistence-simpledb-1.0-docs.jar +0 -0
  82. data/lib/akka/dist/akka-persistence-simpledb-1.0-sources.jar +0 -0
  83. data/lib/akka/dist/akka-persistence-simpledb-1.0.jar +0 -0
  84. data/lib/akka/dist/akka-persistence-terrastore-1.0-docs.jar +0 -0
  85. data/lib/akka/dist/akka-persistence-terrastore-1.0-sources.jar +0 -0
  86. data/lib/akka/dist/akka-persistence-terrastore-1.0.jar +0 -0
  87. data/lib/akka/dist/akka-persistence-voldemort-1.0-docs.jar +0 -0
  88. data/lib/akka/dist/akka-persistence-voldemort-1.0-sources.jar +0 -0
  89. data/lib/akka/dist/akka-persistence-voldemort-1.0.jar +0 -0
  90. data/lib/akka/dist/akka-remote-1.0-docs.jar +0 -0
  91. data/lib/akka/dist/akka-remote-1.0-sources.jar +0 -0
  92. data/lib/akka/dist/akka-remote-1.0.jar +0 -0
  93. data/lib/akka/dist/akka-sample-osgi-1.0-docs.jar +0 -0
  94. data/lib/akka/dist/akka-sample-osgi-1.0-sources.jar +0 -0
  95. data/lib/akka/dist/akka-sample-osgi-1.0.jar +0 -0
  96. data/lib/akka/dist/akka-spring-1.0-docs.jar +0 -0
  97. data/lib/akka/dist/akka-spring-1.0-sources.jar +0 -0
  98. data/lib/akka/dist/akka-spring-1.0.jar +0 -0
  99. data/lib/akka/dist/akka-stm-1.0-docs.jar +0 -0
  100. data/lib/akka/dist/akka-stm-1.0-sources.jar +0 -0
  101. data/lib/akka/dist/akka-stm-1.0.jar +0 -0
  102. data/lib/akka/dist/akka-typed-actor-1.0-docs.jar +0 -0
  103. data/lib/akka/dist/akka-typed-actor-1.0-sources.jar +0 -0
  104. data/lib/akka/dist/akka-typed-actor-1.0.jar +0 -0
  105. data/lib/akka/lib_managed/.DS_Store +0 -0
  106. data/lib/akka/lib_managed/compile/activation-1.1.jar +0 -0
  107. data/lib/akka/lib_managed/compile/activemq-core-5.3.2.jar +0 -0
  108. data/lib/akka/lib_managed/compile/activemq-protobuf-1.0.jar +0 -0
  109. data/lib/akka/lib_managed/compile/akka-actor-1.0-docs.jar +0 -0
  110. data/lib/akka/lib_managed/compile/akka-actor-1.0-sources.jar +0 -0
  111. data/lib/akka/lib_managed/compile/akka-actor-1.0.jar +0 -0
  112. data/lib/akka/lib_managed/compile/akka-http-1.0-docs.jar +0 -0
  113. data/lib/akka/lib_managed/compile/akka-http-1.0-sources.jar +0 -0
  114. data/lib/akka/lib_managed/compile/akka-http-1.0.jar +0 -0
  115. data/lib/akka/lib_managed/compile/akka-remote-1.0-docs.jar +0 -0
  116. data/lib/akka/lib_managed/compile/akka-remote-1.0-sources.jar +0 -0
  117. data/lib/akka/lib_managed/compile/akka-remote-1.0.jar +0 -0
  118. data/lib/akka/lib_managed/compile/akka-stm-1.0-docs.jar +0 -0
  119. data/lib/akka/lib_managed/compile/akka-stm-1.0-sources.jar +0 -0
  120. data/lib/akka/lib_managed/compile/akka-stm-1.0.jar +0 -0
  121. data/lib/akka/lib_managed/compile/akka-typed-actor-1.0-docs.jar +0 -0
  122. data/lib/akka/lib_managed/compile/akka-typed-actor-1.0-sources.jar +0 -0
  123. data/lib/akka/lib_managed/compile/akka-typed-actor-1.0.jar +0 -0
  124. data/lib/akka/lib_managed/compile/amqp-client-1.8.1.jar +0 -0
  125. data/lib/akka/lib_managed/compile/ant-1.6.5.jar +0 -0
  126. data/lib/akka/lib_managed/compile/aopalliance-1.0.jar +0 -0
  127. data/lib/akka/lib_managed/compile/asm-3.1.jar +0 -0
  128. data/lib/akka/lib_managed/compile/aspectwerkz-2.2.3.jar +0 -0
  129. data/lib/akka/lib_managed/compile/atomikos-util-3.2.3.jar +0 -0
  130. data/lib/akka/lib_managed/compile/aws-java-sdk-1.0.14.jar +0 -0
  131. data/lib/akka/lib_managed/compile/camel-core-2.5.0.jar +0 -0
  132. data/lib/akka/lib_managed/compile/camel-http-2.5.0.jar +0 -0
  133. data/lib/akka/lib_managed/compile/camel-jetty-2.5.0.jar +0 -0
  134. data/lib/akka/lib_managed/compile/camel-jms-2.5.0.jar +0 -0
  135. data/lib/akka/lib_managed/compile/camel-spring-2.5.0.jar +0 -0
  136. data/lib/akka/lib_managed/compile/casbah-commons_2.8.1-2.0.1.jar +0 -0
  137. data/lib/akka/lib_managed/compile/casbah-core_2.8.1-2.0.1.jar +0 -0
  138. data/lib/akka/lib_managed/compile/casbah-gridfs_2.8.1-2.0.1.jar +0 -0
  139. data/lib/akka/lib_managed/compile/casbah-query_2.8.1-2.0.1.jar +0 -0
  140. data/lib/akka/lib_managed/compile/cassandra-0.6.1.jar +0 -0
  141. data/lib/akka/lib_managed/compile/commons-cli-1.1.jar +0 -0
  142. data/lib/akka/lib_managed/compile/commons-cli-1.2.jar +0 -0
  143. data/lib/akka/lib_managed/compile/commons-codec-1.2.jar +0 -0
  144. data/lib/akka/lib_managed/compile/commons-codec-1.4.jar +0 -0
  145. data/lib/akka/lib_managed/compile/commons-el-1.0.jar +0 -0
  146. data/lib/akka/lib_managed/compile/commons-fileupload-1.2.1.jar +0 -0
  147. data/lib/akka/lib_managed/compile/commons-httpclient-3.0.1.jar +0 -0
  148. data/lib/akka/lib_managed/compile/commons-httpclient-3.1.jar +0 -0
  149. data/lib/akka/lib_managed/compile/commons-io-1.4.jar +0 -0
  150. data/lib/akka/lib_managed/compile/commons-lang-2.4.jar +0 -0
  151. data/lib/akka/lib_managed/compile/commons-logging-1.0.4.jar +0 -0
  152. data/lib/akka/lib_managed/compile/commons-logging-1.1.1.jar +0 -0
  153. data/lib/akka/lib_managed/compile/commons-logging-api-1.1.jar +0 -0
  154. data/lib/akka/lib_managed/compile/commons-management-1.0.jar +0 -0
  155. data/lib/akka/lib_managed/compile/commons-net-1.4.1.jar +0 -0
  156. data/lib/akka/lib_managed/compile/commons-net-2.0.jar +0 -0
  157. data/lib/akka/lib_managed/compile/commons-pool-1.5.4.jar +0 -0
  158. data/lib/akka/lib_managed/compile/configgy-2.0.2-nologgy.jar +0 -0
  159. data/lib/akka/lib_managed/compile/core-1.1.jar +0 -0
  160. data/lib/akka/lib_managed/compile/core-3.1.1.jar +0 -0
  161. data/lib/akka/lib_managed/compile/dispatch-futures_2.8.0-0.7.4.jar +0 -0
  162. data/lib/akka/lib_managed/compile/dispatch-futures_2.8.1-0.7.7.jar +0 -0
  163. data/lib/akka/lib_managed/compile/dispatch-http_2.8.0-0.7.4.jar +0 -0
  164. data/lib/akka/lib_managed/compile/dispatch-json_2.8.0-0.7.4.jar +0 -0
  165. data/lib/akka/lib_managed/compile/geronimo-j2ee-management_1.0_spec-1.0.jar +0 -0
  166. data/lib/akka/lib_managed/compile/geronimo-jms_1.1_spec-1.1.1.jar +0 -0
  167. data/lib/akka/lib_managed/compile/geronimo-jta_1.1_spec-1.1.1.jar +0 -0
  168. data/lib/akka/lib_managed/compile/geronimo-servlet_2.5_spec-1.1.1.jar +0 -0
  169. data/lib/akka/lib_managed/compile/google-collections-1.0.jar +0 -0
  170. data/lib/akka/lib_managed/compile/guice-all-2.0.jar +0 -0
  171. data/lib/akka/lib_managed/compile/h2-lzf-1.0.jar +0 -0
  172. data/lib/akka/lib_managed/compile/hadoop-core-0.20.2.jar +0 -0
  173. data/lib/akka/lib_managed/compile/hawtdispatch-1.0.jar +0 -0
  174. data/lib/akka/lib_managed/compile/hawtdispatch-scala-1.0.jar +0 -0
  175. data/lib/akka/lib_managed/compile/hbase-core-0.20.6.jar +0 -0
  176. data/lib/akka/lib_managed/compile/hsqldb-1.8.0.10.jar +0 -0
  177. data/lib/akka/lib_managed/compile/httpclient-4.0.1.jar +0 -0
  178. data/lib/akka/lib_managed/compile/httpcore-4.0.1.jar +0 -0
  179. data/lib/akka/lib_managed/compile/jackson-core-asl-1.4.3.jar +0 -0
  180. data/lib/akka/lib_managed/compile/jackson-core-asl-1.6.0.jar +0 -0
  181. data/lib/akka/lib_managed/compile/jackson-mapper-asl-1.4.3.jar +0 -0
  182. data/lib/akka/lib_managed/compile/jackson-mapper-asl-1.6.0.jar +0 -0
  183. data/lib/akka/lib_managed/compile/jasper-compiler-5.5.12.jar +0 -0
  184. data/lib/akka/lib_managed/compile/jasper-runtime-5.5.12.jar +0 -0
  185. data/lib/akka/lib_managed/compile/javassist-3.8.0.GA.jar +0 -0
  186. data/lib/akka/lib_managed/compile/jaxb-api-2.1.jar +0 -0
  187. data/lib/akka/lib_managed/compile/jaxb-impl-2.1.12.jar +0 -0
  188. data/lib/akka/lib_managed/compile/jaxrs-api-2.0.0.GA.jar +0 -0
  189. data/lib/akka/lib_managed/compile/jcip-annotations-1.0.jar +0 -0
  190. data/lib/akka/lib_managed/compile/jersey-core-1.3.jar +0 -0
  191. data/lib/akka/lib_managed/compile/jersey-json-1.3.jar +0 -0
  192. data/lib/akka/lib_managed/compile/jersey-scala-1.3.jar +0 -0
  193. data/lib/akka/lib_managed/compile/jersey-server-1.3.jar +0 -0
  194. data/lib/akka/lib_managed/compile/jets3t-0.7.1.jar +0 -0
  195. data/lib/akka/lib_managed/compile/jettison-1.1.jar +0 -0
  196. data/lib/akka/lib_managed/compile/jetty-6.1.14.jar +0 -0
  197. data/lib/akka/lib_managed/compile/jetty-client-7.1.6.v20100715.jar +0 -0
  198. data/lib/akka/lib_managed/compile/jetty-continuation-7.1.6.v20100715.jar +0 -0
  199. data/lib/akka/lib_managed/compile/jetty-http-7.1.6.v20100715.jar +0 -0
  200. data/lib/akka/lib_managed/compile/jetty-io-7.1.6.v20100715.jar +0 -0
  201. data/lib/akka/lib_managed/compile/jetty-jmx-7.1.6.v20100715.jar +0 -0
  202. data/lib/akka/lib_managed/compile/jetty-security-7.1.6.v20100715.jar +0 -0
  203. data/lib/akka/lib_managed/compile/jetty-server-7.1.6.v20100715.jar +0 -0
  204. data/lib/akka/lib_managed/compile/jetty-servlet-7.1.6.v20100715.jar +0 -0
  205. data/lib/akka/lib_managed/compile/jetty-servlets-7.1.6.v20100715.jar +0 -0
  206. data/lib/akka/lib_managed/compile/jetty-util-6.1.14.jar +0 -0
  207. data/lib/akka/lib_managed/compile/jetty-util-7.1.6.v20100715.jar +0 -0
  208. data/lib/akka/lib_managed/compile/jetty-webapp-7.1.6.v20100715.jar +0 -0
  209. data/lib/akka/lib_managed/compile/jetty-xml-7.1.6.v20100715.jar +0 -0
  210. data/lib/akka/lib_managed/compile/joda-time-1.6.jar +0 -0
  211. data/lib/akka/lib_managed/compile/jsp-2.1-6.1.14.jar +0 -0
  212. data/lib/akka/lib_managed/compile/jsp-api-2.1-6.1.14.jar +0 -0
  213. data/lib/akka/lib_managed/compile/jsr166x-1.0.jar +0 -0
  214. data/lib/akka/lib_managed/compile/jsr250-api-1.0.jar +0 -0
  215. data/lib/akka/lib_managed/compile/jsr311-api-1.1.1.jar +0 -0
  216. data/lib/akka/lib_managed/compile/jsr311-api-1.1.jar +0 -0
  217. data/lib/akka/lib_managed/compile/junit-4.5.jar +0 -0
  218. data/lib/akka/lib_managed/compile/kahadb-5.3.2.jar +0 -0
  219. data/lib/akka/lib_managed/compile/kfs-0.3.jar +0 -0
  220. data/lib/akka/lib_managed/compile/log4j-over-slf4j-1.6.0.jar +0 -0
  221. data/lib/akka/lib_managed/compile/logback-classic-0.9.24.jar +0 -0
  222. data/lib/akka/lib_managed/compile/logback-core-0.9.24.jar +0 -0
  223. data/lib/akka/lib_managed/compile/memcached-2.5.jar +0 -0
  224. data/lib/akka/lib_managed/compile/mongo-java-driver-2.4.jar +0 -0
  225. data/lib/akka/lib_managed/compile/multiverse-alpha-0.6.2.jar +0 -0
  226. data/lib/akka/lib_managed/compile/netty-3.2.3.Final.jar +0 -0
  227. data/lib/akka/lib_managed/compile/org.osgi.core-4.1.0.jar +0 -0
  228. data/lib/akka/lib_managed/compile/org.osgi.core-4.2.0.jar +0 -0
  229. data/lib/akka/lib_managed/compile/oro-2.0.8.jar +0 -0
  230. data/lib/akka/lib_managed/compile/protobuf-java-2.3.0.jar +0 -0
  231. data/lib/akka/lib_managed/compile/redisclient-2.8.1-2.3.jar +0 -0
  232. data/lib/akka/lib_managed/compile/resteasy-jaxrs-2.0.0.GA.jar +0 -0
  233. data/lib/akka/lib_managed/compile/riak-java-pb-client-1.0-for-akka-by-ticktock.jar +0 -0
  234. data/lib/akka/lib_managed/compile/sbinary-2.8.0-0.3.1.jar +0 -0
  235. data/lib/akka/lib_managed/compile/scala-library-2.8.1.jar +0 -0
  236. data/lib/akka/lib_managed/compile/scalaj-collection_2.8.0-1.0.jar +0 -0
  237. data/lib/akka/lib_managed/compile/scannotation-1.0.2.jar +0 -0
  238. data/lib/akka/lib_managed/compile/servlet-api-2.5-6.1.14.jar +0 -0
  239. data/lib/akka/lib_managed/compile/servlet-api-2.5.jar +0 -0
  240. data/lib/akka/lib_managed/compile/sjson-0.8-2.8.0.jar +0 -0
  241. data/lib/akka/lib_managed/compile/slf4j-api-1.6.0.jar +0 -0
  242. data/lib/akka/lib_managed/compile/slf4j-api-1.6.1.jar +0 -0
  243. data/lib/akka/lib_managed/compile/spde-core_2.8.1-0.3.1.jar +0 -0
  244. data/lib/akka/lib_managed/compile/spring-aop-3.0.4.RELEASE.jar +0 -0
  245. data/lib/akka/lib_managed/compile/spring-asm-3.0.4.RELEASE.jar +0 -0
  246. data/lib/akka/lib_managed/compile/spring-beans-3.0.4.RELEASE.jar +0 -0
  247. data/lib/akka/lib_managed/compile/spring-context-3.0.4.RELEASE.jar +0 -0
  248. data/lib/akka/lib_managed/compile/spring-core-3.0.4.RELEASE.jar +0 -0
  249. data/lib/akka/lib_managed/compile/spring-expression-3.0.4.RELEASE.jar +0 -0
  250. data/lib/akka/lib_managed/compile/spring-jms-3.0.4.RELEASE.jar +0 -0
  251. data/lib/akka/lib_managed/compile/spring-osgi-core-1.2.1.jar +0 -0
  252. data/lib/akka/lib_managed/compile/spring-osgi-io-1.2.1.jar +0 -0
  253. data/lib/akka/lib_managed/compile/spring-tx-3.0.4.RELEASE.jar +0 -0
  254. data/lib/akka/lib_managed/compile/stax-api-1.0-2.jar +0 -0
  255. data/lib/akka/lib_managed/compile/stax-api-1.0.1.jar +0 -0
  256. data/lib/akka/lib_managed/compile/terrastore-javaclient-2.2.jar +0 -0
  257. data/lib/akka/lib_managed/compile/thrift-r917130.jar +0 -0
  258. data/lib/akka/lib_managed/compile/time_2.8.0-0.2.jar +0 -0
  259. data/lib/akka/lib_managed/compile/transactions-3.2.3.jar +0 -0
  260. data/lib/akka/lib_managed/compile/transactions-api-3.2.3.jar +0 -0
  261. data/lib/akka/lib_managed/compile/transactions-jta-3.2.3.jar +0 -0
  262. data/lib/akka/lib_managed/compile/uuid-3.2.jar +0 -0
  263. data/lib/akka/lib_managed/compile/voldemort-0.81.jar +0 -0
  264. data/lib/akka/lib_managed/compile/voldemort-contrib-0.81.jar +0 -0
  265. data/lib/akka/lib_managed/compile/xmlenc-0.52.jar +0 -0
  266. data/lib/akka/lib_managed/compile/zookeeper-3.2.2.jar +0 -0
  267. data/lib/akka/scala-library.jar +0 -0
  268. data/lib/akka/scripts/akka-init-script.sh +96 -0
  269. data/lib/akka/scripts/run_akka.sh +16 -0
  270. data/lib/akka/test.rb +57 -0
  271. metadata +325 -0
@@ -0,0 +1,395 @@
1
+ <!--
2
+ ~ Licensed to the Apache Software Foundation (ASF) under one
3
+ ~ or more contributor license agreements. See the NOTICE file
4
+ ~ distributed with this work for additional information
5
+ ~ regarding copyright ownership. The ASF licenses this file
6
+ ~ to you under the Apache License, Version 2.0 (the
7
+ ~ "License"); you may not use this file except in compliance
8
+ ~ with the License. You may obtain a copy of the License at
9
+ ~
10
+ ~ http://www.apache.org/licenses/LICENSE-2.0
11
+ ~
12
+ ~ Unless required by applicable law or agreed to in writing,
13
+ ~ software distributed under the License is distributed on an
14
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
+ ~ KIND, either express or implied. See the License for the
16
+ ~ specific language governing permissions and limitations
17
+ ~ under the License.
18
+ -->
19
+ <Storage>
20
+ <!--======================================================================-->
21
+ <!-- Basic Configuration -->
22
+ <!--======================================================================-->
23
+
24
+ <!--
25
+ ~ The name of this cluster. This is mainly used to prevent machines in
26
+ ~ one logical cluster from joining another.
27
+ -->
28
+ <ClusterName>akka</ClusterName>
29
+
30
+ <!--
31
+ ~ Turn on to make new [non-seed] nodes automatically migrate the right data
32
+ ~ to themselves. (If no InitialToken is specified, they will pick one
33
+ ~ such that they will get half the range of the most-loaded node.)
34
+ ~ If a node starts up without bootstrapping, it will mark itself bootstrapped
35
+ ~ so that you can't subsequently accidently bootstrap a node with
36
+ ~ data on it. (You can reset this by wiping your data and commitlog
37
+ ~ directories.)
38
+ ~
39
+ ~ Off by default so that new clusters and upgraders from 0.4 don't
40
+ ~ bootstrap immediately. You should turn this on when you start adding
41
+ ~ new nodes to a cluster that already has data on it. (If you are upgrading
42
+ ~ from 0.4, start your cluster with it off once before changing it to true.
43
+ ~ Otherwise, no data will be lost but you will incur a lot of unnecessary
44
+ ~ I/O before your cluster starts up.)
45
+ -->
46
+ <AutoBootstrap>false</AutoBootstrap>
47
+
48
+ <!--
49
+ ~ Keyspaces and ColumnFamilies:
50
+ ~ A ColumnFamily is the Cassandra concept closest to a relational
51
+ ~ table. Keyspaces are separate groups of ColumnFamilies. Except in
52
+ ~ very unusual circumstances you will have one Keyspace per application.
53
+
54
+ ~ There is an implicit keyspace named 'system' for Cassandra internals.
55
+ -->
56
+ <Keyspaces>
57
+ <Keyspace Name="akka">
58
+ <!--
59
+ ~ ColumnFamily definitions have one required attribute (Name)
60
+ ~ and several optional ones.
61
+ ~
62
+ ~ The CompareWith attribute tells Cassandra how to sort the columns
63
+ ~ for slicing operations. The default is BytesType, which is a
64
+ ~ straightforward lexical comparison of the bytes in each column.
65
+ ~ Other options are AsciiType, UTF8Type, LexicalUUIDType, TimeUUIDType,
66
+ ~ and LongType. You can also specify the fully-qualified class
67
+ ~ name to a class of your choice extending
68
+ ~ org.apache.cassandra.db.marshal.AbstractType.
69
+ ~
70
+ ~ SuperColumns have a similar CompareSubcolumnsWith attribute.
71
+ ~
72
+ ~ BytesType: Simple sort by byte value. No validation is performed.
73
+ ~ AsciiType: Like BytesType, but validates that the input can be
74
+ ~ parsed as US-ASCII.
75
+ ~ UTF8Type: A string encoded as UTF8
76
+ ~ LongType: A 64bit long
77
+ ~ LexicalUUIDType: A 128bit UUID, compared lexically (by byte value)
78
+ ~ TimeUUIDType: a 128bit version 1 UUID, compared by timestamp
79
+ ~
80
+ ~ (To get the closest approximation to 0.3-style supercolumns, you
81
+ ~ would use CompareWith=UTF8Type CompareSubcolumnsWith=LongType.)
82
+ ~
83
+ ~ An optional `Comment` attribute may be used to attach additional
84
+ ~ human-readable information about the column family to its definition.
85
+ ~
86
+ ~ The optional KeysCached attribute specifies
87
+ ~ the number of keys per sstable whose locations we keep in
88
+ ~ memory in "mostly LRU" order. (JUST the key locations, NOT any
89
+ ~ column values.) Specify a fraction (value less than 1), a percentage
90
+ ~ (ending in a % sign) or an absolute number of keys to cache.
91
+ ~ KeysCached defaults to 200000 keys.
92
+ ~
93
+ ~ The optional RowsCached attribute specifies the number of rows
94
+ ~ whose entire contents we cache in memory. Do not use this on
95
+ ~ ColumnFamilies with large rows, or ColumnFamilies with high write:read
96
+ ~ ratios. Specify a fraction (value less than 1), a percentage (ending in
97
+ ~ a % sign) or an absolute number of rows to cache.
98
+ ~ RowsCached defaults to 0, i.e., row cache is off by default.
99
+ ~
100
+ ~ Remember, when using caches as a percentage, they WILL grow with
101
+ ~ your data set!
102
+ -->
103
+ <ColumnFamily Name="map"
104
+ CompareWith="BytesType"
105
+ KeysCached="100%" />
106
+ <ColumnFamily Name="vector"
107
+ CompareWith="BytesType"
108
+ KeysCached="100%" />
109
+ <ColumnFamily Name="queue"
110
+ CompareWith="BytesType"
111
+ KeysCached="100%" />
112
+ <ColumnFamily Name="ref"
113
+ CompareWith="BytesType"
114
+ KeysCached="100%" />
115
+
116
+
117
+ <!--ColumnFamily Name="Standard1" CompareWith="BytesType"/>
118
+ <ColumnFamily Name="Standard2"
119
+ CompareWith="UTF8Type"
120
+ KeysCached="100%"/>
121
+ <ColumnFamily Name="StandardByUUID1" CompareWith="TimeUUIDType" />
122
+ <ColumnFamily Name="Super1"
123
+ ColumnType="Super"
124
+ CompareWith="BytesType"
125
+ CompareSubcolumnsWith="BytesType" />
126
+ <ColumnFamily Name="Super2"
127
+ ColumnType="Super"
128
+ CompareWith="UTF8Type"
129
+ CompareSubcolumnsWith="UTF8Type"
130
+ RowsCached="10000"
131
+ KeysCached="50%"
132
+ Comment="A column family with supercolumns, whose column and subcolumn names are UTF8 strings"/-->
133
+
134
+ <!--
135
+ ~ Strategy: Setting this to the class that implements
136
+ ~ IReplicaPlacementStrategy will change the way the node picker works.
137
+ ~ Out of the box, Cassandra provides
138
+ ~ org.apache.cassandra.locator.RackUnawareStrategy and
139
+ ~ org.apache.cassandra.locator.RackAwareStrategy (place one replica in
140
+ ~ a different datacenter, and the others on different racks in the same
141
+ ~ one.)
142
+ -->
143
+ <ReplicaPlacementStrategy>org.apache.cassandra.locator.RackUnawareStrategy</ReplicaPlacementStrategy>
144
+
145
+ <!-- Number of replicas of the data -->
146
+ <ReplicationFactor>1</ReplicationFactor>
147
+
148
+ <!--
149
+ ~ EndPointSnitch: Setting this to the class that implements
150
+ ~ AbstractEndpointSnitch, which lets Cassandra know enough
151
+ ~ about your network topology to route requests efficiently.
152
+ ~ Out of the box, Cassandra provides org.apache.cassandra.locator.EndPointSnitch,
153
+ ~ and PropertyFileEndPointSnitch is available in contrib/.
154
+ -->
155
+ <EndPointSnitch>org.apache.cassandra.locator.EndPointSnitch</EndPointSnitch>
156
+
157
+ </Keyspace>
158
+ </Keyspaces>
159
+
160
+ <!--
161
+ ~ Authenticator: any IAuthenticator may be used, including your own as long
162
+ ~ as it is on the classpath. Out of the box, Cassandra provides
163
+ ~ org.apache.cassandra.auth.AllowAllAuthenticator and,
164
+ ~ org.apache.cassandra.auth.SimpleAuthenticator
165
+ ~ (SimpleAuthenticator uses access.properties and passwd.properties by
166
+ ~ default).
167
+ ~
168
+ ~ If you don't specify an authenticator, AllowAllAuthenticator is used.
169
+ -->
170
+ <Authenticator>org.apache.cassandra.auth.AllowAllAuthenticator</Authenticator>
171
+
172
+ <!--
173
+ ~ Partitioner: any IPartitioner may be used, including your own as long
174
+ ~ as it is on the classpath. Out of the box, Cassandra provides
175
+ ~ org.apache.cassandra.dht.RandomPartitioner,
176
+ ~ org.apache.cassandra.dht.OrderPreservingPartitioner, and
177
+ ~ org.apache.cassandra.dht.CollatingOrderPreservingPartitioner.
178
+ ~ (CollatingOPP colates according to EN,US rules, not naive byte
179
+ ~ ordering. Use this as an example if you need locale-aware collation.)
180
+ ~ Range queries require using an order-preserving partitioner.
181
+ ~
182
+ ~ Achtung! Changing this parameter requires wiping your data
183
+ ~ directories, since the partitioner can modify the sstable on-disk
184
+ ~ format.
185
+ -->
186
+ <Partitioner>org.apache.cassandra.dht.RandomPartitioner</Partitioner>
187
+
188
+ <!--
189
+ ~ If you are using an order-preserving partitioner and you know your key
190
+ ~ distribution, you can specify the token for this node to use. (Keys
191
+ ~ are sent to the node with the "closest" token, so distributing your
192
+ ~ tokens equally along the key distribution space will spread keys
193
+ ~ evenly across your cluster.) This setting is only checked the first
194
+ ~ time a node is started.
195
+
196
+ ~ This can also be useful with RandomPartitioner to force equal spacing
197
+ ~ of tokens around the hash space, especially for clusters with a small
198
+ ~ number of nodes.
199
+ -->
200
+ <InitialToken></InitialToken>
201
+
202
+ <!--
203
+ ~ Directories: Specify where Cassandra should store different data on
204
+ ~ disk. Keep the data disks and the CommitLog disks separate for best
205
+ ~ performance
206
+ -->
207
+ <CommitLogDirectory>cassandra/commitlog</CommitLogDirectory>
208
+ <DataFileDirectories>
209
+ <DataFileDirectory>cassandra/data</DataFileDirectory>
210
+ </DataFileDirectories>
211
+
212
+
213
+ <!--
214
+ ~ Addresses of hosts that are deemed contact points. Cassandra nodes
215
+ ~ use this list of hosts to find each other and learn the topology of
216
+ ~ the ring. You must change this if you are running multiple nodes!
217
+ -->
218
+ <Seeds>
219
+ <Seed>127.0.0.1</Seed>
220
+ </Seeds>
221
+
222
+
223
+ <!-- Miscellaneous -->
224
+
225
+ <!-- Time to wait for a reply from other nodes before failing the command -->
226
+ <RpcTimeoutInMillis>10000</RpcTimeoutInMillis>
227
+ <!-- Size to allow commitlog to grow to before creating a new segment -->
228
+ <CommitLogRotationThresholdInMB>128</CommitLogRotationThresholdInMB>
229
+
230
+
231
+ <!-- Local hosts and ports -->
232
+
233
+ <!--
234
+ ~ Address to bind to and tell other nodes to connect to. You _must_
235
+ ~ change this if you want multiple nodes to be able to communicate!
236
+ ~
237
+ ~ Leaving it blank leaves it up to InetAddress.getLocalHost(). This
238
+ ~ will always do the Right Thing *if* the node is properly configured
239
+ ~ (hostname, name resolution, etc), and the Right Thing is to use the
240
+ ~ address associated with the hostname (it might not be).
241
+ -->
242
+ <ListenAddress>localhost</ListenAddress>
243
+ <!-- internal communications port -->
244
+ <StoragePort>7000</StoragePort>
245
+
246
+ <!--
247
+ ~ The address to bind the Thrift RPC service to. Unlike ListenAddress
248
+ ~ above, you *can* specify 0.0.0.0 here if you want Thrift to listen on
249
+ ~ all interfaces.
250
+ ~
251
+ ~ Leaving this blank has the same effect it does for ListenAddress,
252
+ ~ (i.e. it will be based on the configured hostname of the node).
253
+ -->
254
+ <ThriftAddress>localhost</ThriftAddress>
255
+ <!-- Thrift RPC port (the port clients connect to). -->
256
+ <ThriftPort>9160</ThriftPort>
257
+ <!--
258
+ ~ Whether or not to use a framed transport for Thrift. If this option
259
+ ~ is set to true then you must also use a framed transport on the
260
+ ~ client-side, (framed and non-framed transports are not compatible).
261
+ -->
262
+ <ThriftFramedTransport>false</ThriftFramedTransport>
263
+
264
+
265
+ <!--======================================================================-->
266
+ <!-- Memory, Disk, and Performance -->
267
+ <!--======================================================================-->
268
+
269
+ <!--
270
+ ~ Access mode. mmapped i/o is substantially faster, but only practical on
271
+ ~ a 64bit machine (which notably does not include EC2 "small" instances)
272
+ ~ or relatively small datasets. "auto", the safe choice, will enable
273
+ ~ mmapping on a 64bit JVM. Other values are "mmap", "mmap_index_only"
274
+ ~ (which may allow you to get part of the benefits of mmap on a 32bit
275
+ ~ machine by mmapping only index files) and "standard".
276
+ ~ (The buffer size settings that follow only apply to standard,
277
+ ~ non-mmapped i/o.)
278
+ -->
279
+ <DiskAccessMode>auto</DiskAccessMode>
280
+
281
+ <!--
282
+ ~ Size of compacted row above which to log a warning. (If compacted
283
+ ~ rows do not fit in memory, Cassandra will crash. This is explained
284
+ ~ in http://wiki.apache.org/cassandra/CassandraLimitations and is
285
+ ~ scheduled to be fixed in 0.7.)
286
+ -->
287
+ <RowWarningThresholdInMB>512</RowWarningThresholdInMB>
288
+
289
+ <!--
290
+ ~ Buffer size to use when performing contiguous column slices. Increase
291
+ ~ this to the size of the column slices you typically perform.
292
+ ~ (Name-based queries are performed with a buffer size of
293
+ ~ ColumnIndexSizeInKB.)
294
+ -->
295
+ <SlicedBufferSizeInKB>64</SlicedBufferSizeInKB>
296
+
297
+ <!--
298
+ ~ Buffer size to use when flushing memtables to disk. (Only one
299
+ ~ memtable is ever flushed at a time.) Increase (decrease) the index
300
+ ~ buffer size relative to the data buffer if you have few (many)
301
+ ~ columns per key. Bigger is only better _if_ your memtables get large
302
+ ~ enough to use the space. (Check in your data directory after your
303
+ ~ app has been running long enough.) -->
304
+ <FlushDataBufferSizeInMB>32</FlushDataBufferSizeInMB>
305
+ <FlushIndexBufferSizeInMB>8</FlushIndexBufferSizeInMB>
306
+
307
+ <!--
308
+ ~ Add column indexes to a row after its contents reach this size.
309
+ ~ Increase if your column values are large, or if you have a very large
310
+ ~ number of columns. The competing causes are, Cassandra has to
311
+ ~ deserialize this much of the row to read a single column, so you want
312
+ ~ it to be small - at least if you do many partial-row reads - but all
313
+ ~ the index data is read for each access, so you don't want to generate
314
+ ~ that wastefully either.
315
+ -->
316
+ <ColumnIndexSizeInKB>64</ColumnIndexSizeInKB>
317
+
318
+ <!--
319
+ ~ Flush memtable after this much data has been inserted, including
320
+ ~ overwritten data. There is one memtable per column family, and
321
+ ~ this threshold is based solely on the amount of data stored, not
322
+ ~ actual heap memory usage (there is some overhead in indexing the
323
+ ~ columns).
324
+ -->
325
+ <MemtableThroughputInMB>64</MemtableThroughputInMB>
326
+ <!--
327
+ ~ Throughput setting for Binary Memtables. Typically these are
328
+ ~ used for bulk load so you want them to be larger.
329
+ -->
330
+ <BinaryMemtableThroughputInMB>256</BinaryMemtableThroughputInMB>
331
+ <!--
332
+ ~ The maximum number of columns in millions to store in memory per
333
+ ~ ColumnFamily before flushing to disk. This is also a per-memtable
334
+ ~ setting. Use with MemtableThroughputInMB to tune memory usage.
335
+ -->
336
+ <MemtableOperationsInMillions>0.3</MemtableOperationsInMillions>
337
+ <!--
338
+ ~ The maximum time to leave a dirty memtable unflushed.
339
+ ~ (While any affected columnfamilies have unflushed data from a
340
+ ~ commit log segment, that segment cannot be deleted.)
341
+ ~ This needs to be large enough that it won't cause a flush storm
342
+ ~ of all your memtables flushing at once because none has hit
343
+ ~ the size or count thresholds yet. For production, a larger
344
+ ~ value such as 1440 is recommended.
345
+ -->
346
+ <MemtableFlushAfterMinutes>60</MemtableFlushAfterMinutes>
347
+
348
+ <!--
349
+ ~ Unlike most systems, in Cassandra writes are faster than reads, so
350
+ ~ you can afford more of those in parallel. A good rule of thumb is 2
351
+ ~ concurrent reads per processor core. Increase ConcurrentWrites to
352
+ ~ the number of clients writing at once if you enable CommitLogSync +
353
+ ~ CommitLogSyncDelay. -->
354
+ <ConcurrentReads>8</ConcurrentReads>
355
+ <ConcurrentWrites>32</ConcurrentWrites>
356
+
357
+ <!--
358
+ ~ CommitLogSync may be either "periodic" or "batch." When in batch
359
+ ~ mode, Cassandra won't ack writes until the commit log has been
360
+ ~ fsynced to disk. It will wait up to CommitLogSyncBatchWindowInMS
361
+ ~ milliseconds for other writes, before performing the sync.
362
+
363
+ ~ This is less necessary in Cassandra than in traditional databases
364
+ ~ since replication reduces the odds of losing data from a failure
365
+ ~ after writing the log entry but before it actually reaches the disk.
366
+ ~ So the other option is "periodic," where writes may be acked immediately
367
+ ~ and the CommitLog is simply synced every CommitLogSyncPeriodInMS
368
+ ~ milliseconds.
369
+ -->
370
+ <CommitLogSync>periodic</CommitLogSync>
371
+ <!--
372
+ ~ Interval at which to perform syncs of the CommitLog in periodic mode.
373
+ ~ Usually the default of 10000ms is fine; increase it if your i/o
374
+ ~ load is such that syncs are taking excessively long times.
375
+ -->
376
+ <CommitLogSyncPeriodInMS>10000</CommitLogSyncPeriodInMS>
377
+ <!--
378
+ ~ Delay (in milliseconds) during which additional commit log entries
379
+ ~ may be written before fsync in batch mode. This will increase
380
+ ~ latency slightly, but can vastly improve throughput where there are
381
+ ~ many writers. Set to zero to disable (each entry will be synced
382
+ ~ individually). Reasonable values range from a minimal 0.1 to 10 or
383
+ ~ even more if throughput matters more than latency.
384
+ -->
385
+ <!-- <CommitLogSyncBatchWindowInMS>1</CommitLogSyncBatchWindowInMS> -->
386
+
387
+ <!--
388
+ ~ Time to wait before garbage-collection deletion markers. Set this to
389
+ ~ a large enough value that you are confident that the deletion marker
390
+ ~ will be propagated to all replicas by the time this many seconds has
391
+ ~ elapsed, even in the face of hardware failures. The default value is
392
+ ~ ten days.
393
+ -->
394
+ <GCGraceSeconds>864000</GCGraceSeconds>
395
+ </Storage>
@@ -0,0 +1,30 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <!-- For assistance related to logback-translator or configuration -->
4
+ <!-- files in general, please contact the logback user mailing list -->
5
+ <!-- at http://www.qos.ch/mailman/listinfo/logback-user -->
6
+ <!-- -->
7
+ <!-- For professional support please see -->
8
+ <!-- http://www.qos.ch/shop/products/professionalSupport -->
9
+ <!-- -->
10
+ <configuration scan="false" debug="false">
11
+ <appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
12
+ <encoder>
13
+ <pattern>[%t] [%4p] [%d{ISO8601}] %c{1}: %m%n</pattern>
14
+ </encoder>
15
+ </appender>
16
+ <appender name="R" class="ch.qos.logback.core.rolling.RollingFileAppender">
17
+ <File>./logs/akka.log</File>
18
+ <encoder>
19
+ <pattern>[%t] [%4p] [%d{ISO8601}] %c{1}: %m%n</pattern>
20
+ </encoder>
21
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
22
+ <fileNamePattern>./logs/akka.log.%d{yyyy-MM-dd-HH}</fileNamePattern>
23
+ </rollingPolicy>
24
+ </appender>
25
+ <logger name="akka" level="INFO"/>
26
+ <root level="INFO">
27
+ <appender-ref ref="stdout"/>
28
+ <appender-ref ref="R"/>
29
+ </root>
30
+ </configuration>
@@ -0,0 +1,106 @@
1
+ <?xml version="1.0"?>
2
+ <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
3
+
4
+ <!-- =============================================================== -->
5
+ <!-- Configure the Jetty Server -->
6
+ <!-- -->
7
+ <!-- Documentation of this file format can be found at: -->
8
+ <!-- http://wiki.eclipse.org/Jetty/Reference/jetty.xml_syntax -->
9
+ <!-- -->
10
+ <!-- Additional configuration files are available in $JETTY_HOME/etc -->
11
+ <!-- and can be mixed in. For example: -->
12
+ <!-- java -jar start.jar etc/jetty.xml etc/jetty-ssl.xml -->
13
+ <!-- -->
14
+ <!-- See start.ini file for the default configuraton files -->
15
+ <!-- =============================================================== -->
16
+
17
+
18
+ <Configure id="Server" class="org.eclipse.jetty.server.Server">
19
+
20
+ <!-- =========================================================== -->
21
+ <!-- Server Thread Pool -->
22
+ <!-- =========================================================== -->
23
+ <Set name="ThreadPool">
24
+ <New class="org.eclipse.jetty.util.thread.ExecutorThreadPool">
25
+ </New>
26
+ </Set>
27
+
28
+ <!-- =========================================================== -->
29
+ <!-- Set connectors -->
30
+ <!-- =========================================================== -->
31
+
32
+ <Call name="addConnector">
33
+ <Arg>
34
+ <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
35
+ <Set name="host"><SystemProperty name="jetty.host" /></Set>
36
+ <Set name="port"><SystemProperty name="jetty.port" default="8080"/></Set>
37
+ <Set name="maxIdleTime">300000</Set>
38
+ <Set name="Acceptors">2</Set>
39
+ <Set name="statsOn">false</Set>
40
+ <Set name="confidentialPort">8443</Set>
41
+ <Set name="lowResourcesConnections">20000</Set>
42
+ <Set name="lowResourcesMaxIdleTime">5000</Set>
43
+ </New>
44
+ </Arg>
45
+ </Call>
46
+
47
+ <!-- Uncomment this and enter your SSL config/credentials to enable https
48
+ <Call name="addConnector">
49
+ <Arg>
50
+ <New class="org.eclipse.jetty.server.ssl.SslSelectChannelConnector">
51
+ <Set name="Port">8443</Set>
52
+ <Set name="maxIdleTime">30000</Set>
53
+ <Set name="Acceptors">2</Set>
54
+ <Set name="AcceptQueueSize">100</Set>
55
+ <Set name="Keystore"><SystemProperty name="jetty.home" default="." />/etc/keystore</Set>
56
+ <Set name="Password">PASSWORD</Set>
57
+ <Set name="KeyPassword">KEYPASSWORD</Set>
58
+ <Set name="truststore"><SystemProperty name="jetty.home" default="." />/etc/keystore</Set>
59
+ <Set name="trustPassword">TRUSTPASSWORD</Set>
60
+ </New>
61
+ </Arg>
62
+ </Call>
63
+ -->
64
+
65
+ <!-- =========================================================== -->
66
+ <!-- Set handler Collection Structure -->
67
+ <!-- =========================================================== -->
68
+ <Set name="handler">
69
+ <New id="Handlers" class="org.eclipse.jetty.server.handler.HandlerCollection">
70
+ <Set name="handlers">
71
+ <Array type="org.eclipse.jetty.server.Handler">
72
+ <Item>
73
+ <New id="AkkaRestHandler" class="org.eclipse.jetty.servlet.ServletContextHandler">
74
+ <Set name="contextPath">/</Set>
75
+ <Call name="addServlet">
76
+ <Arg>akka.http.AkkaRestServlet</Arg>
77
+ <Arg>/*</Arg>
78
+ </Call>
79
+ </New>
80
+ </Item>
81
+ <!--Item>
82
+ <New id="AkkaMistHandler" class="org.eclipse.jetty.servlet.ServletContextHandler">
83
+ <Set name="contextPath">/</Set>
84
+ <Call name="addServlet">
85
+ <Arg>akka.http.AkkaMistServlet</Arg>
86
+ <Arg>/*</Arg>
87
+ </Call>
88
+ </New>
89
+ </Item-->
90
+ <Item>
91
+ <New id="DefaultHandler" class="org.eclipse.jetty.server.handler.DefaultHandler"/>
92
+ </Item>
93
+ </Array>
94
+ </Set>
95
+ </New>
96
+ </Set>
97
+
98
+ <!-- =========================================================== -->
99
+ <!-- extra options -->
100
+ <!-- =========================================================== -->
101
+ <Set name="stopAtShutdown">true</Set>
102
+ <Set name="sendServerVersion">true</Set>
103
+ <Set name="sendDateHeader">true</Set>
104
+ <Set name="gracefulShutdown">1000</Set>
105
+
106
+ </Configure>