akka-actor-jars 1.2.0-java → 2.0.2-java

Sign up to get free protection for your applications and to get access to all the features.
Binary file
@@ -2,10 +2,4 @@
2
2
 
3
3
  require 'java'
4
4
  require 'scala-library-jars'
5
-
6
-
7
- AKKA_HOME = File.expand_path('../..', __FILE__)
8
-
9
- $CLASSPATH << File.join(AKKA_HOME, 'config')
10
-
11
- Dir["#{AKKA_HOME}/lib/*.jar"].each { |jar| require(jar) }
5
+ require 'akka-actor-2.0.2'
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: akka-actor-jars
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.2.0
5
+ version: 2.0.2
6
6
  platform: java
7
7
  authors:
8
8
  - Theo Hultberg
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-10-16 00:00:00 Z
13
+ date: 2012-08-07 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: scala-library-jars
@@ -34,9 +34,7 @@ extra_rdoc_files: []
34
34
 
35
35
  files:
36
36
  - lib/akka-actor-jars.rb
37
- - lib/akka-actor-1.2.jar
38
- - config/akka-reference.conf
39
- - config/akka.conf
37
+ - lib/akka-actor-2.0.2.jar
40
38
  homepage: http://akka.io
41
39
  licenses: []
42
40
 
@@ -1,168 +0,0 @@
1
- ####################
2
- # Akka Config File #
3
- ####################
4
-
5
- # This file has all the default settings, so all these could be removed with no visible effect.
6
- # Modify as needed.
7
-
8
- akka {
9
- version = "1.2" # Akka version, checked against the runtime version of Akka.
10
-
11
- enabled-modules = [] # Comma separated list of the enabled modules. Options: ["remote", "camel", "http"]
12
-
13
- time-unit = "seconds" # Time unit for all timeout properties throughout the config
14
-
15
- event-handlers = ["akka.event.EventHandler$DefaultListener"] # event handlers to register at boot time (EventHandler$DefaultListener logs to STDOUT)
16
- event-handler-level = "INFO" # Options: ERROR, WARNING, INFO, DEBUG
17
-
18
- # These boot classes are loaded (and created) automatically when the Akka Microkernel boots up
19
- # Can be used to bootstrap your application(s)
20
- # Should be the FQN (Fully Qualified Name) of the boot class which needs to have a default constructor
21
- # boot = ["sample.camel.Boot",
22
- # "sample.rest.java.Boot",
23
- # "sample.rest.scala.Boot",
24
- # "sample.security.Boot"]
25
- boot = []
26
-
27
- actor {
28
- timeout = 5 # Default timeout for Future based invocations
29
- # - Actor: ? and ask
30
- # - UntypedActor: ask
31
- # - TypedActor: methods with non-void return type
32
- serialize-messages = off # Does a deep clone of (non-primitive) messages to ensure immutability
33
- throughput = 5 # Default throughput for all ExecutorBasedEventDrivenDispatcher, set to 1 for complete fairness
34
- throughput-deadline-time = -1 # Default throughput deadline for all ExecutorBasedEventDrivenDispatcher, set to 0 or negative for no deadline
35
- dispatcher-shutdown-timeout = 1 # Using the akka.time-unit, how long dispatchers by default will wait for new actors until they shut down
36
-
37
- default-dispatcher {
38
- type = "GlobalExecutorBasedEventDriven" # Must be one of the following, all "Global*" are non-configurable
39
- # - ExecutorBasedEventDriven
40
- # - ExecutorBasedEventDrivenWorkStealing
41
- # - GlobalExecutorBasedEventDriven
42
- keep-alive-time = 60 # Keep alive time for threads
43
- core-pool-size-factor = 1.0 # No of core threads ... ceil(available processors * factor)
44
- max-pool-size-factor = 4.0 # Max no of threads ... ceil(available processors * factor)
45
- executor-bounds = -1 # Makes the Executor bounded, -1 is unbounded
46
- task-queue-size = -1 # Specifies the bounded capacity of the task queue (< 1 == unbounded)
47
- task-queue-type = "linked" # Specifies which type of task queue will be used, can be "array" or "linked" (default)
48
- allow-core-timeout = on # Allow core threads to time out
49
- rejection-policy = "caller-runs" # abort, caller-runs, discard-oldest, discard
50
- throughput = 5 # Throughput for ExecutorBasedEventDrivenDispatcher, set to 1 for complete fairness
51
- throughput-deadline-time = -1 # Throughput deadline for ExecutorBasedEventDrivenDispatcher, set to 0 or negative for no deadline
52
- mailbox-capacity = -1 # If negative (or zero) then an unbounded mailbox is used (default)
53
- # If positive then a bounded mailbox is used and the capacity is set using the property
54
- # NOTE: setting a mailbox to 'blocking' can be a bit dangerous,
55
- # could lead to deadlock, use with care
56
- #
57
- # The following are only used for ExecutorBasedEventDriven
58
- # and only if mailbox-capacity > 0
59
- mailbox-push-timeout-time = 10 # Specifies the timeout to add a new message to a mailbox that is full - negative number means infinite timeout
60
- # (in unit defined by the time-unit property)
61
- }
62
-
63
- debug {
64
- receive = "false" # enable function of Actor.loggable(), which is
65
- # to log any received message at DEBUG level
66
- autoreceive = "false" # enable DEBUG logging of all AutoReceiveMessages
67
- # (Kill, PoisonPill and the like)
68
- lifecycle = "false" # enable DEBUG logging of actor lifecycle changes
69
- }
70
- }
71
-
72
- stm {
73
- fair = on # Should global transactions be fair or non-fair (non fair yield better performance)
74
- max-retries = 1000
75
- timeout = 5 # Default timeout for blocking transactions and transaction set (in unit defined by
76
- # the time-unit property)
77
- write-skew = true
78
- blocking-allowed = false
79
- interruptible = false
80
- speculative = true
81
- quick-release = true
82
- propagation = "requires"
83
- trace-level = "none"
84
- }
85
-
86
- http {
87
- hostname = "localhost"
88
- port = 9998
89
-
90
- #If you are using akka.http.AkkaRestServlet
91
- filters = ["akka.security.AkkaSecurityFilterFactory"] # List with all jersey filters to use
92
- # resource-packages = ["sample.rest.scala",
93
- # "sample.rest.java",
94
- # "sample.security"] # List with all resource packages for your Jersey services
95
- resource-packages = []
96
-
97
- # The authentication service to use. Need to be overridden (sample now)
98
- # authenticator = "sample.security.BasicAuthenticationService"
99
- authenticator = "N/A"
100
-
101
- # Uncomment if you are using the KerberosAuthenticationActor
102
- # kerberos {
103
- # servicePrincipal = "HTTP/localhost@EXAMPLE.COM"
104
- # keyTabLocation = "URL to keytab"
105
- # kerberosDebug = "true"
106
- # realm = "EXAMPLE.COM"
107
- # }
108
- kerberos {
109
- servicePrincipal = "N/A"
110
- keyTabLocation = "N/A"
111
- kerberosDebug = "N/A"
112
- realm = ""
113
- }
114
-
115
- #If you are using akka.http.AkkaMistServlet
116
- mist-dispatcher {
117
- #type = "GlobalExecutorBasedEventDriven" # Uncomment if you want to use a different dispatcher than the default one for Comet
118
- }
119
- connection-close = true # toggles the addition of the "Connection" response header with a "close" value
120
- root-actor-id = "_httproot" # the id of the actor to use as the root endpoint
121
- root-actor-builtin = true # toggles the use of the built-in root endpoint base class
122
- timeout = 1000 # the default timeout for all async requests (in ms)
123
- expired-header-name = "Async-Timeout" # the name of the response header to use when an async request expires
124
- expired-header-value = "expired" # the value of the response header to use when an async request expires
125
- }
126
-
127
- remote {
128
-
129
- # secure-cookie = "050E0A0D0D06010A00000900040D060F0C09060B" # generate your own with '$AKKA_HOME/scripts/generate_config_with_secure_cookie.sh' or using 'Crypt.generateSecureCookie'
130
- secure-cookie = ""
131
-
132
- compression-scheme = "" # Options: "zlib" (lzf to come), leave out for no compression
133
- zlib-compression-level = 6 # Options: 0-9 (1 being fastest and 9 being the most compressed), default is 6
134
-
135
- layer = "akka.remote.netty.NettyRemoteSupport"
136
-
137
- server {
138
- hostname = "localhost" # The hostname or IP that clients should connect to
139
- port = 2552 # The port clients should connect to. Default is 2552 (AKKA)
140
- message-frame-size = 1048576 # Increase this if you want to be able to send messages with large payloads
141
- connection-timeout = 100 # Number in time-unit
142
- require-cookie = off # Should the remote server require that it peers share the same secure-cookie (defined in the 'remote' section)?
143
- untrusted-mode = off # Enable untrusted mode for full security of server managed actors, allows untrusted clients to connect.
144
- backlog = 4096 # Sets the size of the connection backlog
145
- execution-pool-keepalive = 60# Length in akka.time-unit how long core threads will be kept alive if idling
146
- execution-pool-size = 16# Size of the core pool of the remote execution unit
147
- max-channel-memory-size = 0 # Maximum channel size, 0 for off
148
- max-total-memory-size = 0 # Maximum total size of all channels, 0 for off
149
- }
150
-
151
- client {
152
- buffering {
153
- retry-message-send-on-failure = off # Buffer outbound messages when send failed, if off you'll get an exception instead
154
- capacity = -1 # If negative (or zero) then an unbounded mailbox is used (default)
155
- # If positive then a bounded mailbox is used and the capacity is set using the property
156
- }
157
- reconnect-delay = 5 # Number in time-unit
158
- read-timeout = 10 # Number in time-unit
159
- message-frame-size = 1048576 # Size in bytes
160
- reap-futures-delay = 5 # Number in time-unit
161
- reconnection-time-window = 600 # Maximum time window that a client should try to reconnect for
162
- }
163
- }
164
-
165
- test {
166
- timefactor = "1.0" # factor by which to scale timeouts during tests, e.g. to account for shared build system load
167
- }
168
- }
data/config/akka.conf DELETED
@@ -1,5 +0,0 @@
1
- # This config imports the Akka reference configuration.
2
- include "akka-reference.conf"
3
-
4
- # In this file you can override any option defined in the 'akka-reference.conf' file.
5
- # Copy in all or parts of the 'akka-reference.conf' file and modify as you please.
Binary file