GenBatcher.Partition.Info (GenBatcher v1.1.0)
View SourceDefines 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(), :partition => non_neg_integer(), optional(atom()) => term() }
Information about a GenBatcher partition.