View Source nitro_cache_expirer (nitro_cache v0.5.0)

This process will expire keys.

Copyright 2013 Marcelo Gornstein <marcelog@gmail.com>

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.

Summary

Types

-type state() :: #state{}.

Functions

Link to this function

code_change(OldVsn, State, Extra)

View Source
-spec code_change(string(), state(), any()) -> {ok, state()}.
Link to this function

handle_call(Req, From, State)

View Source
-spec handle_call(term(), {pid(), reference()}, state()) ->
               {reply, term() | {invalid_request, term()}, state()}.
-spec handle_cast(any(), state()) -> {noreply, state()}.
Link to this function

handle_info(Info, State)

View Source
-spec handle_info(any(), state()) -> {noreply, state()}.
-spec init([]) -> {ok, state()}.
-spec start_link() -> {ok, pid()} | ignore | {error, term()}.
Starts the gen_server.
Link to this function

terminate(Reason, State)

View Source
-spec terminate(atom(), state()) -> ok.