A brief file description. More...
#include "P_Net.h"
#include "P_Cache.h"
#include "URL.h"
#include "ICPevents.h"
#include "ICPProcessor.h"
#include "DynArray.h"
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 ICP.h.
#define ET_ICP ET_CALL |
Definition at line 37 of file ICP.h.
Referenced by ICPConfiguration::icp_config_change_callback(), ICPPeerReadCont::ICPPeerReadEvent(), ICPProcessor::ICPQuery(), ICPRequestCont::ICPRequestEvent(), ICPConfiguration::mgr_icp_config_change_callback(), and ICPProcessor::start().
#define ICP_DECREMENT_DYN_STAT | ( | x | ) | RecIncrRawStat(icp_rsb, mutex->thread_holding, (int) x, -1) |
#define ICP_EstablishStaticConfigInteger | ( | _ix, | ||
_n | ||||
) | REC_EstablishStaticConfigInt32(_ix,_n) |
Definition at line 1286 of file ICP.h.
Referenced by ICPConfiguration::ICPConfiguration().
#define ICP_EstablishStaticConfigStringAlloc | ( | _ix, | ||
n | ||||
) | REC_EstablishStaticConfigStringAlloc(_ix, n) |
Definition at line 1289 of file ICP.h.
Referenced by ICPConfiguration::ICPConfiguration().
#define ICP_INCREMENT_DYN_STAT | ( | x | ) | RecIncrRawStat(icp_rsb, mutex->thread_holding, (int) x, 1) |
Definition at line 1292 of file ICP.h.
Referenced by ICPPeriodicCont::DoReconfigAction(), ICPConfiguration::icp_config_change_callback(), ICPProcessor::ICPQuery(), and ICPPeerReadCont::PeerReadStateMachine().
#define ICP_OP_LAST (ICP_OP_END_OF_OPS - 1) |
Definition at line 103 of file ICP.h.
Referenced by Peer::LogRecvMsg().
#define ICP_READ_DYN_STAT | ( | x, | ||
C, | ||||
S | ||||
) |
RecGetRawStatCount(icp_rsb, (int) x, &C); \ RecGetRawStatSum(icp_rsb, (int) x, &S);
#define ICP_ReadConfigString REC_ReadConfigString |
Definition at line 1302 of file ICP.h.
Referenced by ICPConfiguration::ICPConfiguration().
#define ICP_RegisterConfigUpdateFunc REC_RegisterConfigUpdateFunc |
Definition at line 1303 of file ICP.h.
Referenced by ICPConfiguration::ICPConfiguration().
#define ICP_SUM_DYN_STAT | ( | x, | ||
y | ||||
) | RecIncrRawStat(icp_rsb, mutex->thread_holding, (int) x, (y)) |
Definition at line 1296 of file ICP.h.
Referenced by ICPPeerReadCont::PeerReadStateMachine().
#define ICP_VERSION_2 2 |
Definition at line 109 of file ICP.h.
Referenced by ICPPeerReadCont::PeerReadStateMachine().
#define ICP_VERSION_3 3 |
Definition at line 110 of file ICP.h.
Referenced by ICPPeerReadCont::PeerReadStateMachine().
#define MAX_DEFINED_PEERS 64 |
Definition at line 125 of file ICP.h.
Referenced by ICPConfiguration::icp_config_change_callback(), and ICPConfiguration::indexToPeerConfigData().
#define MAX_ICP_MSG_PAYLOAD_SIZE (MAX_ICP_MSGSIZE - sizeof(ICPmsgHdr_t)) |
#define MAX_ICP_MSGSIZE (16 * 1024) |
Definition at line 122 of file ICP.h.
Referenced by ICPPeerReadCont::ICPPeerQueryCont(), and ICPProcessor::start().
#define MAX_ICP_QUERY_PAYLOAD_SIZE (MAX_ICP_MSG_PAYLOAD_SIZE - sizeof(uint32_t)) |
#define MSG_IOVECS 16 |
Definition at line 126 of file ICP.h.
Referenced by ICPRequestCont::ICPRequestCont().
#define PEER_DYNAMIC (1 << 2) |
Definition at line 497 of file ICP.h.
Referenced by ParentSiblingPeer::~ParentSiblingPeer().
#define PEER_UP (1 << 0) |
Definition at line 495 of file ICP.h.
Referenced by ParentSiblingPeer::ExpectedReplies(), Peer::isUp(), and Peer::LogRecvMsg().
#define RECORD_ICP_STATE_CHANGE | ( | x, | ||
y, | ||||
z | ||||
) |
Definition at line 1036 of file ICP.h.
Referenced by ICPPeerReadCont::PeerReadStateMachine(), and ICPHandlerCont::PeriodicEvent().
typedef struct ICPHitObj ICPHitObj_t |
typedef struct ICPMsgHeader ICPMsgHdr_t |
typedef struct ICPQuery ICPQuery_t |
typedef int(* PluginFreshnessCalcFunc)(void *contp) |
anonymous enum |
enum ICPopcode_t |
enum PeerType_t |
struct RecRawStatBlock* icp_rsb |
Definition at line 38 of file ICPStats.cc.
Referenced by dumpICPstatEntry().
Referenced by ICPProcessor::ICPQuery().
Definition at line 153 of file ICP.cc.
Referenced by ICPPeerReadCont::ICPPeerQueryCont(), ICPPeerReadCont::ICPPeerQueryEvent(), and TSICPFreshnessFuncSet().