Dandelion.Cache.Listener (dandelion v0.2.0)

Copy Markdown View Source

Keeps the node's cache in step with the others: removes keys that another node deleted (Dandelion.Cache.delete/1), and empties the cache when a node joins — the two sides may have missed each other's deletes while apart.

Summary

Functions

Returns a specification to start this module under a supervisor.

The PubSub this node's cache announces deletes on.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

pubsub()

The PubSub this node's cache announces deletes on.

start_link(opts)

topic()