Copyright © 2009-2010 Basho Technologies Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Behaviours: gen_server.
Authors: Kevin Smith (ksmith@basho.com).
delete/1 | Deletes a key/value pair, if present, from the cache. |
fetch/1 | Retrieves a key/value pair from the cache. |
init/1 | |
store/2 | Store a key/value pair. |
delete(Key::any()) -> ok
Deletes a key/value pair, if present, from the cache.
fetch(Key::any()) -> any() | not_found
Retrieves a key/value pair from the cache. If the key is not in the cache, the atom 'not_found' is returned.
init(X1) -> any()
store(Key::any(), Value::any()) -> ok
Store a key/value pair
Generated by EDoc, Mar 24 2025, 11:53:57.