elephant:open-store path &key recover recover-fatal thread | Function |
Conveniently open a store controller. |
elephant:close-store | Function |
Conveniently close the store controller. |
elephant:with-open-store path &body body | Macro |
Executes the body with an open controller, unconditionally closing the controller on exit. |
elephant:add-to-root key value &key store-controller | Function |
Add an arbitrary persistent thing to the root, so you can
retrieve it in a later session. n .b . this means it (and
everything it points to) won't get gc'd.
|
elephant:get-from-root key &key store-controller | Function |
Get a something from the root. |
elephant:remove-from-root key &key store-controller | Function |
Remove something from the root. |
elephant:run-elephant-thread thunk | Function |
Sets the specials (which hopefully are thread-local) to make the Elephant thread-safe. |
elephant:*store-controller* | Variable |
The store controller which persistent objects talk to. |
elephant:store-controller | Class |
Class precedence list: store-controller, standard-object, t
Class of objects responsible for the
book-keeping of holding |
elephant:open-controller sc &key recover recover-fatal thread | Generic Function |
Opens the underlying environment and all the necessary database tables. |
elephant:close-controller sc | Generic Function |
Close the db handles and environment. Tries to wipe out references to the db handles. |
elephant:with-open-controller &optional &body body | Macro |
Executes body with the specified controller open, closing the controller unconditionally on exit. |