5. XRootD.client.flags: Flags and constants¶
-
XRootD.client.flags.OpenFlags¶ OpenFlags.NONE: NothingOpenFlags.DELETE: Open a new file, deleting any existing fileOpenFlags.FORCE: Ignore file usage rulesOpenFlags.NEW: Open the file only if it does not already existOpenFlags.READ: Open only for readingOpenFlags.UPDATE: Open for reading and writingOpenFlags.REFRESH: Refresh the cached information on file location. Voids NoWait.OpenFlags.MAKEPATH: Create directory path if it doesn’t already existOpenFlags.APPEND: Open only for appendingOpenFlags.REPLICA: The file is being opened for replica creationOpenFlags.POSC: Enable Persist On Successful Close processingOpenFlags.NOWAIT: Open the file only if it does not cause a wait. ForXRootD.client.FileSystem.locate(): provide a location as soon as one becomes known. This means that not all locations are necessarily returned. If the file does not exist a wait is still imposed.OpenFlags.SEQIO: File will be read or written sequentially
-
XRootD.client.flags.MkDirFlags¶ MkDirFlags.NONE: Nothing specialMkDirFlags.MAKEPATH: Create the entire directory tree if it doesn’t exist
-
XRootD.client.flags.DirListFlags¶ DirListFlags.NONE: Nothing specialDirListFlags.STAT: Stat each entryDirListFlags.LOCATE: Locate all servers hosting the directory and send the dirlist request to all of them
-
XRootD.client.flags.PrepareFlags¶ PrepareFlags.STAGE: Stage the file to disk if it is not onlinePrepareFlags.WRITEMODE: The file will be accessed for modificationPrepareFlags.COLOCATE: Co-locate staged files, if possiblePrepareFlags.FRESH: Refresh file access time even if the location is known
-
XRootD.client.flags.AccessMode¶ AccessMode.NONE: Default, no flagsAccessMode.UR: Owner readableAccessMode.UW: Owner writableAccessMode.UX: Owner executable/browsableAccessMode.GR: Group readableAccessMode.GW: Group writableAccessMode.GX: Group executable/browsableAccessMode.OR: World readableAccessMode.OW: World writableAccessMode.OX: World executable/browsable
-
XRootD.client.flags.QueryCode¶ QueryCode.STATS: Query server statsQueryCode.PREPARE: Query prepare statusQueryCode.CHECKSUM: Query file checksumQueryCode.XATTR: Query file extended attributesQueryCode.SPACE: Query logical space statsQueryCode.CHECKSUMCANCEL: Query file checksum cancellationQueryCode.CONFIG: Query server configurationQueryCode.VISA: Query file visa attributesQueryCode.OPAQUE: Implementation dependentQueryCode.OPAQUEFILE: Implementation dependent
-
XRootD.client.flags.HostTypes¶ HostTypes.IS_MANAGER: ManagerHostTypes.IS_SERVER: Data serverHostTypes.ATTR_META: Meta manager attributeHostTypes.ATTR_PROXY: Proxy server attributeHostTypes.ATTR_SUPER: Supervisor attribute
-
XRootD.client.flags.StatInfoFlags¶ StatInfoFlags.X_BIT_SET: Executable/searchable bit setStatInfoFlags.IS_DIR: This is a directoryStatInfoFlags.OTHER: Neither a file nor a directoryStatInfoFlags.OFFLINE: File is not online (ie. on disk)StatInfoFlags.POSC_PENDING: File opened with POSC flag, not yet successfully closedStatInfoFlags.IS_READABLE: Read access is allowedStatInfoFlags.IS_WRITABLE: Write access is allowed
-
XRootD.client.flags.LocationType¶ Describes the node type and file status for a given location. Used with the
typeattribute ofXRootD.client.responses.LocationInfo.LocationType.MANAGER_ONLINE: manager node where the file is onlineLocationType.MANAGER_PENDING: manager node where the file is pending to be onlineLocationType.SERVER_ONLINE: server node where the file is onlineLocationType.SERVER_PENDING: server node where the file is pending to be online
-
XRootD.client.flags.AccessType¶ Describes the allowed access type for the file at given location Used with the
accesstypeattribute ofXRootD.client.responses.LocationInfo.AccessType.READ: Read access is allowedAccessType.READ_WRITE: Write access is allowed