Home | Trees | Index | Help |
|
---|
Module gfal2 :: Class Gfal2Context |
|
object
--+ |instance
--+ | Gfal2Context
Method Summary | |
---|---|
__init__( (object)arg1) -> None | |
__reduce__(...)
| |
abort_bring_online( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> int :... | |
access( (Gfal2Context)arg1, (str)arg2, (int)arg3) -> int :... | |
add_client_info( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> int :... | |
bring_online( (Gfal2Context)arg1, (str)arg2, (int)arg3, (int)arg4, (bool)arg5) -> tuple :... | |
bring_online_poll( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> int :... | |
cancel( (Gfal2Context)arg1) -> int :... | |
checksum( (Gfal2Context)arg1, (str)arg2, (str)arg3, (long)arg4, (int)arg5) -> str : Returns the checksum for the given part of a file. | |
chmod( (Gfal2Context)arg1, (str)arg2, (int)arg3) -> int :... | |
clear_client_info( (Gfal2Context)arg1) -> int :... | |
directory( (Gfal2Context)arg1, (str)arg2) -> DirectoryType :... | |
file( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> FileType :... | |
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]. | |
free( (Gfal2Context)arg1) -> None : Release internal resources used by the context. | |
get_client_info( (Gfal2Context)arg1) -> dict :... | |
get_opt_boolean( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> bool :... | |
get_opt_integer( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> int :... | |
get_opt_string( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> str :... | |
get_opt_string_list( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> list :... | |
get_plugin_names( (Gfal2Context)arg1) -> list :... | |
get_user_agent( (Gfal2Context)arg1) -> tuple :... | |
getxattr( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> str :... | |
listdir( (Gfal2Context)arg1, (str)arg2) -> list :... | |
listxattr( (Gfal2Context)arg1, (str)arg2) -> list :... | |
load_opts_from_file( (Gfal2Context)arg1, (str)arg2) -> int :... | |
lstat( (Gfal2Context)arg1, (str)arg2) -> Stat :... | |
mkdir( (Gfal2Context)arg1, (str)arg2, (int)arg3) -> int :... | |
mkdir_rec( (Gfal2Context)arg1, (str)arg2, (int)arg3) -> int :... | |
open( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> FileType :... | |
opendir( (Gfal2Context)arg1, (str)arg2) -> DirectoryType :... | |
readlink( (Gfal2Context)arg1, (str)arg2) -> str : Returns a string representing the path to which the symbolic link points. | |
release( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> int :... | |
remove_client_info( (Gfal2Context)arg1, (str)arg2) -> int :... | |
rename( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> int :... | |
rmdir( (Gfal2Context)arg1, (str)arg2) -> int :... | |
set_opt_boolean( (Gfal2Context)arg1, (str)arg2, (str)arg3, (bool)arg4) -> int :... | |
set_opt_integer( (Gfal2Context)arg1, (str)arg2, (str)arg3, (int)arg4) -> int :... | |
set_opt_string( (Gfal2Context)arg1, (str)arg2, (str)arg3, (str)arg4) -> int :... | |
set_opt_string_list( (Gfal2Context)arg1, (str)arg2, (str)arg3, (list)arg4) -> int :... | |
set_user_agent( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> int :... | |
setxattr( (Gfal2Context)arg1, (str)arg2, (str)arg3, (str)arg4, (int)arg5) -> int :... | |
stat( (Gfal2Context)arg1, (str)arg2) -> Stat :... | |
symlink( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> int :... | |
unlink( (Gfal2Context)arg1, (str)arg2) -> int :... | |
Inherited from instance | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
int |
__instance_size__ = 20 |
class |
DirectoryType = gfal2.DirectoryType |
class |
Dirent = gfal2.Dirent |
type |
event_side = gfal2.event_side |
class |
FileType = gfal2.FileType |
class |
gfalt_event = gfal2.GfaltEvent |
class |
GfaltEvent = gfal2.GfaltEvent |
class |
Stat = gfal2.Stat |
class |
transfer_parameters = gfal2.TransferParameters |
class |
TransferParameters = gfal2.TransferParameters |
Method Details |
---|
__init__(...)
__init__( (object)arg1) -> None
|
abort_bring_online(...)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(...)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(...)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(...)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(...)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(...)cancel( (Gfal2Context)arg1) -> int : Cancel running operations |
checksum(...)checksum( (Gfal2Context)arg1, (str)arg2, (str)arg3, (long)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(...)chmod( (Gfal2Context)arg1, (str)arg2, (int)arg3) -> int : Changes the permissions of the file |
clear_client_info(...)clear_client_info( (Gfal2Context)arg1) -> int : Clears all key/value pairs set by add_client_info |
directory(...)directory( (Gfal2Context)arg1, (str)arg2) -> DirectoryType : Synonym for opendir |
file(...)file( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> FileType : Synonym for open |
filecopy(...)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. |
free(...)free( (Gfal2Context)arg1) -> None : Release internal resources used by the context. The instance can *not* be used after this |
get_client_info(...)get_client_info( (Gfal2Context)arg1) -> dict : Returns the key/value pairs as a dictionary |
get_opt_boolean(...)get_opt_boolean( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> bool : Returns the boolean value assigned to a configuration parameter |
get_opt_integer(...)get_opt_integer( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> int : Returns the integer value assigned to a configuration parameter |
get_opt_string(...)get_opt_string( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> str : Returns the string value assigned to a configuration parameter |
get_opt_string_list(...)get_opt_string_list( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> list : Returns the list of strings assigned to a configuration parameter |
get_plugin_names(...)get_plugin_names( (Gfal2Context)arg1) -> list : Returns the name list of loaded plugins |
get_user_agent(...)get_user_agent( (Gfal2Context)arg1) -> tuple : Gets the user agent identification, name and version |
getxattr(...)getxattr( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> str : Gets an extended attribute |
listdir(...)listdir( (Gfal2Context)arg1, (str)arg2) -> list : Returns the content of a directory as a list of file names |
listxattr(...)listxattr( (Gfal2Context)arg1, (str)arg2) -> list : List known/supported extended attributes |
load_opts_from_file(...)load_opts_from_file( (Gfal2Context)arg1, (str)arg2) -> int : Loads a set of configuration parameters from a .ini formatted file |
lstat(...)lstat( (Gfal2Context)arg1, (str)arg2) -> Stat : Identical to stat, but following symlinks |
mkdir(...)mkdir( (Gfal2Context)arg1, (str)arg2, (int)arg3) -> int : Creates a directory |
mkdir_rec(...)mkdir_rec( (Gfal2Context)arg1, (str)arg2, (int)arg3) -> int : Creates a directory and its parents if needed |
open(...)open( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> FileType : Opens a file and returns a file descriptor |
opendir(...)opendir( (Gfal2Context)arg1, (str)arg2) -> DirectoryType : Opens a directory and returns a directory descriptor |
readlink(...)readlink( (Gfal2Context)arg1, (str)arg2) -> str : Returns a string representing the path to which the symbolic link points. |
release(...)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(...)remove_client_info( (Gfal2Context)arg1, (str)arg2) -> int : Removes a key/value pair set previously by add_client_info |
rename(...)rename( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> int : Renames a file |
rmdir(...)rmdir( (Gfal2Context)arg1, (str)arg2) -> int : Removes a directory |
set_opt_boolean(...)set_opt_boolean( (Gfal2Context)arg1, (str)arg2, (str)arg3, (bool)arg4) -> int : Sets a configuration parameter as a boolean |
set_opt_integer(...)set_opt_integer( (Gfal2Context)arg1, (str)arg2, (str)arg3, (int)arg4) -> int : Sets a configuration parameter as an integer |
set_opt_string(...)set_opt_string( (Gfal2Context)arg1, (str)arg2, (str)arg3, (str)arg4) -> int : Sets a configuration parameter as a string |
set_opt_string_list(...)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(...)set_user_agent( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> int : Sets the user agent identification, name and version |
setxattr(...)setxattr( (Gfal2Context)arg1, (str)arg2, (str)arg3, (str)arg4, (int)arg5) -> int : Sets an extended attribute |
stat(...)stat( (Gfal2Context)arg1, (str)arg2) -> Stat : Performs a stat call on a file |
symlink(...)symlink( (Gfal2Context)arg1, (str)arg2, (str)arg3) -> int : Creates a symbolic link |
unlink(...)unlink( (Gfal2Context)arg1, (str)arg2) -> int : Removes a file unlink( (Gfal2Context)arg1, (list)arg2) -> list : Removes a set of files |
Class Variable Details |
---|
__instance_size__
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Feb 20 09:27:05 2017 | http://epydoc.sf.net |