View Source ZenMonitor.Proxy.Batcher.State (ZenMonitor v2.1.0)
Maintains the internal state for the Batcher
subscriberis the process that death_certificates should be delivered tobatchis the queue of death_certificates pending until the next sweep.lengthis 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
Specs
t() :: %ZenMonitor.Proxy.Batcher.State{
batch: :queue.queue(),
length: integer(),
subscriber: pid()
}