Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ssl_session_cache_api(3erl) [linux man page]

ssl_session_cache_api(3erl)				     Erlang Module Definition				       ssl_session_cache_api(3erl)

NAME
ssl_session_cache_api - Defines the API for the TLS session cache so that the data storage scheme can be replaced by defining a new callback module implementing this API. COMMON DATA TYPES
The following data types are used in the functions below: cache_ref() = opaque() key() = {partialkey(), session_id()} partialkey() = opaque() session_id() = binary() session() = opaque() EXPORTS
delete(Cache, Key) -> _ Types Cache = cache_ref() Key = key() Deletes a cache entry. Will only be called from the cache handling process. foldl(Fun, Acc0, Cache) -> Acc Types Calls Fun(Elem, AccIn) on successive elements of the cache, starting with AccIn == Acc0. Fun/2 must return a new accumulator which is passed to the next call. The function returns the final value of the accumulator. Acc0 is returned if the cache is empty. init() -> opaque() Types Performs possible initializations of the cache and returns a reference to it that will be used as parameter to the other api func- tions. Will be called by the cache handling processes init function, hence putting the same requirements on it as a normal process init function. lookup(Cache, Key) -> Entry Types Cache = cache_ref() Key = key() Entry = session() | undefined Looks up a cache entry. Should be callable from any process. select_session(Cache, PartialKey) -> [session()] Types Cache = cache_ref() PartialKey = partialkey() Session = session() Selects sessions that could be reused. Should be callable from any process. terminate(Cache) -> _ Types Cache = term() - as returned by init/0 Takes care of possible cleanup that is needed when the cache handling process terminates. update(Cache, Key, Session) -> _ Types Cache = cache_ref() Key = key() Session = session() Caches a new session or updates a already cached one. Will only be called from the cache handling process. Ericsson AB ssl 4.1.4 ssl_session_cache_api(3erl)

Check Out this Related Man Page

Cache::SizeAwareFileCache(3pm)				User Contributed Perl Documentation			    Cache::SizeAwareFileCache(3pm)

NAME
Cache::SizeAwareFileCache -- extends Cache::FileCache DESCRIPTION
The SizeAwareFileCache class adds the ability to dynamically limit the size (in bytes) of a file system based cache. This class also implements the SizeAwareCache interface, providing the 'max_size' option and the 'limit_size( $size )' method. SYNOPSIS
use Cache::SizeAwareFileCache; my $cache = new Cache::SizeAwareFileCache( { 'namespace' => 'MyNamespace', 'default_expires_in' => 600, 'max_size' => 10000 } ); METHODS
See Cache::Cache and Cache::SizeAwareCache for the API documentation. OPTIONS
See Cache::Cache and Cache::SizeAwareCache for the standard options. PROPERTIES
See Cache::Cache and Cache::SizeAwareCache for the default properties. SEE ALSO
Cache::Cache, Cache::SizeAwareCache, Cache::FileCache AUTHOR
Original author: DeWitt Clinton <dewitt@unto.net> Also: Portions of this code are a rewrite of David Coppit's excellent extentions to the original File::Cache Last author: $Author: dclinton $ Copyright (C) 2001-2003 DeWitt Clinton perl v5.12.4 2009-03-01 Cache::SizeAwareFileCache(3pm)
Man Page

2 More Discussions You Might Find Interesting

1. War Stories

Following Cables for Fun!

Hi Folks, I came accross this picture taken a number of years ago now, I just thought I'd share it with you guys. We were in the process of removing equipment from the Data Centre and had followed the cable through to this area, where one of the old patch areas had been. When we lifted the... (2 Replies)
Discussion started by: gull04
2 Replies

2. What is on Your Mind?

Changed Forum Cookie Prefix (You May Need to Reload Your Cache)

Today we changed the prefix of our cookie and cleared the session table and all is working fine, at least on my end because I cleared my browser javascript cache. If you experience any strange behavior (you should not), please clear your javascript cache before posting a bug here. Note: I... (0 Replies)
Discussion started by: Neo
0 Replies