|
| Data.TMap.Backend | | Portability | non-portable (requires STM) | | Stability | experimental | | Maintainer | Peter Robinson <thaldyron@gmail.com> |
|
|
|
| Description |
| Provides a type class for backends. To avoid data
inconsistencies, these functions should not be used directly but only
via the TMap interface.
|
|
| Synopsis |
|
|
|
| Documentation |
|
| class Ord k => Backend k a b | a -> k where | Source |
|
| This class needs to be instantiated when developing a new
backend. The backend is expected to be able to handle concurrent
(non-conflicting) requests.
| | | Methods | | | Called when a new element was inserted.
| | | | Called when an element was updated.
| | | | Called when an element was deleted from the map.
| | | | Called when an element is not found in the map.
| | | | Called by flushBackend and purgeTMap.
| | | | Called in newTMapIO
|
| | Instances | |
|
|
| Produced by Haddock version 2.4.2 |