Julian Tescher
00f6a58e7c
Changes all occurances of Typesafe copyright to extend to 2015
2015-03-10 14:12:19 -07:00
tomekl007
c191fc58dc
#16245 fix formatting and delete usages of diamond operator
2014-11-20 16:57:49 +01:00
tomekl007
7cd4a68cee
+act #16245 receive builder works with generic messages
...
UnitPFBuilder use CaseStatements as previously, because apply is cast to exact type ( not ? extends T )
PFBuilder.match working with generic messages
2014-11-19 15:34:14 +01:00
Roland Kuhn
296f5a7cab
Merge pull request #15503 from akka/wip-15501-add-bounded-nonblocking-mpmc-mailbox-√
...
+act - #15501 - Adding support for a Non-blocking, bounded, MPMC mailbox...
2014-08-20 16:05:57 +02:00
Nitsan Wakart
87aea390b1
Forgotten bracket
2014-08-08 15:34:30 +02:00
Nitsan Wakart
24ac90448d
Doc stars err
2014-08-08 15:33:44 +02:00
Nitsan Wakart
a1311d4a93
Fixe documentation to state consumer only access is allowed to poll/peek/peekNode/pollNode
2014-08-08 15:27:12 +02:00
Nitsan Wakart
74d0f0cc6c
Fix isEmpty() and count()
...
isEmpty() need not rely on peek(which is intended for consumer use) and instead compare head to tail.
count() should stop counting at max int to avoid wrap.
2014-08-08 15:17:36 +02:00
Viktor Klang
945fde4294
+act - #15501 - Adding support for a Non-blocking, bounded, MPMC mailbox called 'NonBlockingBoundedMailbox'
2014-08-08 14:20:39 +02:00
Nitsan Wakart
e8cefbf7ba
Update AbstractNodeQueue.java
...
language language....
2014-07-28 15:44:08 +02:00
Nitsan Wakart
5dbdc605b0
Update AbstractNodeQueue.java
...
Avoid spinning on head when a peek/poll observes a null next but the queue is not empty.
2014-07-28 14:19:34 +02:00
Björn Antonsson
723c931d16
+act,sam,doc #3940 Added receive setter for Java Lambda actors
...
* Added a setter for Java lambda actors to "hide" the not so nice looking type signature of the "receive" method.
* Updated docs to reflect the changes.
* Converted samples to use the new setter.
2014-03-22 10:53:54 +01:00
Björn Antonsson
ba7247b240
+act #3911 Adding Java Lambda compatibility for Supervisor Strategy
...
Conflicts:
akka-actor/src/main/scala/akka/util/Timeout.scala
2014-03-17 15:04:29 +01:00
Björn Antonsson
07e361c684
!act,sam #3889 Adding Activator template FSM/become for Java with Lambda support
...
* Dining Hakkers Activator template for FSM and become
* Cleaup of FSM event matchers to be more usable and consistent
2014-03-05 11:16:23 +01:00
Björn Antonsson
0dcb6d6654
!act,doc #3831 Adding more Java with Lambda documentation and support
...
* The Java with Lambda support documentation for AbstractActor and AbstractFSM are now on par with Scala
* Many small fixes and additions of missing things
* Added an AbstractActorContext that has convenience functions for getChild and getChildren
2014-03-03 10:18:58 +01:00
Adam Voss
cce29dfa51
Changes all occurances of Typesafe copyright to extend to 2014.
2014-02-04 21:20:09 -06:00
Patrik Nordwall
615c6b572c
=* #2966 Reduce warnings from compile, test, scaladoc
2014-01-24 11:47:57 +01:00
Björn Antonsson
e5bcf8bfc9
+act #3770 Added Java 8 friendly APIs for Actor and FSM
2014-01-20 12:00:13 +01:00
Patrik Nordwall
4ab877e765
!act #3786 Remove deprecated DefaultScheduler
...
* Replaced by LightArrayRevolverScheduler
2013-12-12 13:17:43 +01:00
Roland Kuhn
e14f22f2e3
rework LARS, see #3428
...
- tasks are still enqueued without reading the clock
- in order to be resilient against timer thread over-sleeping the tasks
are passed to the timer thread using an AbstractNodeQueue and the
wheel itself is now private to the timer thread
- reuse queue Nodes along the way to minimize allocation costs
The problem with the old implementation was that the timer thread could
sleep too long, then wake up and run multiple buckets in quick
succession. Tasks enqueued just before that event could then get
executed basically immediately, i.e. before their allotted time.
2013-06-19 15:28:23 +02:00
Viktor Klang
1f694a3612
#3405 - fix race between consumer and producer for MPSC
2013-05-28 16:54:58 +02:00
Viktor Klang
dddc3a6630
#3203 - deprecating HashedWheelTimer
2013-04-07 20:07:26 +02:00
Viktor Klang
c48a2c4aac
Renaming peek() to peekNode and making it protected, then creating a new peek that returns T
2013-04-03 20:55:41 +02:00
Viktor Klang
68dfada8bc
Moving in isEmpty and count into AbstractNodeQueue
2013-04-03 20:05:20 +02:00
Viktor Klang
3ab3de1eb6
Making SerializedSuspendableExecutionContext use AbstractNodeQueue instead of ConcurrentLinkedQueue
2013-03-29 01:50:00 +01:00
Viktor Klang
fb2decbcda
Adding high-performance MPSC queue based mailbox to Akka
2013-03-14 14:37:57 +01:00
Patrik Nordwall
2a45d99ab3
Change more copyright to 2009-2013, see #2879
...
* Also added some missing headers
2013-02-20 21:26:52 +01:00
Roland Kuhn
7066b37077
Merge pull request #1027 from akka/wip-2904-timer-∂π
...
first cut of new AkkaTimer, see #2904
2013-01-23 11:06:41 -08:00
Roland
8dea20a1f1
LightArrayRevolverScheduler, see #2904
...
- based on a wheel (AtomicReferenceArray) from which atomic
single-linked lists dangle
- no locks
- deterministic tests due to overridable time source
- also bring docs up to date
2013-01-23 19:57:44 +01:00
Viktor Klang
4474c34e7c
#2782 - Removing ConcurrentIdentityHashMap and shake this all about
2013-01-22 15:11:49 +01:00
Viktor Klang (√)
6b638db65e
Merge pull request #1006 from akka/wip-2879-copyright2013-√
...
#2879 - updating copyright info
2013-01-14 04:59:29 -08:00
Matthew Neeley
382dc3b1e4
Fix HashedWheelTimer when timeout is multiple of wheel period #2898
2013-01-10 16:14:12 -08:00
Viktor Klang
adfeb2c1f0
#2879 - updating copyright info
2013-01-09 11:38:00 +01:00
Viktor Klang
3ff997a3ca
#2742 - making reuseAddress default false on windows with option to turn it on for everybody or off for everybody
2012-12-18 13:34:53 +01:00
Roland
17e6b13b65
fix lookup of top-level’s children, see #2675
...
- the problem existed only when creating children within the constructor
of a top-level actor
- add a test which verifies this
2012-11-26 15:56:17 +01:00
Roland Kuhn
44bf8a5d82
Merge pull request #869 from akka/wip-2686-HWT-overflow-∂π
...
make HashedWheelTimer tolerate wrap-arounds, see #2686
2012-11-15 08:41:04 -08:00
Roland
69505855fd
make HashedWheelTimer tolerate wrap-arounds, see #2686
2012-11-14 17:08:01 +01:00
Viktor Klang
b00c47854b
Switching over to immutable.Iterable where possible
2012-11-14 16:24:25 +01:00
Roland
0f04239f67
move Duration classes according to scala 2.10 nightly and remove casts to FiniteDuration, see #2504
2012-10-11 15:18:10 -07:00
Roland
ce49ffe3c6
remove all but one occurrence of single-arg tell()
2012-09-19 23:55:53 +02:00
Roland
947cea3a8c
more conversion to FiniteDuration, plus fix the build, see #2521
...
- also remove resetReceiveTimeout and change receiveTimeout() to return
a Duration (which may be Undefined)
- also move akka.actor.{cell -> dungeon}, because that is
+ an adequate name
+ and does not coincide with the lowercase version of a class name
2012-09-18 18:17:44 +02:00
Roland
35b7a9e338
second round of FiniteDuration business, including cluster fixes
...
- make Scheduler only accept FiniteDuration, which has quite some
knock-on effects
2012-09-18 09:58:30 +02:00
Viktor Klang
67d917f98e
Replacing if-statement with epic usage of Math.max
2012-08-06 17:41:17 +02:00
Viktor Klang
c491ccfbf8
Major cleanup in HWT, Making the Timeout a static class to be able to use Unsafe instead of AtomicInteger. Sprinkling finals and changing code formatting.
...
(RK: cherry-picked from Viktor’s branch and cleaned up two “unused”
warnings)
2012-08-06 15:41:51 +02:00
Roland
a5068a50a3
simplify HWT logic and make better use of inaccuracy, see #2354
...
- use actual time after wake-up to determine runnable tasks, not
precalculated and aimed-for deadline
2012-08-06 15:38:51 +02:00
Roland
dca8d15c68
Merge branch 'wip-2212-recursive-resume-∂π' into wip-scala210M5-√
...
only merged so that it compiles, will clean up warnings in the following
commits
2012-07-23 14:17:45 +02:00
Roland
36ac4d89de
split up ActorCell functionality into multiple source files
...
- created package akka.actor.cell to hold the different traits from
which the ActorCell cake is made
- split up by topic, but leave the message processing itself within
ActorCell
- move ChildrenContainer into the akka.actor.cell package
- move AbstractActorCell also
- make members of the behavior traits private/protected to tighten their
scope as much as possible => make it easier to see what’s going on
2012-07-08 17:41:22 +02:00
Viktor Klang
ac5b5de90a
Merging in master, huge work trying to get things to compile, tests not green at this stage
2012-07-06 17:04:04 +02:00
Roland
cde7b29a33
Merge branch 'wip-1952-testkit-java-∂π'
2012-07-04 17:38:20 +02:00
Viktor Klang
52d33113d9
Partial work + broken commit
2012-07-04 15:25:30 +02:00