| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
??.instance --+
|
Gfal2Context
Gfal2 Context
|
|||
|
DirectoryType Directory descriptor |
|||
|
Dirent Please, note that not all fields make sense for all protocols |
|||
|
FileType File descriptor |
|||
| GfaltEvent | |||
|
Stat Please, note that not all fields make sense for all protocols |
|||
|
TransferParameters filecopy parameters |
|||
| event_side | |||
| gfalt_event | |||
|
transfer_parameters filecopy parameters |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
__instance_size__ = 40
|
|||
|
|||
|
Inherited from |
|||
|
|||
__init__( (object)arg1) -> None
|
helper for pickle
|
abort_bring_online( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> int :
Aborts a bring online request
abort_bring_online( (Gfal2Context)arg1, (list)arg2, (str)arg3) -> list :
Aborts a bring online request
|
access( (Gfal2Context)arg1, (str)arg2, (int)arg3) -> int :
Checks if the calling process/user can access the file with the given mode (see os.access)
|
add_client_info( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> int :
Sets a custom key/value pair to be sent to the server, if the protocol allows it
|
bring_online( (Gfal2Context)arg1, (str)arg2, (int)arg3, (int)arg4, (bool)arg5) -> tuple :
Performs a bring online operation (only for protocols that support this operation)
bring_online( (Gfal2Context)arg1, (list)arg2, (int)arg3, (int)arg4, (bool)arg5) -> tuple :
Performs a bulk bring online operation
|
bring_online_poll( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> int :
Polls the status for asynchronous bring_online operations
bring_online_poll( (Gfal2Context)arg1, (list)arg2, (str)arg3) -> list :
Performs a bulk bring online poll operation
|
cancel( (Gfal2Context)arg1) -> int :
Cancel running operations
|
checksum( (Gfal2Context)arg1, (str)arg2, (str)arg3, (int)arg4, (int)arg5) -> str :
Returns the checksum for the given part of a file. If both offset and length are 0, the whole file will be processed
checksum( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> str :
Shortcut for checksum(uri, chk_type, 0, 0)
|
chmod( (Gfal2Context)arg1, (str)arg2, (int)arg3) -> int :
Changes the permissions of the file
|
clear_client_info( (Gfal2Context)arg1) -> int :
Clears all key/value pairs set by add_client_info
|
directory( (Gfal2Context)arg1, (str)arg2) -> DirectoryType :
Synonym for opendir
|
file( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> FileType :
Synonym for open
|
filecopy( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> int :
Shortcut for filecopy(gfal2.transfer_params(), src, dst)
filecopy( (Gfal2Context)arg1, (TransferParameters)arg2, (str)arg3, (str)arg4) -> int :
Copies src into dst using the configured transfer parameters
filecopy( (Gfal2Context)arg1, (list)arg2, (list)arg3) -> object :
Shortcut for filecopy(gfal2.transfer_params(), sources, destinations)
filecopy( (Gfal2Context)arg1, (TransferParameters)arg2, (list)arg3, (list)arg4) -> object :
Shortcut for filecopy(params, sources, destinations, [])
filecopy( (Gfal2Context)arg1, (TransferParameters)arg2, (list)arg3, (list)arg4, (list)arg5) -> object :
Performs a bulk copy from sources[i] to destinations[i] with checksum checksum[i]. All sources must use same protocol/storage, and same goes for destinations.
|
get_client_info( (Gfal2Context)arg1) -> dict :
Returns the key/value pairs as a dictionary
|
get_opt_boolean( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> bool :
Returns the boolean value assigned to a configuration parameter
|
get_opt_integer( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> int :
Returns the integer value assigned to a configuration parameter
|
get_opt_string( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> str :
Returns the string value assigned to a configuration parameter
|
get_opt_string_list( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> list :
Returns the list of strings assigned to a configuration parameter
|
get_plugin_names( (Gfal2Context)arg1) -> list :
Returns the name list of loaded plugins
|
get_user_agent( (Gfal2Context)arg1) -> tuple :
Gets the user agent identification, name and version
|
getxattr( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> str :
Gets an extended attribute
|
listdir( (Gfal2Context)arg1, (str)arg2) -> list :
Returns the content of a directory as a list of file names
|
listxattr( (Gfal2Context)arg1, (str)arg2) -> list :
List known/supported extended attributes
|
load_opts_from_file( (Gfal2Context)arg1, (str)arg2) -> int :
Loads a set of configuration parameters from a .ini formatted file
|
lstat( (Gfal2Context)arg1, (str)arg2) -> Stat :
Identical to stat, but following symlinks
|
mkdir( (Gfal2Context)arg1, (str)arg2, (int)arg3) -> int :
Creates a directory
|
mkdir_rec( (Gfal2Context)arg1, (str)arg2, (int)arg3) -> int :
Creates a directory and its parents if needed
|
open( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> FileType :
Opens a file and returns a file descriptor
|
opendir( (Gfal2Context)arg1, (str)arg2) -> DirectoryType :
Opens a directory and returns a directory descriptor
|
release( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> int :
Releases a file pinned by a bring_online call
release( (Gfal2Context)arg1, (list)arg2, (str)arg3) -> list :
Releases a set of files pinned by a bring_online call
|
remove_client_info( (Gfal2Context)arg1, (str)arg2) -> int :
Removes a key/value pair set previously by add_client_info
|
rename( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> int :
Renames a file
|
rmdir( (Gfal2Context)arg1, (str)arg2) -> int :
Removes a directory
|
set_opt_boolean( (Gfal2Context)arg1, (str)arg2, (str)arg3, (bool)arg4) -> int :
Sets a configuration parameter as a boolean
|
set_opt_integer( (Gfal2Context)arg1, (str)arg2, (str)arg3, (int)arg4) -> int :
Sets a configuration parameter as an integer
|
set_opt_string( (Gfal2Context)arg1, (str)arg2, (str)arg3, (str)arg4) -> int :
Sets a configuration parameter as a string
|
set_opt_string_list( (Gfal2Context)arg1, (str)arg2, (str)arg3, (list)arg4) -> int :
Sets a configuration parameter as a list of strings
|
set_user_agent( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> int :
Sets the user agent identification, name and version
|
setxattr( (Gfal2Context)arg1, (str)arg2, (str)arg3, (str)arg4, (int)arg5) -> int :
Sets an extended attribute
|
stat( (Gfal2Context)arg1, (str)arg2) -> Stat :
Performs a stat call on a file
|
symlink( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> int :
Creates a symbolic link
|
unlink( (Gfal2Context)arg1, (str)arg2) -> int :
Removes a file
unlink( (Gfal2Context)arg1, (list)arg2) -> list :
Removes a set of files
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 9 10:37:02 2015 | http://epydoc.sourceforge.net |