#include <Prefetch.h>
Inherits Continuation.
Public Member Functions | |
BlasterUrlList () | |
void | init (TSPrefetchBlastData const &bdata=UDP_BLAST_DATA, int tout=0, int xmtu=INT_MAX) |
void | free () |
int | handleEvent (int event, void *data) |
Receives the event code and data for an Event. | |
void | invokeUrlBlaster () |
Definition at line 195 of file Prefetch.h.
BlasterUrlList::BlasterUrlList | ( | ) | [inline] |
Definition at line 207 of file Prefetch.h.
void BlasterUrlList::free | ( | void | ) | [inline] |
Definition at line 228 of file Prefetch.h.
References ClassAllocator< C >::free(), and Continuation::mutex.
Referenced by handleEvent().
int BlasterUrlList::handleEvent | ( | int | event, | |
void * | data | |||
) |
Receives the event code and data for an Event.
This function receives the event code and data for an event and forwards them to the current continuation handler. The processor calling back the continuation is responsible for acquiring its lock.
event | Event code to be passed at callback (Processor specific). | |
data | General purpose data related to the event code (Processor specific). |
Reimplemented from Continuation.
Definition at line 851 of file Prefetch.cc.
References PrefetchUrlEntry::blaster_link, Action::cancel(), EVENT_IMMEDIATE, EVENT_INTERVAL, free(), HRTIME_MSECONDS, ink_assert, invokeUrlBlaster(), PrefetchUrlEntry::len, PREFETCH_EVENT_SEND_URL, EThread::schedule_in(), and this_ethread().
Referenced by PrefetchBlaster::handleEvent(), and init().
void BlasterUrlList::init | ( | TSPrefetchBlastData const & | bdata = UDP_BLAST_DATA , |
|
int | tout = 0 , |
|||
int | xmtu = INT_MAX | |||
) | [inline] |
Definition at line 211 of file Prefetch.h.
References handleEvent(), Continuation::mutex, new_ProxyMutex(), and SET_HANDLER.
Referenced by PrefetchTransform::PrefetchTransform().
void BlasterUrlList::invokeUrlBlaster | ( | ) | [inline] |
Definition at line 278 of file Prefetch.h.
References ClassAllocator< C >::alloc(), and PrefetchUrlBlaster::init().
Referenced by handleEvent().