Fly.Postgres.LSN.Reader (Fly Postgres v0.3.4) View Source

Watches the configured database for replication changes.

When a change is found, it writes it to an ETS cache and notifies registered and waiting processes when their update is received.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Get the name of the reader instance that is derived from the base tracking name.

Callback implementation for GenServer.init/1.

Start the Reader that performs DB replication requests.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Specs

get_name(atom()) :: atom()

Get the name of the reader instance that is derived from the base tracking name.

Callback implementation for GenServer.init/1.

Start the Reader that performs DB replication requests.