A brief file description. More...
#include "libts.h"
#include "I_Action.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 I_Event.h.
#define DNS_EVENT_EVENTS_START 600 |
Definition at line 62 of file I_Event.h.
Referenced by event_int_to_string().
#define EVENT_ALLOC | ( | _a, | ||
_t | ||||
) | THREAD_ALLOC(_a, _t) |
Definition at line 278 of file I_Event.h.
Referenced by EThread::schedule_at_local(), EThread::schedule_every_local(), EThread::schedule_imm_local(), EThread::schedule_in_local(), and EThread::schedule_spawn().
#define EVENT_CALL 4 |
Definition at line 43 of file I_Event.h.
Referenced by Vol::aggWrite(), CacheVC::do_read_call(), CacheVC::do_write_call(), CacheVC::do_write_lock_call(), CacheVC::handleWrite(), and CacheVC::handleWriteLock().
#define EVENT_CONT CONTINUATION_CONT |
Definition at line 49 of file I_Event.h.
Referenced by TestProxy::cacheTransRemoteToCacheFileEvent(), CacheContinuation::disposeOfDataBuffer(), ICPPeerReadCont::ICPPeerReadEvent(), ICPRequestCont::ICPRequestEvent(), SocksEntry::mainEvent(), RegressionCont::mainEvent(), CCFailHistoryTestCont::mainEvent(), SSLNetVConnection::net_read_io(), CacheVC::openReadFromWriter(), CacheVC::openReadMain(), CacheVC::openWriteMain(), ICPPeerReadCont::PeerReadStateMachine(), read_from_net(), TestProxy::sendEvent(), and write_to_net_io().
#define EVENT_DONE CONTINUATION_DONE |
Definition at line 48 of file I_Event.h.
Referenced by ClusterAPIPeriodicSM::ClusterAPIPeriodicSMEvent(), Cache::deref(), retryDisposeOfDataBuffer::handleRetryEvent(), UnixNetVConnection::mainEvent(), SocksProxy::mainEvent(), SSLNetVConnection::net_read_io(), Cache::open_read(), CacheVC::openReadMain(), CacheVC::openWriteMain(), ICPPeerReadCont::PeerReadStateMachine(), read_signal_done(), Cache::remove(), CacheVC::scanObject(), TestProxy::startEvent(), ClusterHandler::valid_for_freespace_write(), write_signal_done(), and write_to_net_io().
#define EVENT_ERROR 3 |
Definition at line 42 of file I_Event.h.
Referenced by NetAccept::acceptFastEvent(), NetAccept::do_blocking_accept(), HttpSessionAccept::mainEvent(), Http2SessionAccept::mainEvent(), net_accept(), SSLNetVConnection::net_read_io(), and write_to_net_io().
#define EVENT_FREE | ( | _p, | ||
_a, | ||||
_t | ||||
) |
_p->mutex = NULL; \ if (_p->globally_allocated) \ ::_a.free(_p); \ else \ THREAD_FREE(_p, _a, _t)
Definition at line 279 of file I_Event.h.
Referenced by PriorityEventQueue::check_ready(), and EThread::free_event().
#define EVENT_IMMEDIATE 1 |
Definition at line 40 of file I_Event.h.
Referenced by Vol::aggWriteDone(), PluginVCCore::attempt_delete(), PrefetchBlaster::blastObject(), PrefetchBlaster::bufferObject(), CacheVC::callcont(), InactivityCop::check_inactivity(), UpdateScheduler::ChildExitEventHandler(), CacheDisk::clearDone(), ClusterAccept::ClusterAcceptEvent(), PluginVCCore::connect(), PluginVCCore::connect_re(), ClusterHandler::connectClusterEvent(), DNSEntry::delayEvent(), ICPPeriodicCont::DoReconfigAction(), CacheTestSM::event_handler(), EThread::execute(), RecursiveHttpGet::ExitEventHandler(), DNSProcessor::getby(), Vol::handle_dir_clear(), TransformControl::handle_event(), INKContInternal::handle_event_count(), Vol::handle_recover_from_data(), Vol::handle_recover_write_dir(), HttpPagesHandler::handle_smdetails(), HttpPagesHandler::handle_smlist(), PrefetchBlaster::handleEvent(), BlasterUrlList::handleEvent(), UpdateSM::HandleSMEvent(), PrefetchBlaster::httpClient(), ICPPeerReadCont::ICPPeerReadEvent(), ICPRequestCont::ICPRequestEvent(), ObjectReloadCont::Init(), UpdateConfigManager::init(), APIHook::invoke(), ClusterState::IOComplete(), CacheContinuation::lookupOpenWriteVCEvent(), PluginVC::main_handler(), UnixNetVConnection::mainEvent(), DNSEntry::mainEvent(), CacheSync::mainEvent(), Cache::open_read(), Cache::open_write(), CacheVC::openReadFromWriter(), CacheVC::openReadReadDone(), CacheVC::openReadStartHead(), CacheDisk::openStart(), CacheVC::openWriteCloseHead(), CacheVC::openWriteOverwrite(), CacheVC::openWriteStartBegin(), UpdateConfigManager::ProcessUpdate(), Vol::recover_data(), RecursiveHttpGet::RecursiveHttpGetEvent(), Cache::remove(), HostDBContinuation::remove_trigger_pending_dns(), RemapPlugins::run_remap(), CacheVC::scanOpenWrite(), CacheVC::scanRemoveDone(), CacheVC::scanUpdateDone(), UpdateScheduler::ScheduleEvent(), OpenDir::signal_readers(), ClusterHandler::startClusterEvent(), and TSActionCancel().
#define EVENT_INTERVAL 2 |
Definition at line 41 of file I_Event.h.
Referenced by ClusterHandler::beginClusterEvent(), PrefetchBlaster::bufferObject(), UpdateScheduler::ChildExitEventHandler(), ClusterAccept::ClusterAcceptEvent(), HostDBContinuation::clusterEvent(), ClusterHandler::connectClusterEvent(), HostDBContinuation::dnsEvent(), HostDBContinuation::dnsPendingEvent(), ICPPeriodicCont::DoReconfigAction(), CacheTestSM::event_handler(), RecursiveHttpGet::ExitEventHandler(), HttpDebugNames::get_event_name(), INKContInternal::handle_event_count(), HttpPagesHandler::handle_smdetails(), HttpPagesHandler::handle_smlist(), KeepAliveLockHandler::handleEvent(), PrefetchBlaster::handleEvent(), BlasterUrlList::handleEvent(), ICPPeerReadCont::ICPPeerReadEvent(), ICPRequestCont::ICPRequestEvent(), ClusterAccept::Init(), APIHook::invoke(), PrefetchBlaster::invokeBlaster(), CacheContinuation::localVCsetupEvent(), Cache::lookup(), PluginVC::main_handler(), ClusterHandler::mainClusterEvent(), UnixNetVConnection::mainEvent(), SocksProxy::mainEvent(), SocksEntry::mainEvent(), HostDBTestRR::mainEvent(), DNSEntry::mainEvent(), CacheSync::mainEvent(), NetHandler::mainNetEvent(), ICPHandlerCont::PeriodicEvent(), UpdateConfigManager::ProcessUpdate(), ClusterHandler::protoZombieEvent(), CacheContinuation::remoteOpEvent(), UpdateScheduler::ScheduleEvent(), ClusterHandler::startClusterEvent(), HttpSM::state_add_to_list(), HttpSM::state_api_callout(), HttpSM::state_http_server_open(), HttpSM::state_raw_http_server_open(), and HttpSM::state_remove_from_list().
#define EVENT_NONE CONTINUATION_EVENT_NONE |
Definition at line 39 of file I_Event.h.
Referenced by UnixNetVConnection::acceptEvent(), HttpSM::attach_client_session(), CacheVC::die(), ProxyClientSession::do_api_callout(), CacheVC::do_write_lock(), HttpSM::handle_api_return(), HttpPagesHandler::handle_smdetails(), HttpPagesHandler::handle_smlist(), HttpUpdateSM::kill_this_async_hook(), UpTest::main_handler(), net_accept(), CacheVC::openWriteMain(), CacheVC::reenable_re(), CacheVC::scanObject(), HttpUpdateSM::start_scheduled_update(), HttpConfig::startup(), HttpSM::state_add_to_list(), HttpSM::state_api_callout(), and HttpSM::state_remove_from_list().
#define EVENT_POLL 5 |
Definition at line 44 of file I_Event.h.
Referenced by EThread::execute(), ClusterHandler::mainClusterEvent(), UDPNetHandler::mainNetEvent(), NetHandler::mainNetEvent(), and ICPHandlerCont::PeriodicEvent().
#define EVENT_RETURN 5 |
Definition at line 50 of file I_Event.h.
Referenced by Cache::deref(), CacheVC::derefRead(), CacheVC::evacuateDocDone(), CacheVC::evacuateReadHead(), CacheVC::handleWriteLock(), Cache::open_read(), CacheVC::openReadFromWriter(), CacheVC::openReadMain(), CacheVC::openReadReadDone(), CacheVC::openReadStartEarliest(), CacheVC::openReadStartHead(), CacheVC::openWriteCloseDataDone(), CacheVC::openWriteOverwrite(), CacheVC::removeEvent(), and CacheVC::scanOpenWrite().
#define ONE_WAY_TUNNEL_EVENT_PEER_CLOSE (SIMPLE_EVENT_EVENTS_START+1) |
Definition at line 94 of file I_Event.h.
Referenced by OneWayTunnel::startEvent().
#define PREFETCH_EVENT_SEND_URL (SIMPLE_EVENT_EVENTS_START+2) |
Definition at line 95 of file I_Event.h.
Referenced by PrefetchBlaster::handleEvent(), and BlasterUrlList::handleEvent().
#define SIMPLE_EVENT_EVENTS_START 3300 |
Definition at line 82 of file I_Event.h.
Referenced by PrefetchUrlBlaster::init(), and PrefetchUrlBlaster::udpUrlBlaster().
#define VC_EVENT_EVENTS_START 100 |
Definition at line 57 of file I_Event.h.
Referenced by HttpSM::main_handler().
const int ET_CALL = 0 |
Definition at line 98 of file I_Event.h.
Referenced by Vol::aggWrite(), clusterAPI_init(), Vol::dir_init_done(), CacheContinuation::disposeOfDataBuffer(), free_ClusterMachine(), free_configuration(), HttpPagesHandler::handle_callback(), HttpPagesHandler::handle_smdetails(), HttpPagesHandler::handle_smlist(), http_config_cb(), http_pages_callback(), ClusterLoadMonitor::init(), GlobalClusterPeriodicEvent::init(), init_signals2(), init_tracker(), ink_aio_start(), HttpUpdateSM::kill_this_async_hook(), main(), CacheDisk::openDone(), EThread::schedule_local(), ClusterAccept::ShutdownDelete(), EventProcessor::start(), DNSProcessor::start(), start_stats_snap(), and MultiCacheBase::sync_partitions().
const int MAX_EVENT_TYPES = 8 |
Definition at line 99 of file I_Event.h.
Referenced by EventProcessor::assign_thread(), EventProcessor::schedule(), EventProcessor::schedule_at(), EventProcessor::schedule_every(), EventProcessor::schedule_imm(), EventProcessor::schedule_imm_signal(), EventProcessor::schedule_in(), and EventProcessor::spawn_event_threads().