Data Structures | Functions | Variables

RamCacheLRU.cc File Reference

A brief file description. More...

#include "P_Cache.h"
Include dependency graph for RamCacheLRU.cc:

Go to the source code of this file.

Data Structures

struct  RamCacheLRUEntry
struct  RamCacheLRU

Functions

RamCachenew_RamCacheLRU ()

Variables

ClassAllocator< RamCacheLRUEntryramCacheLRUEntryAllocator ("RamCacheLRUEntry")
static const int bucket_sizes []

Detailed Description

A brief file description.

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you 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.

Definition in file RamCacheLRU.cc.


Function Documentation

RamCache* new_RamCacheLRU (  ) 

Definition at line 208 of file RamCacheLRU.cc.

Referenced by CacheProcessor::cacheInitialized().


Variable Documentation

const int bucket_sizes[] [static]
Initial value:
 {
  127, 251, 509, 1021, 2039, 4093, 8191, 16381, 32749, 65521, 131071, 262139,
  524287, 1048573, 2097143, 4194301, 8388593, 16777213, 33554393, 67108859,
  134217689, 268435399, 536870909
}

Definition at line 63 of file RamCacheLRU.cc.

Referenced by RamCacheLRU::resize_hashtable().