A brief file description. More...
Go to the source code of this file.
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 I_CacheDefs.h.
#define CACHE_ALLOW_MULTIPLE_WRITES 1 |
Definition at line 125 of file I_CacheDefs.h.
Referenced by cache_op_ClusterFunction(), Cluster_write(), and HttpCacheSM::open_write().
#define CACHE_ALT_INDEX_DEFAULT -1 |
Definition at line 33 of file I_CacheDefs.h.
Referenced by free_CacheVC(), and CacheVC::openReadChooseWriter().
#define CACHE_ALT_REMOVED -2 |
Definition at line 34 of file I_CacheDefs.h.
Referenced by CacheVC::openWriteCloseDir().
#define CACHE_DB_FDS 128 |
Definition at line 42 of file I_CacheDefs.h.
#define CACHE_DB_MAJOR_VERSION 24 |
Definition at line 36 of file I_CacheDefs.h.
Referenced by CB_After_Cache_Init(), and Vol::handle_dir_read().
#define CACHE_DB_MINOR_VERSION 0 |
Definition at line 37 of file I_CacheDefs.h.
#define CACHE_DEREF 12 |
Definition at line 56 of file I_CacheDefs.h.
Referenced by cache_op_ClusterFunction(), Cluster_deref(), CacheContinuation::do_op(), op_failure(), op_needs_marshalled_coi(), and op_to_sizeof_fixedlen_msg().
#define CACHE_DIR_MAJOR_VERSION 18 |
Definition at line 39 of file I_CacheDefs.h.
#define CACHE_DIR_MINOR_VERSION 0 |
Definition at line 40 of file I_CacheDefs.h.
#define CACHE_EXPECTED_SIZE 32768 |
Definition at line 126 of file I_CacheDefs.h.
#define CACHE_INIT_FAILED -1 |
Definition at line 29 of file I_CacheDefs.h.
Referenced by CacheProcessor::cacheInitialized().
#define CACHE_INITIALIZED 1 |
Definition at line 31 of file I_CacheDefs.h.
Referenced by Cache_dir(), cache_stats_bytes_used_cb(), CacheProcessor::find_by_path(), and CacheProcessor::IsCacheReady().
#define CACHE_INITIALIZING 0 |
Definition at line 30 of file I_CacheDefs.h.
Referenced by CacheProcessor::cacheInitialized().
#define CACHE_LINK 11 |
Definition at line 55 of file I_CacheDefs.h.
Referenced by cache_op_ClusterFunction(), Cluster_link(), CacheContinuation::do_op(), op_failure(), op_needs_marshalled_coi(), op_to_sizeof_fixedlen_msg(), and CacheContinuation::replyOpEvent().
#define CACHE_LOOKUP_OP 13 |
Definition at line 57 of file I_CacheDefs.h.
Referenced by cache_lookup_ClusterFunction(), CacheContinuation::do_remote_lookup(), and op_to_sizeof_fixedlen_msg().
#define CACHE_OPEN_READ 1 |
Definition at line 45 of file I_CacheDefs.h.
Referenced by cache_op_ClusterFunction(), CacheContinuation::do_op(), init_from_short(), op_failure(), op_is_read(), op_is_shortform(), op_needs_marshalled_coi(), op_to_sizeof_fixedlen_msg(), CacheProcessor::open_read(), and CacheOpMsg_short::SwapBytes().
#define CACHE_OPEN_READ_BUFFER 2 |
Definition at line 46 of file I_CacheDefs.h.
Referenced by cache_op_ClusterFunction(), CacheContinuation::do_op(), op_failure(), op_is_read(), op_is_shortform(), op_needs_marshalled_coi(), and op_to_sizeof_fixedlen_msg().
#define CACHE_OPEN_READ_BUFFER_LONG 4 |
Definition at line 48 of file I_CacheDefs.h.
Referenced by cache_op_ClusterFunction(), Cluster_read(), CacheContinuation::do_op(), CacheContinuation::getObjectSize(), op_failure(), op_is_read(), op_needs_marshalled_coi(), and op_to_sizeof_fixedlen_msg().
#define CACHE_OPEN_READ_LONG 3 |
Definition at line 47 of file I_CacheDefs.h.
Referenced by cache_op_ClusterFunction(), Cluster_read(), CacheContinuation::do_op(), CacheContinuation::getObjectSize(), init_from_long(), op_failure(), op_is_read(), op_needs_marshalled_coi(), op_to_sizeof_fixedlen_msg(), CacheContinuation::remoteOpEvent(), and CacheContinuation::replyOpEvent().
#define CACHE_OPEN_WRITE 5 |
Definition at line 49 of file I_CacheDefs.h.
Referenced by cache_op_ClusterFunction(), Cluster_write(), CacheContinuation::do_op(), init_from_short(), op_failure(), op_is_shortform(), op_needs_marshalled_coi(), op_to_sizeof_fixedlen_msg(), and CacheProcessor::open_write().
#define CACHE_OPEN_WRITE_BUFFER 6 |
Definition at line 50 of file I_CacheDefs.h.
Referenced by cache_op_ClusterFunction(), CacheContinuation::do_op(), op_failure(), op_is_shortform(), op_needs_marshalled_coi(), and op_to_sizeof_fixedlen_msg().
#define CACHE_OPEN_WRITE_BUFFER_LONG 8 |
Definition at line 52 of file I_CacheDefs.h.
Referenced by cache_op_ClusterFunction(), CacheContinuation::do_op(), op_failure(), op_needs_marshalled_coi(), and op_to_sizeof_fixedlen_msg().
#define CACHE_OPEN_WRITE_LONG 7 |
Definition at line 51 of file I_CacheDefs.h.
Referenced by cache_op_ClusterFunction(), Cluster_write(), CacheContinuation::do_op(), init_from_long(), op_failure(), op_needs_marshalled_coi(), op_to_sizeof_fixedlen_msg(), and CacheContinuation::setup_local_vc().
#define CACHE_REMOVE 10 |
Definition at line 54 of file I_CacheDefs.h.
Referenced by cache_op_ClusterFunction(), Cluster_remove(), CacheContinuation::do_op(), op_failure(), op_needs_marshalled_coi(), and op_to_sizeof_fixedlen_msg().
#define CACHE_UPDATE 9 |
Definition at line 53 of file I_CacheDefs.h.
Referenced by CacheContinuation::do_op(), op_failure(), op_needs_marshalled_coi(), and op_to_sizeof_fixedlen_msg().
typedef CryptoHash CacheKey |
Definition at line 124 of file I_CacheDefs.h.
enum CacheDataType |
Definition at line 108 of file I_CacheDefs.h.
enum CacheEventType |
Definition at line 67 of file I_CacheDefs.h.
enum CacheFragType |
CACHE_FRAG_TYPE_NONE | |
CACHE_FRAG_TYPE_HTTP_V23 |
DB version 23 or prior. |
CACHE_FRAG_TYPE_RTSP |
Should be removed once Cache Toolkit is implemented. |
CACHE_FRAG_TYPE_HTTP | |
NUM_CACHE_FRAG_TYPES |
Definition at line 115 of file I_CacheDefs.h.
enum CacheScanResult |
CACHE_SCAN_RESULT_CONTINUE | |
CACHE_SCAN_RESULT_DONE | |
CACHE_SCAN_RESULT_DELETE | |
CACHE_SCAN_RESULT_DELETE_ALL_ALTERNATES | |
CACHE_SCAN_RESULT_UPDATE | |
CACHE_SCAN_RESULT_RETRY |
Definition at line 98 of file I_CacheDefs.h.
enum CacheType |
Definition at line 59 of file I_CacheDefs.h.