retlang 1.0.4.419 → 1.0.5.422

Sign up to get free protection for your applications and to get access to all the features.
data/lib/Retlang.dll CHANGED
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: retlang
3
3
  version: !ruby/object:Gem::Version
4
- hash: 777
4
+ hash: 775
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 4
10
- - 419
11
- version: 1.0.4.419
9
+ - 5
10
+ - 422
11
+ version: 1.0.5.422
12
12
  platform: ruby
13
13
  authors:
14
14
  - Mike Rettig
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-10-04 00:00:00 +02:00
20
+ date: 2010-10-15 00:00:00 +02:00
21
21
  default_executable:
22
22
  dependencies: []
23
23
 
@@ -36,8 +36,7 @@ extra_rdoc_files: []
36
36
 
37
37
  files:
38
38
  - lib/Retlang.dll
39
- - lib/Retlang.pdb
40
- - lib/Retlang.xml
39
+ - lib/Retlang.dll.chm
41
40
  has_rdoc: true
42
41
  homepage: http://code.google.com/p/retlang/
43
42
  licenses: []
data/lib/Retlang.pdb DELETED
Binary file
data/lib/Retlang.xml DELETED
@@ -1,1361 +0,0 @@
1
- <?xml version="1.0"?>
2
- <doc>
3
- <assembly>
4
- <name>Retlang</name>
5
- </assembly>
6
- <members>
7
- <member name="T:Retlang.Core.IExecutionContext">
8
- <summary>
9
- Context of execution.
10
- </summary>
11
- </member>
12
- <member name="M:Retlang.Core.IExecutionContext.Enqueue(System.Action)">
13
- <summary>
14
- Enqueue a single action.
15
- </summary>
16
- <param name="action"></param>
17
- </member>
18
- <member name="T:Retlang.Channels.IQueueChannel`1">
19
- <summary>
20
- Creates a queue that will deliver a message to a single consumer. Load balancing can be achieved by creating
21
- multiple subscribers to the queue.
22
- </summary>
23
- <typeparam name="T"></typeparam>
24
- </member>
25
- <member name="M:Retlang.Channels.IQueueChannel`1.Subscribe(Retlang.Core.IExecutionContext,System.Action{`0})">
26
- <summary>
27
- Subscribe to the context.
28
- </summary>
29
- <param name="executionContext"></param>
30
- <param name="onMessage"></param>
31
- <returns></returns>
32
- </member>
33
- <member name="M:Retlang.Channels.IQueueChannel`1.Publish(`0)">
34
- <summary>
35
- Pushes a message into the queue. Message will be processed by first available consumer.
36
- </summary>
37
- <param name="message"></param>
38
- </member>
39
- <member name="T:Retlang.Fibers.StubScheduledAction">
40
- <summary>
41
- For use only in testing. Allows for controlled execution of scheduled actions on the StubFiber.
42
- </summary>
43
- </member>
44
- <member name="M:Retlang.Fibers.StubScheduledAction.#ctor(System.Action,System.Int64,System.Int64,System.Collections.Generic.List{Retlang.Fibers.StubScheduledAction})">
45
- <summary>
46
- Use for recurring scheduled actions.
47
- </summary>
48
- <param name="action"></param>
49
- <param name="firstIntervalInMs"></param>
50
- <param name="intervalInMs"></param>
51
- <param name="registry"></param>
52
- </member>
53
- <member name="M:Retlang.Fibers.StubScheduledAction.#ctor(System.Action,System.Int64,System.Collections.Generic.List{Retlang.Fibers.StubScheduledAction})">
54
- <summary>
55
- Use for scheduled actions that only occur once.
56
- </summary>
57
- <param name="action"></param>
58
- <param name="timeTilEnqueueInMs"></param>
59
- <param name="registry"></param>
60
- </member>
61
- <member name="M:Retlang.Fibers.StubScheduledAction.Execute">
62
- <summary>
63
- Executes the scheduled action. If the action is not recurring it will be removed from the registry.
64
- </summary>
65
- </member>
66
- <member name="M:Retlang.Fibers.StubScheduledAction.Dispose">
67
- <summary>
68
- Cancels scheduled action. Removes scheduled action from registry.
69
- </summary>
70
- </member>
71
- <member name="P:Retlang.Fibers.StubScheduledAction.FirstIntervalInMs">
72
- <summary>
73
- First interval in milliseconds.
74
- </summary>
75
- </member>
76
- <member name="P:Retlang.Fibers.StubScheduledAction.IntervalInMs">
77
- <summary>
78
- Recurring interval in milliseconds.
79
- </summary>
80
- </member>
81
- <member name="T:Retlang.Core.Subscriptions">
82
- <summary>
83
- Registry for subscriptions. Provides thread safe methods for list of subscriptions.
84
- </summary>
85
- </member>
86
- <member name="M:Retlang.Core.Subscriptions.Add(System.IDisposable)">
87
- <summary>
88
- Add Disposable
89
- </summary>
90
- <param name="toAdd"></param>
91
- </member>
92
- <member name="M:Retlang.Core.Subscriptions.Remove(System.IDisposable)">
93
- <summary>
94
- Remove Disposable.
95
- </summary>
96
- <param name="toRemove"></param>
97
- <returns></returns>
98
- </member>
99
- <member name="M:Retlang.Core.Subscriptions.Dispose">
100
- <summary>
101
- Disposes all disposables registered in list.
102
- </summary>
103
- </member>
104
- <member name="P:Retlang.Core.Subscriptions.Count">
105
- <summary>
106
- Number of registered disposables.
107
- </summary>
108
- </member>
109
- <member name="T:Retlang.Fibers.IFiber">
110
- <summary>
111
- Enqueues pending actions for the context of execution (thread, pool of threads, message pump, etc.)
112
- </summary>
113
- </member>
114
- <member name="T:Retlang.Core.ISubscriptionRegistry">
115
- <summary>
116
- Allows for the registration and deregistration of subscriptions
117
- </summary>
118
- </member>
119
- <member name="M:Retlang.Core.ISubscriptionRegistry.RegisterSubscription(System.IDisposable)">
120
- <summary>
121
- Register subscription to be unsubcribed from when the fiber is disposed.
122
- </summary>
123
- <param name="toAdd"></param>
124
- </member>
125
- <member name="M:Retlang.Core.ISubscriptionRegistry.DeregisterSubscription(System.IDisposable)">
126
- <summary>
127
- Deregister a subscription.
128
- </summary>
129
- <param name="toRemove"></param>
130
- <returns></returns>
131
- </member>
132
- <member name="T:Retlang.Core.IScheduler">
133
- <summary>
134
- Methods for scheduling actions that will be executed in the future.
135
- </summary>
136
- </member>
137
- <member name="M:Retlang.Core.IScheduler.Schedule(System.Action,System.Int64)">
138
- <summary>
139
- Schedules an action to be executed once.
140
- </summary>
141
- <param name="action"></param>
142
- <param name="firstInMs"></param>
143
- <returns>a handle to cancel the timer.</returns>
144
- </member>
145
- <member name="M:Retlang.Core.IScheduler.ScheduleOnInterval(System.Action,System.Int64,System.Int64)">
146
- <summary>
147
- Schedule an action to be executed on a recurring interval.
148
- </summary>
149
- <param name="action"></param>
150
- <param name="firstInMs"></param>
151
- <param name="regularInMs"></param>
152
- <returns>a handle to cancel the timer.</returns>
153
- </member>
154
- <member name="M:Retlang.Fibers.IFiber.Start">
155
- <summary>
156
- Start consuming actions.
157
- </summary>
158
- </member>
159
- <member name="T:Retlang.Channels.BatchSubscriber`1">
160
- <summary>
161
- Batches actions for the consuming thread.
162
- </summary>
163
- <typeparam name="T"></typeparam>
164
- </member>
165
- <member name="T:Retlang.Channels.BaseSubscription`1">
166
- <summary>
167
- Base implementation for subscription
168
- </summary>
169
- <typeparam name="T"></typeparam>
170
- </member>
171
- <member name="T:Retlang.Channels.ISubscribable`1">
172
- <summary>
173
- Callback method and parameters for a channel subscription
174
- </summary>
175
- <typeparam name="T"></typeparam>
176
- </member>
177
- <member name="T:Retlang.Channels.IProducerThreadSubscriber`1">
178
- <summary>
179
- Action subscriber that receives actions on producer thread.
180
- </summary>
181
- <typeparam name="T"></typeparam>
182
- </member>
183
- <member name="M:Retlang.Channels.IProducerThreadSubscriber`1.ReceiveOnProducerThread(`0)">
184
- <summary>
185
- Method called from producer threads
186
- </summary>
187
- <param name="msg"></param>
188
- </member>
189
- <member name="P:Retlang.Channels.IProducerThreadSubscriber`1.Subscriptions">
190
- <summary>
191
- Allows for the registration and deregistration of subscriptions
192
- </summary>
193
- </member>
194
- <member name="P:Retlang.Channels.ISubscribable`1.FilterOnProducerThread">
195
- <summary>
196
- Filter called from producer threads. Should be thread safe as it may be called from
197
- multiple threads.
198
- </summary>
199
- </member>
200
- <member name="M:Retlang.Channels.BaseSubscription`1.ReceiveOnProducerThread(`0)">
201
- <summary>
202
- <see cref="M:Retlang.Channels.IProducerThreadSubscriber`1.ReceiveOnProducerThread(`0)"/>
203
- </summary>
204
- <param name="msg"></param>
205
- </member>
206
- <member name="M:Retlang.Channels.BaseSubscription`1.OnMessageOnProducerThread(`0)">
207
- <summary>
208
- Called after message has been filtered.
209
- </summary>
210
- <param name="msg"></param>
211
- </member>
212
- <member name="P:Retlang.Channels.BaseSubscription`1.FilterOnProducerThread">
213
- <summary>
214
- <see cref="P:Retlang.Channels.ISubscribable`1.FilterOnProducerThread"/>
215
- </summary>
216
- </member>
217
- <member name="P:Retlang.Channels.BaseSubscription`1.Subscriptions">
218
- <summary>
219
- Allows for the registration and deregistration of subscriptions
220
- </summary>
221
- </member>
222
- <member name="M:Retlang.Channels.BatchSubscriber`1.#ctor(Retlang.Fibers.IFiber,System.Action{System.Collections.Generic.IList{`0}},System.Int32)">
223
- <summary>
224
- Construct new instance.
225
- </summary>
226
- <param name="fiber"></param>
227
- <param name="receive"></param>
228
- <param name="interval"></param>
229
- </member>
230
- <member name="M:Retlang.Channels.BatchSubscriber`1.OnMessageOnProducerThread(`0)">
231
- <summary>
232
- Receives message and batches as needed.
233
- </summary>
234
- <param name="msg"></param>
235
- </member>
236
- <member name="P:Retlang.Channels.BatchSubscriber`1.Subscriptions">
237
- <summary>
238
- Allows for the registration and deregistration of subscriptions
239
- </summary>
240
- </member>
241
- <member name="T:Retlang.Fibers.FormFiber">
242
- <summary>
243
- Allows interaction with Windows Forms. Transparently moves actions onto the Form's thread.
244
- </summary>
245
- </member>
246
- <member name="T:Retlang.Fibers.GuiFiber">
247
- <summary>
248
- Allows interaction with Windows Forms. Transparently moves actions onto the Form's thread.
249
- </summary>
250
- </member>
251
- <member name="M:Retlang.Fibers.GuiFiber.#ctor(Retlang.Core.IExecutionContext,Retlang.Core.IExecutor)">
252
- <summary>
253
- Creates an instance.
254
- </summary>
255
- </member>
256
- <member name="M:Retlang.Fibers.GuiFiber.Enqueue(System.Action)">
257
- <summary>
258
- Enqueue a single action.
259
- </summary>
260
- <param name="action"></param>
261
- </member>
262
- <member name="M:Retlang.Fibers.GuiFiber.RegisterSubscription(System.IDisposable)">
263
- <summary>
264
- Register subscription to be unsubcribed from when the fiber is disposed.
265
- </summary>
266
- <param name="toAdd"></param>
267
- </member>
268
- <member name="M:Retlang.Fibers.GuiFiber.DeregisterSubscription(System.IDisposable)">
269
- <summary>
270
- Deregister a subscription.
271
- </summary>
272
- <param name="toRemove"></param>
273
- <returns></returns>
274
- </member>
275
- <member name="M:Retlang.Fibers.GuiFiber.Schedule(System.Action,System.Int64)">
276
- <summary>
277
- <see cref="M:Retlang.Core.IScheduler.Schedule(System.Action,System.Int64)"/>
278
- </summary>
279
- </member>
280
- <member name="M:Retlang.Fibers.GuiFiber.ScheduleOnInterval(System.Action,System.Int64,System.Int64)">
281
- <summary>
282
- <see cref="M:Retlang.Core.IScheduler.ScheduleOnInterval(System.Action,System.Int64,System.Int64)"/>
283
- </summary>
284
- </member>
285
- <member name="M:Retlang.Fibers.GuiFiber.Start">
286
- <summary>
287
- <see cref="M:Retlang.Fibers.IFiber.Start"/>
288
- </summary>
289
- </member>
290
- <member name="M:Retlang.Fibers.GuiFiber.Dispose">
291
- <summary>
292
- <see cref="M:System.IDisposable.Dispose"/>
293
- </summary>
294
- </member>
295
- <member name="M:Retlang.Fibers.GuiFiber.Stop">
296
- <summary>
297
- Stops the fiber.
298
- </summary>
299
- </member>
300
- <member name="P:Retlang.Fibers.GuiFiber.NumSubscriptions">
301
- <summary>
302
- Number of subscriptions.
303
- </summary>
304
- </member>
305
- <member name="M:Retlang.Fibers.FormFiber.#ctor(System.ComponentModel.ISynchronizeInvoke,Retlang.Core.IExecutor)">
306
- <summary>
307
- Creates an instance.
308
- </summary>
309
- </member>
310
- <member name="T:Retlang.Core.QueueFullException">
311
- <summary>
312
- Thrown when a queue is full.
313
- </summary>
314
- </member>
315
- <member name="M:Retlang.Core.QueueFullException.#ctor(System.Int32)">
316
- <summary>
317
- Construct the execution with the depth of the queue.
318
- </summary>
319
- <param name="depth"></param>
320
- </member>
321
- <member name="M:Retlang.Core.QueueFullException.#ctor(System.String)">
322
- <summary>
323
- Construct with a custom message.
324
- </summary>
325
- <param name="msg"></param>
326
- </member>
327
- <member name="P:Retlang.Core.QueueFullException.Depth">
328
- <summary>
329
- Depth of queue.
330
- </summary>
331
- </member>
332
- <member name="T:Retlang.Channels.SnapshotChannel`1">
333
- <summary>
334
- A SnapshotChannel is a channel that allows for the transmission of an initial snapshot followed by incremental updates.
335
- The class is thread safe.
336
- </summary>
337
- <typeparam name="T"></typeparam>
338
- </member>
339
- <member name="T:Retlang.Channels.ISnapshotChannel`1">
340
- <summary>
341
- An ISnapshotChannel is a channel that allows for the transmission of an initial snapshot followed by incremental updates.
342
- The class is thread safe.
343
- </summary>
344
- <typeparam name="T"></typeparam>
345
- </member>
346
- <member name="M:Retlang.Channels.ISnapshotChannel`1.PrimedSubscribe(Retlang.Fibers.IFiber,System.Action{`0})">
347
- <summary>
348
- Subscribes for an initial snapshot and then incremental update.
349
- </summary>
350
- <param name="fiber">the target executor to receive the message</param>
351
- <param name="receive"></param>
352
- </member>
353
- <member name="M:Retlang.Channels.ISnapshotChannel`1.Publish(`0)">
354
- <summary>
355
- Publishes the incremental update.
356
- </summary>
357
- <param name="update"></param>
358
- </member>
359
- <member name="M:Retlang.Channels.ISnapshotChannel`1.ReplyToPrimingRequest(Retlang.Fibers.IFiber,System.Func{`0})">
360
- <summary>
361
- Ressponds to the request for an initial snapshot.
362
- </summary>
363
- <param name="fiber">the target executor to receive the message</param>
364
- <param name="reply">returns the snapshot update</param>
365
- </member>
366
- <member name="M:Retlang.Channels.SnapshotChannel`1.#ctor(System.Int32)">
367
- <summary>
368
- </summary>
369
- <param name="timeoutInMs">For initial snapshot</param>
370
- </member>
371
- <member name="M:Retlang.Channels.SnapshotChannel`1.PrimedSubscribe(Retlang.Fibers.IFiber,System.Action{`0})">
372
- <summary>
373
- Subscribes for an initial snapshot and then incremental update.
374
- </summary>
375
- <param name="fiber">the target executor to receive the message</param>
376
- <param name="receive"></param>
377
- </member>
378
- <member name="M:Retlang.Channels.SnapshotChannel`1.Publish(`0)">
379
- <summary>
380
- Publishes the incremental update.
381
- </summary>
382
- <param name="update"></param>
383
- </member>
384
- <member name="M:Retlang.Channels.SnapshotChannel`1.ReplyToPrimingRequest(Retlang.Fibers.IFiber,System.Func{`0})">
385
- <summary>
386
- Ressponds to the request for an initial snapshot.
387
- </summary>
388
- <param name="fiber">the target executor to receive the message</param>
389
- <param name="reply">returns the snapshot update</param>
390
- </member>
391
- <member name="T:Retlang.Fibers.StubFiber">
392
- <summary>
393
- StubFiber does not use a backing thread or a thread pool for execution. Actions are added to pending
394
- lists for execution. These actions can be executed synchronously by the calling thread. This class
395
- is not thread safe and should not be used in production code.
396
-
397
- The class is typically used for testing asynchronous code to make it completely synchronous and
398
- deterministic.
399
- </summary>
400
- </member>
401
- <member name="M:Retlang.Fibers.StubFiber.Start">
402
- <summary>
403
- No Op
404
- </summary>
405
- </member>
406
- <member name="M:Retlang.Fibers.StubFiber.Dispose">
407
- <summary>
408
- Clears all subscriptions, scheduled, and pending actions.
409
- </summary>
410
- </member>
411
- <member name="M:Retlang.Fibers.StubFiber.Enqueue(System.Action)">
412
- <summary>
413
- Enqueue a single action.
414
- </summary>
415
- <param name="action"></param>
416
- </member>
417
- <member name="M:Retlang.Fibers.StubFiber.RegisterSubscription(System.IDisposable)">
418
- <summary>
419
- Register subscription to be unsubcribed from when the fiber is disposed.
420
- </summary>
421
- <param name="toAdd"></param>
422
- </member>
423
- <member name="M:Retlang.Fibers.StubFiber.DeregisterSubscription(System.IDisposable)">
424
- <summary>
425
- Deregister a subscription.
426
- </summary>
427
- <param name="toRemove"></param>
428
- <returns></returns>
429
- </member>
430
- <member name="M:Retlang.Fibers.StubFiber.Schedule(System.Action,System.Int64)">
431
- <summary>
432
- Adds a scheduled action to the list.
433
- </summary>
434
- <param name="action"></param>
435
- <param name="firstInMs"></param>
436
- <returns></returns>
437
- </member>
438
- <member name="M:Retlang.Fibers.StubFiber.ScheduleOnInterval(System.Action,System.Int64,System.Int64)">
439
- <summary>
440
- Adds scheduled action to list.
441
- </summary>
442
- <param name="action"></param>
443
- <param name="firstInMs"></param>
444
- <param name="regularInMs"></param>
445
- <returns></returns>
446
- </member>
447
- <member name="M:Retlang.Fibers.StubFiber.ExecuteAllPendingUntilEmpty">
448
- <summary>
449
- Execute all actions in the pending list. If any of the executed actions enqueue more actions, execute those as well.
450
- </summary>
451
- </member>
452
- <member name="M:Retlang.Fibers.StubFiber.ExecuteAllPending">
453
- <summary>
454
- Execute all actions in the pending list.
455
- </summary>
456
- </member>
457
- <member name="M:Retlang.Fibers.StubFiber.ExecuteAllScheduled">
458
- <summary>
459
- Execute all actions in the scheduled list.
460
- </summary>
461
- </member>
462
- <member name="P:Retlang.Fibers.StubFiber.NumSubscriptions">
463
- <summary>
464
- Number of subscriptions.
465
- </summary>
466
- </member>
467
- <member name="P:Retlang.Fibers.StubFiber.Subscriptions">
468
- <summary>
469
- All subscriptions.
470
- </summary>
471
- </member>
472
- <member name="P:Retlang.Fibers.StubFiber.Pending">
473
- <summary>
474
- All pending actions.
475
- </summary>
476
- </member>
477
- <member name="P:Retlang.Fibers.StubFiber.Scheduled">
478
- <summary>
479
- All scheduled actions.
480
- </summary>
481
- </member>
482
- <member name="P:Retlang.Fibers.StubFiber.ExecutePendingImmediately">
483
- <summary>
484
- If true events will be executed immediately rather than added to the pending list.
485
- </summary>
486
- </member>
487
- <member name="T:Retlang.Fibers.PoolFiber">
488
- <summary>
489
- Fiber that uses a thread pool for execution.
490
- </summary>
491
- </member>
492
- <member name="M:Retlang.Fibers.PoolFiber.#ctor(Retlang.Core.IThreadPool,Retlang.Core.IExecutor)">
493
- <summary>
494
- Construct new instance.
495
- </summary>
496
- <param name="pool"></param>
497
- <param name="executor"></param>
498
- </member>
499
- <member name="M:Retlang.Fibers.PoolFiber.#ctor(Retlang.Core.IExecutor)">
500
- <summary>
501
- Create a pool fiber with the default thread pool.
502
- </summary>
503
- </member>
504
- <member name="M:Retlang.Fibers.PoolFiber.#ctor">
505
- <summary>
506
- Create a pool fiber with the default thread pool and default executor.
507
- </summary>
508
- </member>
509
- <member name="M:Retlang.Fibers.PoolFiber.Enqueue(System.Action)">
510
- <summary>
511
- Enqueue a single action.
512
- </summary>
513
- <param name="action"></param>
514
- </member>
515
- <member name="M:Retlang.Fibers.PoolFiber.RegisterSubscription(System.IDisposable)">
516
- <summary>
517
- Register subscription to be unsubcribed from when the fiber is disposed.
518
- </summary>
519
- <param name="toAdd"></param>
520
- </member>
521
- <member name="M:Retlang.Fibers.PoolFiber.DeregisterSubscription(System.IDisposable)">
522
- <summary>
523
- Deregister a subscription.
524
- </summary>
525
- <param name="toRemove"></param>
526
- <returns></returns>
527
- </member>
528
- <member name="M:Retlang.Fibers.PoolFiber.Schedule(System.Action,System.Int64)">
529
- <summary>
530
- <see cref="M:Retlang.Core.IScheduler.Schedule(System.Action,System.Int64)"/>
531
- </summary>
532
- <param name="action"></param>
533
- <param name="firstInMs"></param>
534
- <returns></returns>
535
- </member>
536
- <member name="M:Retlang.Fibers.PoolFiber.ScheduleOnInterval(System.Action,System.Int64,System.Int64)">
537
- <summary>
538
- <see cref="M:Retlang.Core.IScheduler.ScheduleOnInterval(System.Action,System.Int64,System.Int64)"/>
539
- </summary>
540
- <param name="action"></param>
541
- <param name="firstInMs"></param>
542
- <param name="regularInMs"></param>
543
- <returns></returns>
544
- </member>
545
- <member name="M:Retlang.Fibers.PoolFiber.Start">
546
- <summary>
547
- Start consuming actions.
548
- </summary>
549
- </member>
550
- <member name="M:Retlang.Fibers.PoolFiber.Stop">
551
- <summary>
552
- Stop consuming actions.
553
- </summary>
554
- </member>
555
- <member name="M:Retlang.Fibers.PoolFiber.Dispose">
556
- <summary>
557
- Stops the fiber.
558
- </summary>
559
- </member>
560
- <member name="P:Retlang.Fibers.PoolFiber.NumSubscriptions">
561
- <summary>
562
- Number of subscriptions.
563
- </summary>
564
- </member>
565
- <member name="T:Retlang.Core.IExecutor">
566
- <summary>
567
- Executes pending action(s).
568
- </summary>
569
- </member>
570
- <member name="M:Retlang.Core.IExecutor.Execute(System.Collections.Generic.List{System.Action})">
571
- <summary>
572
- Executes all actions.
573
- </summary>
574
- <param name="toExecute"></param>
575
- </member>
576
- <member name="M:Retlang.Core.IExecutor.Execute(System.Action)">
577
- <summary>
578
- Executes a single action.
579
- </summary>
580
- <param name="toExecute"></param>
581
- </member>
582
- <member name="T:Retlang.Core.Scheduler">
583
- <summary>
584
- Enqueues actions on to context after schedule elapses.
585
- </summary>
586
- </member>
587
- <member name="T:Retlang.Core.ISchedulerRegistry">
588
- <summary>
589
- Enqueues actions and
590
- </summary>
591
- </member>
592
- <member name="M:Retlang.Core.ISchedulerRegistry.Enqueue(System.Action)">
593
- <summary>
594
- Enqueue action to target fiber.
595
- </summary>
596
- <param name="action"></param>
597
- </member>
598
- <member name="M:Retlang.Core.ISchedulerRegistry.Remove(System.IDisposable)">
599
- <summary>
600
- Remove timer
601
- </summary>
602
- <param name="timer"></param>
603
- </member>
604
- <member name="M:Retlang.Core.Scheduler.#ctor(Retlang.Core.IExecutionContext)">
605
- <summary>
606
- Constructs new instance.
607
- </summary>
608
- </member>
609
- <member name="M:Retlang.Core.Scheduler.Schedule(System.Action,System.Int64)">
610
- <summary>
611
- Enqueues action on to context after timer elapses.
612
- </summary>
613
- </member>
614
- <member name="M:Retlang.Core.Scheduler.ScheduleOnInterval(System.Action,System.Int64,System.Int64)">
615
- <summary>
616
- Enqueues actions on to context after schedule elapses.
617
- </summary>
618
- </member>
619
- <member name="M:Retlang.Core.Scheduler.Remove(System.IDisposable)">
620
- <summary>
621
- Removes a pending scheduled action.
622
- </summary>
623
- <param name="toRemove"></param>
624
- </member>
625
- <member name="M:Retlang.Core.Scheduler.Enqueue(System.Action)">
626
- <summary>
627
- Enqueues actions on to context immediately.
628
- </summary>
629
- <param name="action"></param>
630
- </member>
631
- <member name="M:Retlang.Core.Scheduler.Dispose">
632
- <summary>
633
- Cancels all pending actions
634
- </summary>
635
- </member>
636
- <member name="T:Retlang.Core.BoundedQueue">
637
- <summary>
638
- Queue with bounded capacity. Will throw exception if capacity does not recede prior to wait time.
639
- </summary>
640
- </member>
641
- <member name="T:Retlang.Core.IQueue">
642
- <summary>
643
- Holds on to actions until the execution context can process them.
644
- </summary>
645
- </member>
646
- <member name="M:Retlang.Core.IQueue.Enqueue(System.Action)">
647
- <summary>
648
- Enqueues action for execution context to process.
649
- </summary>
650
- <param name="action"></param>
651
- </member>
652
- <member name="M:Retlang.Core.IQueue.Run">
653
- <summary>
654
- Start consuming actions.
655
- </summary>
656
- </member>
657
- <member name="M:Retlang.Core.IQueue.Stop">
658
- <summary>
659
- Stop consuming actions.
660
- </summary>
661
- </member>
662
- <member name="M:Retlang.Core.BoundedQueue.#ctor(Retlang.Core.IExecutor)">
663
- <summary>
664
- Creates a bounded queue with a custom executor.
665
- </summary>
666
- <param name="executor"></param>
667
- </member>
668
- <member name="M:Retlang.Core.BoundedQueue.#ctor">
669
- <summary>
670
- Creates a bounded queue with the default executor.
671
- </summary>
672
- </member>
673
- <member name="M:Retlang.Core.BoundedQueue.Enqueue(System.Action)">
674
- <summary>
675
- Enqueue action.
676
- </summary>
677
- <param name="action"></param>
678
- </member>
679
- <member name="M:Retlang.Core.BoundedQueue.Run">
680
- <summary>
681
- Execute actions until stopped.
682
- </summary>
683
- </member>
684
- <member name="M:Retlang.Core.BoundedQueue.Stop">
685
- <summary>
686
- Stop consuming actions.
687
- </summary>
688
- </member>
689
- <member name="M:Retlang.Core.BoundedQueue.ExecuteNextBatch">
690
- <summary>
691
- Remove all actions and execute.
692
- </summary>
693
- <returns></returns>
694
- </member>
695
- <member name="P:Retlang.Core.BoundedQueue.MaxDepth">
696
- <summary>
697
- Max number of actions to be queued.
698
- </summary>
699
- </member>
700
- <member name="P:Retlang.Core.BoundedQueue.MaxEnqueueWaitTime">
701
- <summary>
702
- Max time to wait for space in the queue.
703
- </summary>
704
- </member>
705
- <member name="T:Retlang.Channels.KeyedBatchSubscriber`2">
706
- <summary>
707
- Channel subscription that drops duplicates based upon a key.
708
- </summary>
709
- <typeparam name="K"></typeparam>
710
- <typeparam name="T"></typeparam>
711
- </member>
712
- <member name="M:Retlang.Channels.KeyedBatchSubscriber`2.#ctor(System.Converter{`1,`0},System.Action{System.Collections.Generic.IDictionary{`0,`1}},Retlang.Fibers.IFiber,System.Int32)">
713
- <summary>
714
- Construct new instance.
715
- </summary>
716
- <param name="keyResolver"></param>
717
- <param name="target"></param>
718
- <param name="fiber"></param>
719
- <param name="flushIntervalInMs"></param>
720
- </member>
721
- <member name="M:Retlang.Channels.KeyedBatchSubscriber`2.OnMessageOnProducerThread(`1)">
722
- <summary>
723
- received on delivery thread
724
- </summary>
725
- <param name="msg"></param>
726
- </member>
727
- <member name="M:Retlang.Channels.KeyedBatchSubscriber`2.Flush">
728
- <summary>
729
- Flushed from fiber
730
- </summary>
731
- </member>
732
- <member name="P:Retlang.Channels.KeyedBatchSubscriber`2.Subscriptions">
733
- <summary>
734
- Allows for the registration and deregistration of subscriptions
735
- </summary>
736
- </member>
737
- <member name="T:Retlang.Channels.IRequest`2">
738
- <summary>
739
- A request object that can be used to send 1 or many responses to the initial request.
740
- </summary>
741
- <typeparam name="R"></typeparam>
742
- <typeparam name="M"></typeparam>
743
- </member>
744
- <member name="M:Retlang.Channels.IRequest`2.SendReply(`1)">
745
- <summary>
746
- Send one or more responses.
747
- </summary>
748
- <param name="replyMsg"></param>
749
- <returns></returns>
750
- </member>
751
- <member name="P:Retlang.Channels.IRequest`2.Request">
752
- <summary>
753
- Request Message
754
- </summary>
755
- </member>
756
- <member name="T:Retlang.Fibers.DispatcherFiber">
757
- <summary>
758
- Adapts Dispatcher to a Fiber. Transparently moves actions onto the Dispatcher thread.
759
- </summary>
760
- </member>
761
- <member name="M:Retlang.Fibers.DispatcherFiber.#ctor(System.Windows.Threading.Dispatcher,System.Windows.Threading.DispatcherPriority,Retlang.Core.IExecutor)">
762
- <summary>
763
- Constructs a Fiber that executes on dispatcher thread.
764
- </summary>
765
- <param name="dispatcher">The dispatcher.</param>
766
- <param name="priority">The priority.</param>
767
- <param name="executor">The executor.</param>
768
- </member>
769
- <member name="M:Retlang.Fibers.DispatcherFiber.#ctor(System.Windows.Threading.Dispatcher,Retlang.Core.IExecutor)">
770
- <summary>
771
- Constructs a Fiber that executes on dispatcher thread.
772
- </summary>
773
- <param name="dispatcher">The dispatcher.</param>
774
- <param name="executor">The priority.</param>
775
- </member>
776
- <member name="M:Retlang.Fibers.DispatcherFiber.#ctor(System.Windows.Threading.Dispatcher,System.Windows.Threading.DispatcherPriority)">
777
- <summary>
778
- Constructs a Fiber that executes on dispatcher thread.
779
- </summary>
780
- <param name="dispatcher">The dispatcher.</param>
781
- <param name="priority">The priority.</param>
782
- </member>
783
- <member name="M:Retlang.Fibers.DispatcherFiber.#ctor(System.Windows.Threading.Dispatcher)">
784
- <summary>
785
- Constructs a Fiber that executes on dispatcher thread.
786
- </summary>
787
- <param name="dispatcher">The dispatcher.</param>
788
- </member>
789
- <member name="M:Retlang.Fibers.DispatcherFiber.#ctor(System.Windows.Threading.DispatcherPriority)">
790
- <summary>
791
- Constructs a Fiber that executes on dispatcher thread of the
792
- current dispatcher.
793
- </summary>
794
- <param name="priority">The priority.</param>
795
- </member>
796
- <member name="M:Retlang.Fibers.DispatcherFiber.#ctor">
797
- <summary>
798
- Constructs a Fiber that executes on dispatcher thread of the
799
- current dispatcher.
800
- </summary>
801
- </member>
802
- <member name="T:Retlang.Channels.LastSubscriber`1">
803
- <summary>
804
- Subscribes to last action received on the channel.
805
- </summary>
806
- <typeparam name="T"></typeparam>
807
- </member>
808
- <member name="M:Retlang.Channels.LastSubscriber`1.#ctor(System.Action{`0},Retlang.Fibers.IFiber,System.Int32)">
809
- <summary>
810
- New instance.
811
- </summary>
812
- <param name="target"></param>
813
- <param name="fiber"></param>
814
- <param name="flushIntervalInMs"></param>
815
- </member>
816
- <member name="M:Retlang.Channels.LastSubscriber`1.OnMessageOnProducerThread(`0)">
817
- <summary>
818
- Receives message from producer thread.
819
- </summary>
820
- <param name="msg"></param>
821
- </member>
822
- <member name="M:Retlang.Channels.LastSubscriber`1.Flush">
823
- <summary>
824
- Flushes on IFiber thread.
825
- </summary>
826
- </member>
827
- <member name="P:Retlang.Channels.LastSubscriber`1.Subscriptions">
828
- <summary>
829
- Allows for the registration and deregistration of subscriptions
830
- </summary>
831
- </member>
832
- <member name="T:Retlang.Channels.IPublisher`1">
833
- <summary>
834
- Channel publishing interface.
835
- </summary>
836
- <typeparam name="T"></typeparam>
837
- </member>
838
- <member name="M:Retlang.Channels.IPublisher`1.Publish(`0)">
839
- <summary>
840
- Publish a message to all subscribers. Returns true if any subscribers are registered.
841
- </summary>
842
- <param name="msg"></param>
843
- <returns></returns>
844
- </member>
845
- <member name="T:Retlang.Channels.IChannel`1">
846
- <summary>
847
- A channel provides a conduit for messages. It provides methods for publishing and subscribing to messages.
848
- The class is thread safe.
849
- </summary>
850
- <typeparam name="T"></typeparam>
851
- </member>
852
- <member name="T:Retlang.Channels.ISubscriber`1">
853
- <summary>
854
- Channel subscription methods.
855
- </summary>
856
- <typeparam name="T"></typeparam>
857
- </member>
858
- <member name="M:Retlang.Channels.ISubscriber`1.Subscribe(Retlang.Fibers.IFiber,System.Action{`0})">
859
- <summary>
860
- Subscribe to messages on this channel. The provided action will be invoked via a Action on the provided executor.
861
- </summary>
862
- <param name="fiber">the target executor to receive the message</param>
863
- <param name="receive"></param>
864
- <returns>Unsubscriber object</returns>
865
- </member>
866
- <member name="M:Retlang.Channels.ISubscriber`1.SubscribeToBatch(Retlang.Fibers.IFiber,System.Action{System.Collections.Generic.IList{`0}},System.Int32)">
867
- <summary>
868
- Subscribes to actions on the channel in batch form. The events will be batched if the consumer is unable to process the events
869
- faster than the arrival rate.
870
- </summary>
871
- <param name="fiber">The target context to execute the action</param>
872
- <param name="receive"></param>
873
- <param name="intervalInMs">Time in Ms to batch actions. If 0 events will be delivered as fast as consumer can process</param>
874
- <returns></returns>
875
- </member>
876
- <member name="M:Retlang.Channels.ISubscriber`1.SubscribeToKeyedBatch``1(Retlang.Fibers.IFiber,System.Converter{`0,``0},System.Action{System.Collections.Generic.IDictionary{``0,`0}},System.Int32)">
877
- <summary>
878
- Batches actions based upon keyed values allowing for duplicates to be dropped.
879
- </summary>
880
- <param name="fiber"></param>
881
- <param name="keyResolver"></param>
882
- <param name="receive"></param>
883
- <param name="intervalInMs"></param>
884
- <typeparam name="K"></typeparam>
885
- <returns></returns>
886
- </member>
887
- <member name="M:Retlang.Channels.ISubscriber`1.SubscribeToLast(Retlang.Fibers.IFiber,System.Action{`0},System.Int32)">
888
- <summary>
889
- Subscription that delivers the latest message to the consuming thread. If a newer message arrives before the consuming thread
890
- has a chance to process the message, the pending message is replaced by the newer message. The old message is discarded.
891
- </summary>
892
- <param name="fiber"></param>
893
- <param name="receive"></param>
894
- <param name="intervalInMs"></param>
895
- <returns></returns>
896
- </member>
897
- <member name="M:Retlang.Channels.ISubscriber`1.ClearSubscribers">
898
- <summary>
899
- Removes all subscribers.
900
- </summary>
901
- </member>
902
- <member name="M:Retlang.Channels.IChannel`1.SubscribeOnProducerThreads(Retlang.Channels.IProducerThreadSubscriber{`0})">
903
- <summary>
904
- Subscribes to actions on producer threads. Subscriber could be called from multiple threads.
905
- </summary>
906
- <param name="subscriber"></param>
907
- <returns></returns>
908
- </member>
909
- <member name="T:Retlang.Channels.IReply`1">
910
- <summary>
911
- Used to receive one or more replies.
912
- </summary>
913
- <typeparam name="M"></typeparam>
914
- </member>
915
- <member name="M:Retlang.Channels.IReply`1.Receive(System.Int32,`0@)">
916
- <summary>
917
- Receive a single response. Can be called repeatedly for multiple replies.
918
- </summary>
919
- <param name="timeout"></param>
920
- <param name="result"></param>
921
- <returns></returns>
922
- </member>
923
- <member name="M:Retlang.Channels.ChannelRequest`2.Dispose">
924
- <summary>
925
- Stop receiving replies.
926
- </summary>
927
- </member>
928
- <member name="T:Retlang.Fibers.ThreadFiber">
929
- <summary>
930
- Fiber implementation backed by a dedicated thread.
931
- <see cref="T:Retlang.Fibers.IFiber"/>
932
- </summary>
933
- </member>
934
- <member name="M:Retlang.Fibers.ThreadFiber.#ctor">
935
- <summary>
936
- Create a thread fiber with the default executor.
937
- </summary>
938
- </member>
939
- <member name="M:Retlang.Fibers.ThreadFiber.#ctor(Retlang.Core.IQueue)">
940
- <summary>
941
- Creates a thread fiber with a specified executor.
942
- </summary>
943
- <param name="executor"></param>
944
- </member>
945
- <member name="M:Retlang.Fibers.ThreadFiber.#ctor(System.String)">
946
- <summary>
947
- Creates a thread fiber with a specified name.
948
- </summary>
949
- /// <param name="threadName"></param>
950
- </member>
951
- <member name="M:Retlang.Fibers.ThreadFiber.#ctor(Retlang.Core.IQueue,System.String,System.Boolean,System.Threading.ThreadPriority)">
952
- <summary>
953
- Creates a thread fiber.
954
- </summary>
955
- <param name="executor"></param>
956
- <param name="threadName"></param>
957
- <param name="isBackground"></param>
958
- <param name="priority"></param>
959
- </member>
960
- <member name="M:Retlang.Fibers.ThreadFiber.Enqueue(System.Action)">
961
- <summary>
962
- Enqueue a single action.
963
- </summary>
964
- <param name="action"></param>
965
- </member>
966
- <member name="M:Retlang.Fibers.ThreadFiber.RegisterSubscription(System.IDisposable)">
967
- <summary>
968
- Register subscription to be unsubcribed from when the fiber is disposed.
969
- </summary>
970
- <param name="toAdd"></param>
971
- </member>
972
- <member name="M:Retlang.Fibers.ThreadFiber.DeregisterSubscription(System.IDisposable)">
973
- <summary>
974
- Deregister a subscription.
975
- </summary>
976
- <param name="toRemove"></param>
977
- <returns></returns>
978
- </member>
979
- <member name="M:Retlang.Fibers.ThreadFiber.Schedule(System.Action,System.Int64)">
980
- <summary>
981
- <see cref="M:Retlang.Core.IScheduler.Schedule(System.Action,System.Int64)"/>
982
- </summary>
983
- <param name="action"></param>
984
- <param name="firstInMs"></param>
985
- <returns></returns>
986
- </member>
987
- <member name="M:Retlang.Fibers.ThreadFiber.ScheduleOnInterval(System.Action,System.Int64,System.Int64)">
988
- <summary>
989
- <see cref="M:Retlang.Core.IScheduler.ScheduleOnInterval(System.Action,System.Int64,System.Int64)"/>
990
- </summary>
991
- <param name="action"></param>
992
- <param name="firstInMs"></param>
993
- <param name="regularInMs"></param>
994
- </member>
995
- <member name="M:Retlang.Fibers.ThreadFiber.Start">
996
- <summary>
997
- <see cref="M:Retlang.Fibers.IFiber.Start"/>
998
- </summary>
999
- </member>
1000
- <member name="M:Retlang.Fibers.ThreadFiber.Join">
1001
- <summary>
1002
- Calls join on the thread.
1003
- </summary>
1004
- </member>
1005
- <member name="M:Retlang.Fibers.ThreadFiber.Dispose">
1006
- <summary>
1007
- Stops the thread.
1008
- </summary>
1009
- </member>
1010
- <member name="P:Retlang.Fibers.ThreadFiber.Thread">
1011
- <summary>
1012
- <see cref="T:Retlang.Fibers.IFiber"/>
1013
- </summary>
1014
- </member>
1015
- <member name="P:Retlang.Fibers.ThreadFiber.NumSubscriptions">
1016
- <summary>
1017
- Number of subscriptions.
1018
- </summary>
1019
- </member>
1020
- <member name="T:Retlang.Fibers.ExecutionState">
1021
- <summary>
1022
- Fiber execution state management
1023
- </summary>
1024
- </member>
1025
- <member name="F:Retlang.Fibers.ExecutionState.Created">
1026
- <summary>
1027
- Created but not running
1028
- </summary>
1029
- </member>
1030
- <member name="F:Retlang.Fibers.ExecutionState.Running">
1031
- <summary>
1032
- After start
1033
- </summary>
1034
- </member>
1035
- <member name="F:Retlang.Fibers.ExecutionState.Stopped">
1036
- <summary>
1037
- After stopped
1038
- </summary>
1039
- </member>
1040
- <member name="T:Retlang.Core.BusyWaitQueue">
1041
- <summary>
1042
- Busy waits on lock to execute. Can improve performance in certain situations.
1043
- </summary>
1044
- </member>
1045
- <member name="M:Retlang.Core.BusyWaitQueue.#ctor(Retlang.Core.IExecutor,System.Int32,System.Int32)">
1046
- <summary>
1047
- BusyWaitQueue with custom executor.
1048
- </summary>
1049
- <param name="executor"></param>
1050
- <param name="spinsBeforeTimeCheck"></param>
1051
- <param name="msBeforeBlockingWait"></param>
1052
- </member>
1053
- <member name="M:Retlang.Core.BusyWaitQueue.#ctor(System.Int32,System.Int32)">
1054
- <summary>
1055
- BusyWaitQueue with default executor.
1056
- </summary>
1057
- </member>
1058
- <member name="M:Retlang.Core.BusyWaitQueue.Enqueue(System.Action)">
1059
- <summary>
1060
- Enqueue action.
1061
- </summary>
1062
- <param name="action"></param>
1063
- </member>
1064
- <member name="M:Retlang.Core.BusyWaitQueue.Run">
1065
- <summary>
1066
- Execute actions until stopped.
1067
- </summary>
1068
- </member>
1069
- <member name="M:Retlang.Core.BusyWaitQueue.Stop">
1070
- <summary>
1071
- Stop consuming actions.
1072
- </summary>
1073
- </member>
1074
- <member name="T:Retlang.Core.DefaultQueue">
1075
- <summary>
1076
- Default implementation.
1077
- </summary>
1078
- </member>
1079
- <member name="M:Retlang.Core.DefaultQueue.#ctor(Retlang.Core.IExecutor)">
1080
- <summary>
1081
- Default queue with custom executor
1082
- </summary>
1083
- <param name="executor"></param>
1084
- </member>
1085
- <member name="M:Retlang.Core.DefaultQueue.#ctor">
1086
- <summary>
1087
- Default queue with default executor
1088
- </summary>
1089
- </member>
1090
- <member name="M:Retlang.Core.DefaultQueue.Enqueue(System.Action)">
1091
- <summary>
1092
- Enqueue action.
1093
- </summary>
1094
- <param name="action"></param>
1095
- </member>
1096
- <member name="M:Retlang.Core.DefaultQueue.Run">
1097
- <summary>
1098
- Execute actions until stopped.
1099
- </summary>
1100
- </member>
1101
- <member name="M:Retlang.Core.DefaultQueue.Stop">
1102
- <summary>
1103
- Stop consuming actions.
1104
- </summary>
1105
- </member>
1106
- <member name="M:Retlang.Core.DefaultQueue.ExecuteNextBatch">
1107
- <summary>
1108
- Remove all actions and execute.
1109
- </summary>
1110
- <returns></returns>
1111
- </member>
1112
- <member name="T:Retlang.Channels.RequestReplyChannel`2">
1113
- <summary>
1114
- Channel for synchronous and asynchronous requests.
1115
- </summary>
1116
- <typeparam name="R"></typeparam>
1117
- <typeparam name="M"></typeparam>
1118
- </member>
1119
- <member name="T:Retlang.Channels.IRequestReplyChannel`2">
1120
- <summary>
1121
- Typed channel for request/reply
1122
- </summary>
1123
- <typeparam name="R"></typeparam>
1124
- <typeparam name="M"></typeparam>
1125
- </member>
1126
- <member name="T:Retlang.Channels.IRequestPublisher`2">
1127
- <summary>
1128
-
1129
- </summary>
1130
- <typeparam name="R"></typeparam>
1131
- <typeparam name="M"></typeparam>
1132
- </member>
1133
- <member name="M:Retlang.Channels.IRequestPublisher`2.SendRequest(`0)">
1134
- <summary>
1135
- Send request on the channel.
1136
- </summary>
1137
- <param name="request"></param>
1138
- <returns></returns>
1139
- </member>
1140
- <member name="T:Retlang.Channels.IReplySubscriber`2">
1141
- <summary>
1142
- Methods for working with a replyChannel
1143
- </summary>
1144
- <typeparam name="R"></typeparam>
1145
- <typeparam name="M"></typeparam>
1146
- </member>
1147
- <member name="M:Retlang.Channels.IReplySubscriber`2.Subscribe(Retlang.Fibers.IFiber,System.Action{Retlang.Channels.IRequest{`0,`1}})">
1148
- <summary>
1149
- Subscribe to a request on the channel.
1150
- </summary>
1151
- <param name="fiber"></param>
1152
- <param name="onRequest"></param>
1153
- <returns></returns>
1154
- </member>
1155
- <member name="M:Retlang.Channels.RequestReplyChannel`2.Subscribe(Retlang.Fibers.IFiber,System.Action{Retlang.Channels.IRequest{`0,`1}})">
1156
- <summary>
1157
- Subscribe to requests.
1158
- </summary>
1159
- <param name="fiber"></param>
1160
- <param name="onRequest"></param>
1161
- <returns></returns>
1162
- </member>
1163
- <member name="M:Retlang.Channels.RequestReplyChannel`2.SendRequest(`0)">
1164
- <summary>
1165
- Send request to any and all subscribers.
1166
- </summary>
1167
- <param name="p"></param>
1168
- <returns>null if no subscribers registered for request.</returns>
1169
- </member>
1170
- <member name="T:Retlang.Core.IPendingEvent">
1171
- <summary>
1172
- A scheduled event.
1173
- </summary>
1174
- </member>
1175
- <member name="M:Retlang.Core.IPendingEvent.Execute(System.Int64)">
1176
- <summary>
1177
- Execute this event and optionally schedule another execution.
1178
- </summary>
1179
- <returns></returns>
1180
- </member>
1181
- <member name="P:Retlang.Core.IPendingEvent.Expiration">
1182
- <summary>
1183
- Time of expiration for this event
1184
- </summary>
1185
- </member>
1186
- <member name="T:Retlang.Core.DefaultThreadPool">
1187
- <summary>
1188
- Default implementation that uses the .NET thread pool.
1189
- </summary>
1190
- </member>
1191
- <member name="T:Retlang.Core.IThreadPool">
1192
- <summary>
1193
- A thread pool for executing asynchronous actions.
1194
- </summary>
1195
- </member>
1196
- <member name="M:Retlang.Core.IThreadPool.Queue(System.Threading.WaitCallback)">
1197
- <summary>
1198
- Enqueue action for execution.
1199
- </summary>
1200
- <param name="callback"></param>
1201
- </member>
1202
- <member name="M:Retlang.Core.DefaultThreadPool.Queue(System.Threading.WaitCallback)">
1203
- <summary>
1204
- Enqueues action.
1205
- </summary>
1206
- <param name="callback"></param>
1207
- </member>
1208
- <member name="T:Retlang.Channels.Filter`1">
1209
- <summary>
1210
- Message filter delegate
1211
- </summary>
1212
- <typeparam name="T"></typeparam>
1213
- <param name="msg"></param>
1214
- <returns></returns>
1215
- </member>
1216
- <member name="T:Retlang.Channels.ChannelSubscription`1">
1217
- <summary>
1218
- Subscription for actions on a channel.
1219
- </summary>
1220
- <typeparam name="T"></typeparam>
1221
- </member>
1222
- <member name="M:Retlang.Channels.ChannelSubscription`1.#ctor(Retlang.Fibers.IFiber,System.Action{`0})">
1223
- <summary>
1224
- Construct the subscription
1225
- </summary>
1226
- <param name="fiber"></param>
1227
- <param name="receiver"></param>
1228
- </member>
1229
- <member name="M:Retlang.Channels.ChannelSubscription`1.OnMessageOnProducerThread(`0)">
1230
- <summary>
1231
- Receives the action and queues the execution on the target fiber.
1232
- </summary>
1233
- <param name="msg"></param>
1234
- </member>
1235
- <member name="P:Retlang.Channels.ChannelSubscription`1.Subscriptions">
1236
- <summary>
1237
- Allows for the registration and deregistration of subscriptions
1238
- </summary>
1239
- </member>
1240
- <member name="T:Retlang.Core.DefaultExecutor">
1241
- <summary>
1242
- Default executor.
1243
- </summary>
1244
- </member>
1245
- <member name="M:Retlang.Core.DefaultExecutor.Execute(System.Collections.Generic.List{System.Action})">
1246
- <summary>
1247
- Executes all actions.
1248
- </summary>
1249
- <param name="toExecute"></param>
1250
- </member>
1251
- <member name="M:Retlang.Core.DefaultExecutor.Execute(System.Action)">
1252
- <summary>
1253
- Executes a single action.
1254
- </summary>
1255
- <param name="toExecute"></param>
1256
- </member>
1257
- <member name="P:Retlang.Core.DefaultExecutor.IsEnabled">
1258
- <summary>
1259
- When disabled, actions will be ignored by executor. The executor is typically disabled at shutdown
1260
- to prevent any pending actions from being executed.
1261
- </summary>
1262
- </member>
1263
- <member name="T:Retlang.Channels.QueueChannel`1">
1264
- <summary>
1265
- Default QueueChannel implementation. Once and only once delivery to first available consumer.
1266
- </summary>
1267
- <typeparam name="T"></typeparam>
1268
- </member>
1269
- <member name="M:Retlang.Channels.QueueChannel`1.Subscribe(Retlang.Core.IExecutionContext,System.Action{`0})">
1270
- <summary>
1271
- Subscribe to executor messages.
1272
- </summary>
1273
- <param name="executionContext"></param>
1274
- <param name="onMessage"></param>
1275
- <returns></returns>
1276
- </member>
1277
- <member name="M:Retlang.Channels.QueueChannel`1.Publish(`0)">
1278
- <summary>
1279
- Publish message onto queue. Notify consumers of message.
1280
- </summary>
1281
- <param name="message"></param>
1282
- </member>
1283
- <member name="T:Retlang.Channels.Channel`1">
1284
- <summary>
1285
- Default Channel Implementation. Methods are thread safe.
1286
- </summary>
1287
- <typeparam name="T"></typeparam>
1288
- </member>
1289
- <member name="M:Retlang.Channels.Channel`1.Subscribe(Retlang.Fibers.IFiber,System.Action{`0})">
1290
- <summary>
1291
- <see cref="M:Retlang.Channels.ISubscriber`1.Subscribe(Retlang.Fibers.IFiber,System.Action{`0})"/>
1292
- </summary>
1293
- <param name="fiber"></param>
1294
- <param name="receive"></param>
1295
- <returns></returns>
1296
- </member>
1297
- <member name="M:Retlang.Channels.Channel`1.SubscribeToBatch(Retlang.Fibers.IFiber,System.Action{System.Collections.Generic.IList{`0}},System.Int32)">
1298
- <summary>
1299
- <see cref="M:Retlang.Channels.ISubscriber`1.SubscribeToBatch(Retlang.Fibers.IFiber,System.Action{System.Collections.Generic.IList{`0}},System.Int32)"/>
1300
- </summary>
1301
- <param name="fiber"></param>
1302
- <param name="receive"></param>
1303
- <param name="intervalInMs"></param>
1304
- <returns></returns>
1305
- </member>
1306
- <member name="M:Retlang.Channels.Channel`1.SubscribeToKeyedBatch``1(Retlang.Fibers.IFiber,System.Converter{`0,``0},System.Action{System.Collections.Generic.IDictionary{``0,`0}},System.Int32)">
1307
- <summary>
1308
- <see cref="M:Retlang.Channels.ISubscriber`1.SubscribeToKeyedBatch``1(Retlang.Fibers.IFiber,System.Converter{`0,``0},System.Action{System.Collections.Generic.IDictionary{``0,`0}},System.Int32)"/>
1309
- </summary>
1310
- <typeparam name="K"></typeparam>
1311
- <param name="fiber"></param>
1312
- <param name="keyResolver"></param>
1313
- <param name="receive"></param>
1314
- <param name="intervalInMs"></param>
1315
- <returns></returns>
1316
- </member>
1317
- <member name="M:Retlang.Channels.Channel`1.SubscribeToLast(Retlang.Fibers.IFiber,System.Action{`0},System.Int32)">
1318
- <summary>
1319
- Subscription that delivers the latest message to the consuming thread. If a newer message arrives before the consuming thread
1320
- has a chance to process the message, the pending message is replaced by the newer message. The old message is discarded.
1321
- </summary>
1322
- <param name="fiber"></param>
1323
- <param name="receive"></param>
1324
- <param name="intervalInMs"></param>
1325
- <returns></returns>
1326
- </member>
1327
- <member name="M:Retlang.Channels.Channel`1.SubscribeOnProducerThreads(Retlang.Channels.IProducerThreadSubscriber{`0})">
1328
- <summary>
1329
- Subscribes to actions on producer threads. Subscriber could be called from multiple threads.
1330
- </summary>
1331
- <param name="subscriber"></param>
1332
- <returns></returns>
1333
- </member>
1334
- <member name="M:Retlang.Channels.Channel`1.SubscribeOnProducerThreads(System.Action{`0},Retlang.Core.ISubscriptionRegistry)">
1335
- <summary>
1336
- Subscribes an action to be executed for every action posted to the channel. Action should be thread safe.
1337
- Action may be invoked on multiple threads.
1338
- </summary>
1339
- <param name="subscriber"></param>
1340
- <param name="subscriptions"></param>
1341
- <returns></returns>
1342
- </member>
1343
- <member name="M:Retlang.Channels.Channel`1.Publish(`0)">
1344
- <summary>
1345
- <see cref="M:Retlang.Channels.IPublisher`1.Publish(`0)"/>
1346
- </summary>
1347
- <param name="msg"></param>
1348
- <returns></returns>
1349
- </member>
1350
- <member name="M:Retlang.Channels.Channel`1.ClearSubscribers">
1351
- <summary>
1352
- Remove all subscribers.
1353
- </summary>
1354
- </member>
1355
- <member name="P:Retlang.Channels.Channel`1.NumSubscribers">
1356
- <summary>
1357
- Number of subscribers
1358
- </summary>
1359
- </member>
1360
- </members>
1361
- </doc>