#include <XrdSsiResource.hh>
|
std::string | rName |
| -> Name of the resource to be used
|
|
std::string | rUser |
| -> Name of the resource user (nil if anonymous)
|
|
std::string | rInfo |
| -> Additional information in CGI format
|
|
std::string | hAvoid |
| -> Comma separated list of hosts to avoid
|
|
XrdSsiEntity * | client |
| -> Pointer to client identification (server-side)
|
|
Affinity | affinity |
| Resource affinity.
|
|
uint32_t | rOpts |
| Resource options. One or more of he following:
|
|
|
static const uint32_t | Reusable = 1 |
|
static const uint32_t | Discard = 2 |
|
Resource context may be cached and reused
|
|
◆ Affinity
Enumerator |
---|
Default | Use configured affinity.
|
None | Resource has no affinity, any endpoint will do.
|
Weak | Use resource on same node if possible, don't wait.
|
Strong | Use resource on same node even if wait required.
|
Strict | Always use same node for resource no matter what.
|
◆ XrdSsiResource()
XrdSsiResource::XrdSsiResource |
( |
std::string |
rname, |
|
|
std::string |
havoid = "" , |
|
|
std::string |
ruser = "" , |
|
|
std::string |
rinfo = "" , |
|
|
uint32_t |
ropts = 0 , |
|
|
Affinity |
raff = Default |
|
) |
| |
|
inline |
Discard cached resource if it exists
Constructor
- Parameters
-
rname | the name of the resource. If using directory notation (i.e. slash separated names); duplicate slashes and dot-slashes are compressed out. |
havoid | if not null then points to a comma separated list of hostnames to avoid when finding the resource. This argument is only meaningful client-side. |
ruser | the name of the resource user. If nil the user is anonymous (unnamed). By default, all resources share the TCP connection to any endpoint. Different users have separate connections only if so requested vis the newConn option (see options above). |
rinfo | additional information to be passed to the endpoint that that provides the resource. The string should be in cgi format (e.g. var=val&var2=val2&....). |
raff | resource affinity (see Affinity enum). |
ropts | resource handling options (see individual options) |
◆ ~XrdSsiResource()
XrdSsiResource::~XrdSsiResource |
( |
| ) |
|
|
inline |
◆ affinity
◆ client
-> Pointer to client identification (server-side)
◆ Discard
const uint32_t XrdSsiResource::Discard = 2 |
|
static |
Resource context may be cached and reused
◆ hAvoid
std::string XrdSsiResource::hAvoid |
-> Comma separated list of hosts to avoid
◆ Reusable
const uint32_t XrdSsiResource::Reusable = 1 |
|
static |
◆ rInfo
std::string XrdSsiResource::rInfo |
-> Additional information in CGI format
◆ rName
std::string XrdSsiResource::rName |
-> Name of the resource to be used
◆ rOpts
uint32_t XrdSsiResource::rOpts |
Resource options. One or more of he following:
◆ rUser
std::string XrdSsiResource::rUser |
-> Name of the resource user (nil if anonymous)
The documentation for this class was generated from the following file: