Data Structures | Defines | Functions | Variables

I_Cache.h File Reference

A brief file description. More...

#include "libts.h"
#include "I_EventSystem.h"
#include "I_AIO.h"
#include "I_CacheDefs.h"
#include "I_Store.h"
Include dependency graph for I_Cache.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  CacheProcessor
struct  CacheVConnection

Defines

#define CACHE_MODULE_MAJOR_VERSION   1
#define CACHE_MODULE_MINOR_VERSION   0
#define CACHE_MODULE_VERSION
#define CACHE_WRITE_OPT_OVERWRITE   0x0001
#define CACHE_WRITE_OPT_CLOSE_COMPLETE   0x0002
#define CACHE_WRITE_OPT_SYNC   (CACHE_WRITE_OPT_CLOSE_COMPLETE | 0x0004)
#define CACHE_WRITE_OPT_OVERWRITE_SYNC   (CACHE_WRITE_OPT_SYNC | CACHE_WRITE_OPT_OVERWRITE)
#define SCAN_KB_PER_SECOND   8192
#define RAM_CACHE_ALGORITHM_CLFUS   0
#define RAM_CACHE_ALGORITHM_LRU   1
#define CACHE_COMPRESSION_NONE   0
#define CACHE_COMPRESSION_FASTLZ   1
#define CACHE_COMPRESSION_LIBZ   2
#define CACHE_COMPRESSION_LIBLZMA   3

Functions

void ink_cache_init (ModuleVersion version)

Variables

inkcoreapi CacheProcessor cacheProcessor
ContinuationcacheRegexDeleteCont

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 I_Cache.h.


Define Documentation

#define CACHE_COMPRESSION_FASTLZ   1
#define CACHE_COMPRESSION_LIBLZMA   3
#define CACHE_COMPRESSION_LIBZ   2
#define CACHE_COMPRESSION_NONE   0
#define CACHE_MODULE_MAJOR_VERSION   1

Definition at line 33 of file I_Cache.h.

#define CACHE_MODULE_MINOR_VERSION   0

Definition at line 34 of file I_Cache.h.

#define CACHE_MODULE_VERSION
#define CACHE_WRITE_OPT_CLOSE_COMPLETE   0x0002

Definition at line 40 of file I_Cache.h.

#define CACHE_WRITE_OPT_OVERWRITE   0x0001

Definition at line 39 of file I_Cache.h.

Referenced by Cluster_write().

#define CACHE_WRITE_OPT_OVERWRITE_SYNC   (CACHE_WRITE_OPT_SYNC | CACHE_WRITE_OPT_OVERWRITE)

Definition at line 42 of file I_Cache.h.

Referenced by cache().

#define CACHE_WRITE_OPT_SYNC   (CACHE_WRITE_OPT_CLOSE_COMPLETE | 0x0004)

Definition at line 41 of file I_Cache.h.

Referenced by cache(), and Cache::open_write().

#define RAM_CACHE_ALGORITHM_CLFUS   0

Definition at line 46 of file I_Cache.h.

Referenced by CacheProcessor::cacheInitialized().

#define RAM_CACHE_ALGORITHM_LRU   1

Definition at line 47 of file I_Cache.h.

Referenced by CacheProcessor::cacheInitialized().

#define SCAN_KB_PER_SECOND   8192

Definition at line 44 of file I_Cache.h.


Function Documentation

void ink_cache_init ( ModuleVersion  version  ) 

Variable Documentation