Commit Graph

411 Commits

Author SHA1 Message Date
nathan
a7c705913c Updated readme format 2017-02-18 23:59:18 +01:00
nathan
d5a104767e Updated version/readme 2017-02-01 00:51:26 +01:00
nathan
f8747c1921 Updated version 2016-05-31 02:21:42 +02:00
nathan
006fa1822a Updated license info 2016-04-05 14:47:40 +02:00
nathan
39baddfbd3 Updated version 2016-04-03 21:03:27 +02:00
nathan
11891f0525 Clearing subscriptions during shutdown is now within a synchronized
block
2016-04-03 17:34:37 +02:00
nathan
3caa2fa2d2 Added FastThreadLocal, renamed utils package to util. 2016-04-02 19:41:59 +02:00
nathan
78fc852578 Updated version 2016-03-22 01:45:25 +01:00
nathan
c32c500a68 Fixed line endings 2016-03-12 13:15:03 +01:00
nathan
06e68fb21a updated version 2016-03-11 04:03:35 +01:00
nathan
4b97653b78 Updated to have dependencies in maven, included also in readme 2016-03-11 03:26:55 +01:00
nathan
d4b2f4516a Updated builds + build system 2016-02-13 18:51:13 +01:00
nathan
4db2e1f08d Added MessgeBus.getVersion() 2016-02-10 19:09:45 +01:00
nathan
d230347584 Code cleanup 2016-02-10 19:04:08 +01:00
nathan
3e96e0d0b8 Tweaked javadocs 2016-02-09 18:32:49 +01:00
nathan
3b94bce905 updated readme 2016-02-09 15:16:03 +01:00
nathan
39a36e3edf Removed libs and dist 2016-02-09 14:54:37 +01:00
nathan
7cc484f8bc Updated author tags 2016-02-09 14:53:57 +01:00
nathan
9946c74d49 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	LICENSE
#	README.md
#	src/dorkbox/messagebus/MessageBus.java
#	src/dorkbox/messagebus/annotations/References.java
#	src/dorkbox/messagebus/synchrony/AsyncDisruptor.java
#	src/dorkbox/messagebus/utils/ReflectionUtils.java
2016-02-09 03:48:28 +01:00
nathan
6ee6636463 Removed libs dir 2016-02-09 03:43:03 +01:00
nathan
68af69c1fc Removed dist dir 2016-02-09 03:28:39 +01:00
nathan
401b7e31e4 cleaned up comments, readme, and method parameters 2016-02-09 02:53:00 +01:00
nathan
d0fb78e129 Added comments, fixed missing generics for java6 compilation 2016-02-09 01:47:09 +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
49933e9219 Fixed issues with dead message publication - we now detect if there are listeners are actually subscribed, and publish dead messages when there are none detected. Primary subscriptions/superSubscriptions are now 'gotten' by the calling thread (DeadMessage subscriptions are 'gotten' lazily. Error handling is now improved - a single error in a collection of "same type" subscriptions will not cause all of them to abort (only the currently called method will). 2016-02-07 19:32:24 +01:00
nathan
8747aec23f code polish. Cleaned up documentation. Removed requirement to "start" the messagebus 2016-02-07 18:19:26 +01:00
nathan
10e2d52103 code polish 2016-02-07 17:02:51 +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
4e39acdd02 Cleaned up DeadMessages 2016-02-07 00:24:27 +01:00
nathan
72641a57f2 comment cleanup 2016-02-07 00:23:33 +01:00
nathan
0ae980319b Cleaned up synchrony start/shutdown. Removed start (it was unnecessary), and shutdown now waits for threads to stop 2016-02-07 00:22:54 +01:00
nathan
89f47fdd8a Code polish/cleanup 2016-02-07 00:10:42 +01:00
nathan
4d5b53fa36 Cleaned up sync/async publication 2016-02-06 23:40:58 +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
c323e29287 comments/polish 2016-02-06 16:23:14 +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
b2cbd9c084 Moved ConcurrentSet entries/etc into subscription -> BEST performance for subscription iteration w/o GC 2016-01-27 12:54:57 +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
61f7cd26b1 GREAT performance. Added IdentityMap to ReflectionUtils annotations collector 2016-01-20 15:14:06 +01:00
nathan
61756547bb Code cleanup 2016-01-20 13:48:47 +01:00
nathan
3674d6031b WIP single writer principle. have subsPerMessage + subsPerSuperMessage working 2016-01-20 13:35:33 +01:00
nathan
9e06d16855 WIP - getting system to arrays instead of lists 2016-01-20 01:56:39 +01:00