summaryrefslogtreecommitdiff
path: root/src/delegate.erl
Commit message (Collapse)AuthorAgeFilesLines
* move delegate to commonkjnilsson2016-09-091-269/+0
|
* Use the new -spec formatJean-Sébastien Pédron2016-06-281-17/+13
| | | | | | | | | | | | | The old format is removed in Erlang 19.0, leading to build errors. Also, get rid of the `use_specs` macro and thus always define -spec() & friends. While here, unnify the style of -type and -spec. References #860. [#118562897] [#122335241]
* Update (c) infoMichael Klishin2016-01-011-1/+1
|
* fixes various dialyzer warningsAlvaro Videla2015-11-201-4/+4
|
* (c) yearMichael Klishin2015-05-241-1/+1
|
* De-emphasise mirroring, talk about ordering issues.Simon MacMullen2015-02-041-4/+14
|
* ClarifyMichael Klishin2015-02-041-0/+3
|
* Overview documentation for delegateMichael Klishin2015-02-041-0/+16
|
* Update copyright for 2014Simon MacMullen2014-03-171-1/+1
|
* refactor: make proper use of gb_sets APIMatthias Radestock2013-08-191-5/+5
|
* Use gb_sets rather than sets for performance.Simon MacMullen2013-08-191-6/+6
|
* cosmetics, better var names, and optimise 'DOWN' sendingMatthias Radestock2013-08-171-21/+20
|
* we don't really support demonitor/2, so rip it outMatthias Radestock2013-08-171-11/+8
| | | | | due to the aggregration of all monitors of a single pid into a single monitor, the semantics of demonitor/2 is decidely dodgy
* we only support process monitoring, so enforce that in the APIMatthias Radestock2013-08-171-6/+6
|
* ahemSimon MacMullen2013-08-161-1/+1
|
* Simpler to maintain MonitoredPid -> {Ref, MonitoringPidSet}.Simon MacMullen2013-08-161-66/+32
|
* Explain what this is.Simon MacMullen2013-08-151-0/+3
|
* Store monitors correctly, with a two level dictionary, mapping MonitoredPid ↵Simon MacMullen2013-08-151-10/+57
| | | | -> MonitoringPid -> Ref and MonitoredPid -> Ref -> MonitoringPid.
* Revert b2db7048b839 (which in turn mostly reverted dd08c9204760), i.e. ↵Simon MacMullen2013-08-151-17/+70
| | | | return to the broken bug25644 implementation.
* Stable to defaultSimon MacMullen2013-08-151-70/+17
|\
| * Revert dd08c9204760Simon MacMullen2013-08-141-71/+18
| |
* | refactor: better name for function applicationMatthias Radestock2013-08-091-6/+4
| | | | | | | | plus lose the type check; we are not that paranoid.
* | tighter specsMatthias Radestock2013-08-081-5/+5
| |
* | Use MFA for call and cast, hence avoid sending closures across the network.Simon MacMullen2013-08-081-2/+2
| |
* | Support MFA in delegate:invoke/2 and friends.Simon MacMullen2013-08-081-34/+39
|/
* Refresh branch from stableEmile Joubert2013-07-311-18/+71
|\
| * Make monitoring via delegates async. This has the downside that you can't ↵Simon MacMullen2013-07-231-22/+29
| | | | | | | | monitor the same pid more than once from the same process, but that is enforced by pmon anyway which is the only client of this code. The upside is that cross-cluster basic.get doesn't deadlock...
| * Get amqqueu_process to montor via delegate too, tighten delegate specs, ↵Simon MacMullen2013-07-041-2/+2
| | | | | | | | simplify pmon parameterisation.
| * Guard aganist the case where a delegate-executed function does some monitoring.Simon MacMullen2013-07-021-3/+7
| |
| * Make the delegate monitoring API a drop in replacement for the built in one, ↵Simon MacMullen2013-07-021-23/+25
| | | | | | | | and thus parameterise pmon and remove dmon.
| * Do the monitoring on the correct node(!) and remove all that nonsense about ↵Simon MacMullen2013-06-261-2/+6
| | | | | | | | node-wide monitoring.
| * Delegate monitoring, with a fairly glaring hole.Simon MacMullen2013-06-251-15/+51
| |
* | s/VMware/GoPivotal/gSimon MacMullen2013-07-011-2/+2
|/
* stable to defaultSimon MacMullen2013-01-241-1/+1
|\
| * Update copyright 2013Emile Joubert2013-01-231-1/+1
| |
* | common-case optimisations for delegate:invoke[_no_result]Matthias Radestock2013-01-061-0/+12
|/
* move generic cross-node funs from rabbit_amqqueue to delegateMatthias Radestock2012-12-031-1/+11
| | | | since the latter changes less frequently
* Update copyright 2012Emile Joubert2012-02-021-1/+1
|
* amqqueue_sup, delegate specs are up to dateAlexandru Scvortov2011-08-051-3/+3
| | | | Nothing to do for bpqueue.
* Abstract out the rabbit from delegate (also improve robustness)Matthew Sackman2011-02-071-14/+4
|
* Cope with the possibility that the user of the delegate mechanism is not on ↵Matthew Sackman2011-01-271-11/+16
| | | | a node running rabbit
* Update .erl and .hrl license boilerplatesMatthew Sackman2011-01-191-26/+11
|
* treat nodedown as a recoverable errorMatthias Radestock2010-12-201-1/+1
|
* cosmetic and minor refactorMatthias Radestock2010-12-201-25/+19
|
* Treat localpids even more specially, and save 4 lines in the process...Matthew Sackman2010-12-191-19/+15
|
* Substantially reworked delegateMatthew Sackman2010-12-181-121/+88
|
* amqqueue emit_stats should reply with 'hibernate'Marek Majkowski2010-11-011-1/+1
|
* Use two pools of delegates, one for each of outgoing and incoming messages. ↵Simon MacMullen2010-10-251-9/+14
| | | | Prevents deadlocks.
* use consistent return types for start/start_link functionsMatthias Radestock2010-08-131-1/+1
|
* cleanupAlexandru Scvortov2010-07-061-1/+2
|