A brief file description. More...
#include "P_Cache.h"
Go to the source code of this file.
Data Structures | |
struct | RamCacheLRUEntry |
struct | RamCacheLRU |
Functions | |
RamCache * | new_RamCacheLRU () |
Variables | |
ClassAllocator< RamCacheLRUEntry > | ramCacheLRUEntryAllocator ("RamCacheLRUEntry") |
static const int | bucket_sizes [] |
A brief file description.
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.
RamCache* new_RamCacheLRU | ( | ) |
Definition at line 208 of file RamCacheLRU.cc.
Referenced by CacheProcessor::cacheInitialized().
const int bucket_sizes[] [static] |
{ 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().
ClassAllocator<RamCacheLRUEntry> ramCacheLRUEntryAllocator("RamCacheLRUEntry") |
Referenced by RamCacheLRU::put(), and RamCacheLRU::remove().