DataBuffer v0.6.0 DataBuffer behaviour View Source
Defines a data buffer.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Dumps data from the provided buffer - bypassing the flush operation.
Performs a flush operation on the provided buffer.
Returns the details of each partition within the provided buffer.
Inserts data into the provided buffer.
Returns the current size of the provided buffer.
Starts the data buffer as a supervisor process.
Syncronously flushes the provided buffer - returning the results.
Link to this section Types
Specs
t() :: module()
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Specs
Dumps data from the provided buffer - bypassing the flush operation.
Specs
Performs a flush operation on the provided buffer.
Specs
Returns the details of each partition within the provided buffer.
Specs
Inserts data into the provided buffer.
Specs
Returns the current size of the provided buffer.
Specs
start_link( buffer :: t(), keyword() ) :: Supervisor.on_start()
Starts the data buffer as a supervisor process.
Specs
Syncronously flushes the provided buffer - returning the results.
Link to this section Callbacks
Specs
handle_flush(Enumerable.t(), meta :: any()) :: any()