Opens or creates a keystore using file. The meaning of
file is the same as for ks-open.
Closes the keystore connection.
Returns the underlying keystore handle.
Stores value under key. Returns the object itself,
so method calls may be nested.
(send a-keystore get key default ...) → any/c
|
| key : any/c |
| default : any/c |
Retrieves the value associated with key. If no value is found,
the optional default is returned; otherwise 'ks-nil is returned.
Removes key from the store and returns the object itself.
Returns #t if key exists, and #f otherwise.
Returns the number of keys in the keystore.
Returns keys matching pattern.
Returns key=value pairs matching pattern.
Alias for glob.
Returns all keys.
Returns all key-value pairs.
Calls
proc while holding the lock belonging to this keystore
object and returns the value produced by
proc. Other threads
using
with-lock on the same object wait until the lock is
released.
The lock is reentrant for nested calls on the same thread and is
released when control leaves proc, including when an exception
is raised. Keystore methods do not acquire this lock automatically.