pub fn new(size: usize) -> Arc<ServerSessionMemoryCache> {
        Arc::new(ServerSessionMemoryCache {
            cache: Mutex::new(limited_cache::LimitedCache::new(size)),
        })
    }
/// Make a new ServerSessionMemoryCache.  `size` is the maximum
/// number of stored sessions, and may be rounded-up for
/// efficiency.
Make a new ServerSessionMemoryCache.  `size` is the maximum
number of stored sessions, and may be rounded-up for
efficiency.
Make a new ServerSessionMemoryCache . ` size ` is the maximum number of stored sessions and may be rounded - up for efficiency .
pub fn new(size: usize) -> Arc<ServerSessionMemoryCache> {
        Arc::new(ServerSessionMemoryCache {
            cache: Mutex::new(limited_cache::LimitedCache::new(size)),
        })
    }
pub fn new ( size : usize ) -> Arc < ServerSessionMemoryCache > { Arc :: new ( ServerSessionMemoryCache { cache : Mutex :: new ( limited_cache :: LimitedCache :: new ( size ) ) , } ) }
Make a new ServerSessionMemoryCache.
Make a new ServerSessionMemoryCache .
size
usize
size
usize