1 #ifndef __XRDSSIRESOURCE_HH__
2 #define __XRDSSIRESOURCE_HH__
93 std::string havoid=
"",
@ None
Resource has no affinity, any endpoint will do.
@ Strict
Always use same node for resource no matter what.
@ Weak
Use resource on same node if possible, don't wait.
@ Default
Use configured affinity.
@ Strong
Use resource on same node even if wait required.
std::string rUser
-> Name of the resource user (nil if anonymous)
XrdSsiEntity * client
-> Pointer to client identification (server-side)
XrdSsiResource(std::string rname, std::string havoid="", std::string ruser="", std::string rinfo="", uint32_t ropts=0, Affinity raff=Default)
Discard cached resource if it exists
uint32_t rOpts
Resource options. One or more of he following:
Affinity affinity
Resource affinity.
std::string rInfo
-> Additional information in CGI format
static const uint32_t Reusable
std::string rName
-> Name of the resource to be used
~XrdSsiResource()
Destructor.
std::string hAvoid
-> Comma separated list of hosts to avoid
static const uint32_t Discard
Resource context may be cached and reused