ZenMonitor v1.0.0 ZenMonitor.Proxy.Batcher.State View Source
Maintains the internal state for the Batcher
subscriber
is the process that death_certificates should be delivered tobatch
is the queue of death_certificates pending until the next sweep.length
is the current length of the batch queue (calculating queue length is an O(n) operation, is is simple to track it as elements are added / removed)
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t() :: %ZenMonitor.Proxy.Batcher.State{ batch: :queue.queue(), length: integer(), subscriber: pid() }