Michael Davidsaver
e5e8751f8d
conditional monitor stats
2017-05-24 17:47:19 -04:00
Michael Davidsaver
8d187e4493
trap unexpected monitor reuse
2016-09-03 19:23:00 -04:00
Michael Davidsaver
8f2167497f
chancache
...
fix crash on shutdown
2016-03-30 11:50:59 +09:00
Michael Davidsaver
16ab57e1f3
p2p: read-only switch
2016-03-28 08:20:34 +09:00
Michael Davidsaver
5219f29945
fix iocshVariable helper
2016-03-24 18:48:30 -04:00
Michael Davidsaver
47560e8565
minor
2016-03-16 19:10:30 -04:00
Michael Davidsaver
e35f06cb00
more monitor delta handling
2016-02-17 12:50:28 -05:00
Michael Davidsaver
ceefb62cff
more lastelem
2016-02-06 22:21:06 -05:00
Michael Davidsaver
64b2868521
use Monitor::getStats()
2016-02-05 13:55:11 -05:00
Michael Davidsaver
0e5456c9ef
add pvasr
2016-02-05 13:54:47 -05:00
Michael Davidsaver
c863aae2f0
copy lastelem
...
can't keep this when the default queue size is 2.
2016-02-05 13:54:17 -05:00
Michael Davidsaver
03f666c3f6
fixups
2016-01-29 18:34:59 -05:00
Michael Davidsaver
aecd8471e1
more ref. count tracking and break some loops
2016-01-29 16:15:34 -05:00
Michael Davidsaver
f081e10c62
fixups
2016-01-29 14:04:36 -05:00
Michael Davidsaver
d54cc78ce8
consolidate channelFind and createChannel
2016-01-29 12:25:39 -05:00
Michael Davidsaver
1a7db1df17
pass in upstream provider as argument
2016-01-29 12:14:34 -05:00
Michael Davidsaver
2b6bd8c94d
move GWServerChannelProvider into a header
2016-01-29 11:17:15 -05:00
Michael Davidsaver
ef05aed964
minor
2016-01-29 11:06:42 -05:00
Michael Davidsaver
9ee050fa25
monitoring test infrastructure
2016-01-28 17:07:07 -05:00
Michael Davidsaver
03db900663
rework monitor queuing
2016-01-28 12:17:37 -05:00
Michael Davidsaver
9e92c67924
channel cache doesn't need to know about server provider
2016-01-28 12:16:30 -05:00
Michael Davidsaver
0995c48f90
minor
2016-01-28 12:13:43 -05:00
Michael Davidsaver
125f04da3a
weak_set iterator
2016-01-20 13:39:00 -05:00
Michael Davidsaver
23993764ed
more iocshelper
2016-01-06 11:53:07 -05:00
Michael Davidsaver
650ed7cf02
cleanup unused
2016-01-06 09:38:33 -05:00
Michael Davidsaver
b307c20573
Use getRequesterName()
...
to get the address of the client ot the gateway server (CLI).
2016-01-06 09:38:33 -05:00
Michael Davidsaver
b7467d5d54
remove x/y name prefix hack
2016-01-06 09:38:33 -05:00
Michael Davidsaver
dd17fbc52b
iocsh command to set pva log level
2016-01-06 09:38:33 -05:00
Michael Davidsaver
3e130d4f79
track and show server peer address
2015-12-08 22:01:38 -05:00
Michael Davidsaver
41491d00bf
avoid potential data races
2015-12-08 21:00:16 -05:00
Michael Davidsaver
a2cbc6cae4
lock for ChannelCacheEntry
2015-12-08 20:30:29 -05:00
Michael Davidsaver
8abf5c20c6
more unlock monitor setup
2015-12-08 20:11:16 -05:00
Michael Davidsaver
3118f92a61
unlock around call to createChannel
2015-12-08 20:08:32 -05:00
Michael Davidsaver
3223c5da19
less locking during monitor setup
2015-12-08 18:10:06 -05:00
Michael Davidsaver
5e9ed37613
paranoia
2015-12-08 17:40:37 -05:00
Michael Davidsaver
810377aa34
lock for MonitorCacheEntry
2015-12-08 17:29:46 -05:00
Michael Davidsaver
247caaf161
more lock MonitorUser
2015-12-08 17:25:39 -05:00
Michael Davidsaver
14bcd4a4d1
fix weakmap/set lock delegation
2015-12-08 17:10:09 -05:00
Michael Davidsaver
7de48f0bda
add lock for MonitorUser
2015-12-08 17:03:03 -05:00
Michael Davidsaver
3865745790
cleanup from dtor
...
Avoid unnecessary reset() of otherwise const shared_ptr in destroy()
as this necessities locking for potentially concurrent access.
2015-12-08 16:10:17 -05:00
Michael Davidsaver
b0f855337f
minor
2015-12-08 16:07:38 -05:00
Michael Davidsaver
9fe595722c
very tricky...
...
ChannelMonitorImpl is lobotomized with the smarts going
to MonitorStrategyQueue, both implementing Monitor.
While CMI proxies calls poll/release() to MQS,
it seems that MQS doesn't proxy destroy() to CMI.
So calling destroy() on MQS is a no-op...
2015-12-08 14:45:27 -05:00
Michael Davidsaver
225c7ccb47
show cache cleaner info
2015-12-08 14:39:31 -05:00
Michael Davidsaver
550628dd85
gwstatus filter on client channel names
2015-12-08 14:19:17 -05:00
Michael Davidsaver
5cd8f0d668
counters for subscription events
2015-12-08 14:02:33 -05:00
Michael Davidsaver
600085d23b
less noise
2015-12-08 13:38:48 -05:00
Michael Davidsaver
e96148af28
iocshelper: support 2 arg functions
2015-12-08 13:24:45 -05:00
Michael Davidsaver
3ed487fdce
weakset/map update
...
note that size() can give larger than actual.
Skip dead entries in lock_*() instead of throwing.
2015-12-08 13:18:47 -05:00
Michael Davidsaver
81881d90ae
update gwref/gwstatus
...
gwstatus shows monitor information
gwref show live counts when GW not running
2015-12-08 13:17:13 -05:00
Michael Davidsaver
17fc18d939
report initial connection status
2015-12-08 11:05:36 -05:00