TzWorld.Backend.EtsWithIndexCache (TzWorld v2.5.0)

Copy Markdown View Source
This module is deprecated. Use TzWorld.Backend.SpatialIndex instead. This backend will be removed in the next release..

Resolves a timezone from a coordinate using an ETS table of timezone shapes, populated from the DETS cache at startup.

Deprecated

This backend is deprecated and will be removed in the next release. Use TzWorld.Backend.SpatialIndex instead.

This backend loads its ETS table from the DETS cache maintained by TzWorld.Backend.DetsWithIndexCache, so it carries that file's cost as well as its own. SpatialIndex reads the .tzw1 data file directly and answers lookups from :persistent_term, needing neither the DETS cache nor a GenServer round trip.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.