21 "Update() " <<
Path() <<
" location: " <<
22 ((loc && loc[0] != 0) ? loc :
"<not set>"));
49 class FutureDetach :
public XrdJob
67 f_wait_time = std::min(2 * f_wait_time, (time_t) 120);
85 (
new FutureDetach(
this, &iocdP, 30))->Schedule();
int DoIt(int argpnt, int argc, char **argv, bool singleshot)
#define TRACE_PC(act, pre_code, x)
virtual void DetachDone()=0
Indicate that the CacheIO object has been detached.
Attaches/creates and detaches/deletes cache-io objects for disk based cache.
static XrdScheduler * schedP
Base cache-io class that implements some XrdOucCacheIO abstract methods.
const char * Path() override
Original data source URL.
IO(XrdOucCacheIO *io, Cache &cache)
XrdOucCacheIO * GetInput()
const char * RefreshLocation()
bool Detach(XrdOucCacheIOCD &iocdP) final
virtual bool ioActive()=0
const char * GetLocation()
void Update(XrdOucCacheIO &iocp) override
virtual void DetachFinalize()=0
Status of cached file. Can be read from and written into a binary file.
void Schedule(XrdJob *jp)