Electric.ShapeCache.ShapeCleaner (electric v1.2.4)
View SourceRemoves a shape (consumer, status entry, on-disk data and publication entry) on demand.
This process ensures removing of shapes does not block critical path of shape creation.
Summary
Functions
Returns a specification to start this module under a supervisor.
Types
@type shape_handle() :: Electric.ShapeCacheBehaviour.shape_handle()
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec remove_shape(shape_handle(), Keyword.t()) :: :ok | {:error, term()}
@spec remove_shape(shape_handle(), Keyword.t()) :: :ok
@spec remove_shapes_for_relations([Electric.oid_relation()], Keyword.t()) :: :ok