View Source GenBatcher.Partition.Info (GenBatcher v1.0.0)
Defines a GenBatcher.Partition.Info struct that is returned and used by
various GenBatcher functions and callbacks.
The following fields are public:
batch_duration- The time (in ms) that the partition's current batch has been accumulating items.batch_size- The number of items in the partition's current batch.flush_meta- TheGenBatcher:flush_meta.partition- The partition's index.
Summary
Types
Information about a GenBatcher partition.
Types
@type t() :: %GenBatcher.Partition.Info{ batch_duration: non_neg_integer(), batch_size: non_neg_integer(), flush_meta: term(), flush_ref: term(), partition: non_neg_integer() }
Information about a GenBatcher partition.