nathan
|
d230347584
|
Code cleanup
|
2016-02-10 19:04:08 +01:00 |
|
nathan
|
4686461bc7
|
Tweaked publication/dispatch and which threads (if async) get the subscriptions for the messages (previously, the calling thread did this. NOW whatever thread the dispatcher is in does this
|
2016-02-08 02:12:27 +01:00 |
|
nathan
|
95697164f5
|
ALL UNIT TESTS PASS. Fixed issues with handling subtypes (wasn't checking if we handle the type in addition to if subtypes are accepted. Because the class hierarchy doesn't always match subscription registered type, this was necessary.
|
2016-02-08 01:21:32 +01:00 |
|
nathan
|
8747aec23f
|
code polish. Cleaned up documentation. Removed requirement to "start" the messagebus
|
2016-02-07 18:19:26 +01:00 |
|
nathan
|
11afd3d721
|
Added support for Weak references in subscriptions (for when a container is used, like spring, and we want to use automatic memory management for subs that might no longer exist in the parent container
|
2016-02-07 02:48:08 +01:00 |
|
nathan
|
89f47fdd8a
|
Code polish/cleanup
|
2016-02-07 00:10:42 +01:00 |
|
nathan
|
969e21d762
|
Code polish and comments
|
2016-02-06 21:11:48 +01:00 |
|
nathan
|
7e262d1f0c
|
Cleaned up multi-subs and multi-super-subs
|
2016-02-06 21:05:37 +01:00 |
|
nathan
|
d31e27eadd
|
WIP - polishing
|
2016-02-06 16:15:16 +01:00 |
|
nathan
|
3226d8ae20
|
Moved performance tests into separate project
|
2016-02-06 02:54:35 +01:00 |
|
nathan
|
7822448427
|
code polish
|
2016-02-06 01:07:32 +01:00 |
|
nathan
|
618e4034f2
|
renamed package
|
2016-01-27 00:43:16 +01:00 |
|
nathan
|
3483205dfd
|
cleaned up unitests
|
2016-01-25 15:07:57 +01:00 |
|
nathan
|
d84098fe9d
|
Merge branch 'single_writer_wip_subscriptions' into single_writer
# Conflicts:
# src/dorkbox/util/messagebus/subscription/Subscription.java
# src/dorkbox/util/messagebus/subscription/SubscriptionManager.java
|
2016-01-25 15:00:56 +01:00 |
|
nathan
|
992b8f2f3b
|
Supersubs now working w/ unit tests. wip multimessages. performancetest still fails w/ current subscription add() method
|
2016-01-25 14:56:54 +01:00 |
|
nathan
|
b4247731db
|
WIP, getting subscriptions to use the single writer principle
|
2016-01-25 12:24:41 +01:00 |
|
nathan
|
61756547bb
|
Code cleanup
|
2016-01-20 13:48:47 +01:00 |
|
nathan
|
e8efa4390b
|
polish and reasonable performance.
|
2016-01-15 23:35:20 +01:00 |
|
nathan
|
eae63b3f8a
|
GREAT performance with Disruptor values tweaked. WIP getting all collections lock-free
|
2016-01-15 02:26:23 +01:00 |
|
nathan
|
0ed9b1b243
|
Fixed issues with varity argumuent subscriptions, cleaned up model, removed "FirstArg" publisher (didn't make any sense. Publication should always use all arguments)
|
2016-01-14 15:08:49 +01:00 |
|
nathan
|
4a42f395a6
|
Added disruptor - AWESOME fast in speed tests. Has problems because of pub/sub lock contention when used in MessageBus
|
2016-01-13 18:05:43 +01:00 |
|
nathan
|
57cd06d164
|
Updated license info. Updated jctools MPMC array queue
|
2015-10-30 13:31:13 +01:00 |
|
nathan
|
68dc22b736
|
fixed generics
|
2015-07-22 10:37:40 +02:00 |
|
nathan
|
4e75e28802
|
Updated to use non-deprecated junit. added missing generic parameters
|
2015-07-07 00:36:23 +02:00 |
|
nathan
|
8f312a8012
|
Added intellij support. Compiled as java6, supports java8 ConcurrentHashMap
|
2015-06-28 00:16:38 +02:00 |
|
nathan
|
894da4c980
|
Changed visibility of queue. Made node items private
|
2015-06-26 20:59:43 +02:00 |
|
nathan
|
a790368ec4
|
Code polish and refactor to support multiple types of publishing and subscribing
|
2015-06-20 01:05:01 +02:00 |
|
nathan
|
2c2801e54f
|
cleaned up source, comments. Extracted ErrorHandler. WIP java version adapter
|
2015-06-16 11:36:57 +02:00 |
|