10 m_active_read_reqs(0),
22 "Update() " <<
Path() <<
" location: " <<
23 ((loc && loc[0] != 0) ? loc :
"<not set>"));
55 class FutureDetach :
public XrdJob
73 f_wait_time = std::min(2 * f_wait_time, (time_t) 120);
91 (
new FutureDetach(
this, &iocdP, 10))->Schedule();
int DoIt(int argpnt, int argc, char **argv, bool singleshot)
#define TRACE_PC(act, pre_code, x)
const std::string & GetPath() const
Get the path.
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.
IO(XrdOucCacheIO *io, Cache &cache)
XrdOucCacheIO * GetInput()
const char * Path() override
Original data source URL.
const char * RefreshLocation()
bool Detach(XrdOucCacheIOCD &iocdP) final
virtual bool ioActive()=0
const char * GetLocation()
void Update(XrdOucCacheIO &iocp) override
virtual void DetachFinalize()=0
std::string GetFilename()
Status of cached file. Can be read from and written into a binary file.
void Schedule(XrdJob *jp)