Man page - globus_ftp_client_throughput_plugin_destroy(3)
Packages contas this manual
- globus_i_ftp_client_handleattr_t(3)
- globus_ftp_client_handleattr_add_plugin(3)
- globus_ftp_client_plugin_stat_t(3)
- globus_ftp_client_plugin_get_t(3)
- globus_ftp_client_perf_plugin_get_user_specific(3)
- globus_ftp_client_plugin_machine_list_t(3)
- globus_ftp_client_error_t(3)
- globus_ftp_client_plugin_restart_feat(3)
- globus_ftp_client_throughput_plugin_init(3)
- globus_ftp_client_throughput_plugin_user_destroy_cb_t(3)
- globus_ftp_client_operationattr_set_allocate(3)
- globus_ftp_client_restart_marker_plugin(3)
- globus_ftp_client_handleattr_set_cache_all(3)
- globus_ftp_client_put(3)
- globus_ftp_client_plugin_recursive_list_t(3)
- globus_ftp_client_operationattr_set_authz_assert(3)
- globus_ftp_client_handle_t(3)
- globus_ftp_client_operationattr_set_data_security(3)
- globus_ftp_client_list(3)
- globus_ftp_client_operationattr(3)
- globus_ftp_client_restart_type_t(3)
- globus_ftp_client_plugin_mlst_t(3)
- globus_ftp_client_chgrp(3)
- globus_ftp_client_throughput_nl_plugin.h(3)
- globus_ftp_client_operationattr_copy(3)
- globus_ftp_client_rmdir(3)
- globus_ftp_client_plugin_restart_verbose_list(3)
- globus_ftp_client_plugin_write_t(3)
- globus_ftp_client_restart_marker_to_string(3)
- globus_ftp_client_operationattr_init(3)
- globus_ftp_client_plugin_chgrp_t(3)
- globus_i_ftp_client_module(3)
- globus_i_ftp_client_cache_entry_t(3)
- globus_ftp_client_operationattr_set_dcau(3)
- globus_i_ftp_client_operationattr_t(3)
- globus_ftp_client_perf_plugin_init(3)
- globus_ftp_client_throughput_plugin_begin_cb_t(3)
- globus_ftp_client_plugin_feat_t(3)
- globus_ftp_client_restart_marker_insert_range(3)
- globus_ftp_client_restart_marker_plugin_init(3)
- globus_ftp_client_plugin_restart_delete(3)
- globus_ftp_client_operationattr_set_mode(3)
- globus_ftp_client_debug_plugin(3)
- globus_ftp_client_handleattr_destroy(3)
- globus_ftp_client_handleattr_t(3)
- globus_i_ftp_client_features_s(3)
- globus_ftp_client_extended_get(3)
- globus_ftp_client_register_read(3)
- globus_ftp_client_handle_init(3)
- globus_ftp_client_plugin_restart_mkdir(3)
- globus_ftp_client_restart_marker_init(3)
- globus_ftp_client_plugin_restart_rmdir(3)
- globus_ftp_client_throughput_plugin(3)
- globus_ftp_client_features_init(3)
- globus_ftp_client_handle(3)
- globus_ftp_client_plugin_add_data_channels(3)
- globus_ftp_client_restart_marker_plugin_complete_cb_t(3)
- globus_ftp_client_debug_plugin.h(3)
- globus_ftp_client_throughput_plugin_destroy(3)
- globus_ftp_client_partial_get(3)
- globus_ftp_client_tristate_t(3)
- globus_ftp_client_restart_marker_destroy(3)
- globus_ftp_client_restart_marker_set_offset(3)
- globus_ftp_client_throughput_nl_plugin_destroy(3)
- globus_ftp_client_throughput_nl_plugin_init_with_handle(3)
- globus_ftp_client_throughput_plugin_complete_cb_t(3)
- globus_ftp_client_plugin_command_mask_t(3)
- globus_ftp_client_exists(3)
- globus_ftp_client_mlst(3)
- globus_ftp_client_features_t(3)
- globus_ftp_client_perf_plugin_set_copy_destroy(3)
- globus_ftp_client_operationattr_set_append(3)
- globus_ftp_client_plugin_restart_get_marker(3)
- globus_ftp_client_handle_remove_plugin(3)
- globus_ftp_client_operationattr_set_delayed_pasv(3)
- globus_ftp_client_operationattr_set_tcp_buffer(3)
- globus_ftp_client_handleattr_set_rfc1738_url(3)
- globus_ftp_client_restart_marker_plugin_begin_cb_t(3)
- globus_ftp_client_perf_plugin_marker_cb_t(3)
- globus_ftp_client_plugin_restart_list(3)
- globus_ftp_client_operationattr_set_control_protection(3)
- globus_ftp_client_operationattr_set_parallelism(3)
- globus_ftp_client_throughput_nl_plugin_set_callbacks(3)
- globus_ftp_client_probed_feature_t(3)
- globus_i_ftp_client_restart_s(3)
- globus_ftp_client_plugin_move_t(3)
- globus_ftp_client_plugin_rmdir_t(3)
- globus_ftp_client_throughput_nl_plugin_init(3)
- globus_ftp_client_operationattr_set_read_all(3)
- globus_ftp_client_debug_plugin_destroy(3)
- globus_ftp_client_restart_extended_block_t(3)
- globus_ftp_client_operationattr_set_list_uses_data_mode(3)
- globus_ftp_client_operationattr_set_disk_stack(3)
- globus_ftp_client_throughput_plugin.h(3)
- globus_ftp_client_activation(3)
- globus_ftp_client_operationattr_set_net_stack(3)
- globus_ftp_client_operationattr_set_striped(3)
- globus_ftp_client_operationattr_set_data_protection(3)
- globus_ftp_client_delete(3)
- globus_ftp_client_plugin_destroy_t(3)
- globus_ftp_client_handleattr(3)
- globus_ftp_client_throughput_plugin_user_copy_cb_t(3)
- globus_ftp_client_plugin_command_t(3)
- globus_ftp_client_plugin_complete_t(3)
- globus_ftp_client_utime(3)
- globus_ftp_client_plugin_restart_get(3)
- globus_ftp_client_cwd(3)
- globus_ftp_client_complete_callback_t(3)
- globus_ftp_client_restart_marker(3)
- globus_ftp_client_plugin_restart_utime(3)
- globus_ftp_client_plugin_put_t(3)
- globus_ftp_client_throughput_plugin_set_copy_destroy(3)
- globus_i_ftp_client_data_target_t(3)
- globus_ftp_client_plugin_delete_t(3)
- globus_ftp_client_restart_marker_plugin_destroy(3)
- globus_ftp_client_plugin_restart_symlink(3)
- globus_ftp_client_handle_add_plugin(3)
- globus_ftp_client_data_callback_t(3)
- globus_ftp_client_handleattr_init(3)
- globus_ftp_client_plugin_response_t(3)
- globus_ftp_client_plugin.h(3)
- globus_ftp_client_perf_plugin_begin_cb_t(3)
- globus_ftp_client_handleattr_add_cached_url(3)
- globus_ftp_client_plugin_restart_size(3)
- globus_ftp_client_restart_marker_copy(3)
- globus_ftp_client_plugin_size_t(3)
- globus_ftp_client_symlink(3)
- globus_ftp_client_plugin_cksm_t(3)
- globus_ftp_client_restart_marker_set_ascii_offset(3)
- globus_i_ftp_client_handle_t(3)
- globus_ftp_client_handle_cache_url_state(3)
- globus_ftp_client_recursive_list(3)
- globus_ftp_client_plugin_third_party_transfer_t(3)
- globus_ftp_client_stat(3)
- globus_ftp_client_operationattr_set_allow_ipv6(3)
- globus_ftp_client_perf_plugin.h(3)
- globus_ftp_client_handle_flush_url_state(3)
- globus_ftp_client_plugin_restart_put(3)
- globus_ftp_client_plugin_chmod_t(3)
- globus_ftp_client_api(3)
- globus_ftp_client_restart_marker_plugin.h(3)
- globus_ftp_client_throughput_nl_plugin(3)
- globus_ftp_client_extended_put(3)
- globus_ftp_client_plugin_restart_move(3)
- globus_ftp_client_restart_marker_get_total(3)
- globus_ftp_client_partial_put(3)
- globus_ftp_client_partial_third_party_transfer(3)
- globus_ftp_client_size(3)
- globus_ftp_client_handleattr_copy(3)
- globus_ftp_client_get(3)
- globus_ftp_client_throughput_plugin_total_cb_t(3)
- globus_ftp_client_plugin_restart_machine_list(3)
- globus_ftp_client_plugin_remove_data_channels(3)
- globus_ftp_client_plugin_copy_t(3)
- globus_ftp_client_modification_time(3)
- globus_ftp_client_plugin_abort(3)
- globus_ftp_client_machine_list(3)
- globus_ftp_client_cksm(3)
- globus_ftp_client_restart_marker_t(3)
- globus_ftp_client_restart_marker_from_string(3)
- globus_ftp_client_verbose_list(3)
- globus_ftp_client_plugin_restart_modification_time(3)
- globus_ftp_client_handleattr_set_netlogger(3)
- globus_ftp_client_plugin_restart_stat(3)
- globus_ftp_client_chmod(3)
- globus_ftp_client_features_destroy(3)
- globus_ftp_client_plugin_list_t(3)
- globus_i_ftp_client_range_t(3)
- globus_ftp_client.h(3)
- globus_ftp_client_plugin_utime_t(3)
- globus_ftp_client_perf_plugin(3)
- globus_ftp_client_debug_plugin_init(3)
- globus_ftp_client_feat(3)
- globus_ftp_client_plugin_verbose_list_t(3)
- globus_ftp_client_handle_destroy(3)
- globus_ftp_client_restart_plugin(3)
- globus_ftp_client_plugin_t(3)
- globus_ftp_client_handleattr_set_pipeline(3)
- globus_ftp_client_restart_plugin.h(3)
- globus_ftp_client_throughput_plugin_get_user_specific(3)
- globus_ftp_client_plugin_connect_t(3)
- globus_ftp_client_plugin_read_t(3)
- globus_ftp_client_operations(3)
- globus_ftp_client_move(3)
- globus_i_ftp_client_target_s(3)
- globus_ftp_client_plugin_authenticate_t(3)
- globus_ftp_client_perf_plugin_destroy(3)
- globus_ftp_client_plugin_modification_time_t(3)
- globus_ftp_client_plugin_restart_chgrp(3)
- globus_ftp_client_abort(3)
- globus_ftp_client_restart_plugin_destroy(3)
- globus_ftp_client_plugin_restart_chmod(3)
- globus_ftp_client_plugin_restart_third_party_transfer(3)
- globus_ftp_client_plugin_restart_cksm(3)
- globus_ftp_client_operationattr_set_type(3)
- globus_ftp_client_operationattr_t(3)
- globus_ftp_client_operationattr_set_storage_module(3)
- globus_ftp_client_handle_set_user_pointer(3)
- globus_ftp_client_plugins(3)
- globus_ftp_client_plugin_data_t(3)
- globus_ftp_client_data(3)
- globus_i_ftp_client_plugin_t(3)
- globus_ftp_client_handleattr_set_gridftp2(3)
- globus_ftp_client_restart_marker_plugin_marker_cb_t(3)
- globus_ftp_client_operationattr_destroy(3)
- globus_ftp_client_plugin_restart_mlst(3)
- globus_ftp_client_perf_plugin_user_copy_cb_t(3)
- globus_ftp_client_plugin_abort_t(3)
- globus_ftp_client_third_party_transfer(3)
- globus_ftp_client_restart_stream_t(3)
- globus_ftp_client_register_write(3)
- globus_ftp_client_mkdir(3)
- globus_ftp_client_handleattr_set_clientinfo(3)
- globus_ftp_client_throughput_plugin_stripe_cb_t(3)
- globus_ftp_client_plugin_mkdir_t(3)
- globus_ftp_client_plugin_fault_t(3)
- globus_ftp_client_perf_plugin_user_destroy_cb_t(3)
- globus_ftp_client_operationattr_set_authorization(3)
- globus_ftp_client_is_feature_supported(3)
- globus_ftp_client_perf_plugin_complete_cb_t(3)
- globus_ftp_client_plugin_restart_recursive_list(3)
- globus_ftp_client_operationattr_set_layout(3)
- globus_ftp_client_plugin_symlink_t(3)
- globus_ftp_client_restart_plugin_init(3)
- globus_ftp_client_extended_third_party_transfer(3)
apt-get install libglobus-ftp-client-doc
Manual
| globus_ftp_client_throughput_plugin(3) | Library Functions Manual | globus_ftp_client_throughput_plugin(3) |
NAME
globus_ftp_client_throughput_plugin - Throughput Performance Plugin
- Throughput Performance Plugin.
SYNOPSIS
Macros
#define GLOBUS_FTP_CLIENT_THROUGHPUT_PLUGIN_MODULE
(&globus_i_ftp_client_throughput_plugin_module)
Typedefs
typedef void(*
globus_ftp_client_throughput_plugin_begin_cb_t) (void *user_specific,
globus_ftp_client_handle_t *handle, const char *source_url, const
char *dest_url)
typedef void(* globus_ftp_client_throughput_plugin_stripe_cb_t) (void
*user_specific, globus_ftp_client_handle_t *handle, int stripe_ndx,
globus_off_t bytes, float instantaneous_throughput, float avg_throughput)
typedef void(* globus_ftp_client_throughput_plugin_total_cb_t) (void
*user_specific, globus_ftp_client_handle_t *handle, globus_off_t
bytes, float instantaneous_throughput, float avg_throughput)
typedef void(* globus_ftp_client_throughput_plugin_complete_cb_t) (void
*user_specific, globus_ftp_client_handle_t *handle, globus_bool_t
success)
typedef void *(* globus_ftp_client_throughput_plugin_user_copy_cb_t)
(void *user_specific)
typedef void(* globus_ftp_client_throughput_plugin_user_destroy_cb_t)
(void *user_specific)
Functions
globus_result_t globus_ftp_client_throughput_plugin_init
(globus_ftp_client_plugin_t *plugin,
globus_ftp_client_throughput_plugin_begin_cb_t begin_cb,
globus_ftp_client_throughput_plugin_stripe_cb_t per_stripe_cb,
globus_ftp_client_throughput_plugin_total_cb_t total_cb,
globus_ftp_client_throughput_plugin_complete_cb_t complete_cb, void
*user_specific)
globus_result_t globus_ftp_client_throughput_plugin_set_copy_destroy
(globus_ftp_client_plugin_t *plugin,
globus_ftp_client_throughput_plugin_user_copy_cb_t copy_cb,
globus_ftp_client_throughput_plugin_user_destroy_cb_t destroy_cb)
globus_result_t globus_ftp_client_throughput_plugin_destroy
(globus_ftp_client_plugin_t *plugin)
globus_result_t globus_ftp_client_throughput_plugin_get_user_specific
(globus_ftp_client_plugin_t *plugin, void **user_specific)
Detailed Description
Throughput Performance Plugin.
The FTP Throughput Performance plugin allows the user to obtain calculated performance information for all types of transfers except a third party transfer in which Extended Block mode is not enabled.
Note: Since this plugin is built on top of the Performance Marker Plugin, it is not possible to associate both plugins with a handle
Macro Definition Documentation
#define GLOBUS_FTP_CLIENT_THROUGHPUT_PLUGIN_MODULE (&globus_i_ftp_client_throughput_plugin_module)
Module descriptor
Typedef Documentation
typedef void(* globus_ftp_client_throughput_plugin_begin_cb_t) (void *user_specific, globus_ftp_client_handle_t *handle, const char *source_url, const char *dest_url)
Transfer begin callback
This callback will be called when a transfer begins
Parameters
user_specific User argument passed to globus_ftp_client_throughput_plugin_init
source_url source of the transfer (GLOBUS_NULL if 'put')
dest_url dest of the transfer (GLOBUS_NULL if 'get')
Returns
- •
- n/a
typedef void(* globus_ftp_client_throughput_plugin_complete_cb_t) (void *user_specific, globus_ftp_client_handle_t *handle, globus_bool_t success)
Transfer complete callback
This callback will be called upon transfer completion (successful or otherwise)
Parameters
user_specific User argument passed to globus_ftp_client_throughput_plugin_init
success indicates whether this transfer completed successfully or was interrupted (by error or abort)
Returns
- •
- n/a
typedef void(* globus_ftp_client_throughput_plugin_stripe_cb_t) (void *user_specific, globus_ftp_client_handle_t *handle, int stripe_ndx, globus_off_t bytes, float instantaneous_throughput, float avg_throughput)
Stripe performance throughput callback
This callback will be called with every performance callback that is received by the perf plugin. The first callback for each stripe_ndx will have an instantaneous_throughput based from the time the command was sent.
Parameters
user_specific User argument passed to globus_ftp_client_throughput_plugin_init
bytes The total number of bytes received on this stripe
instantaneous_throughput Instanteous throughput on this stripe (bytes / sec)
avg_throughput Average throughput on this stripe (bytes / sec)
stripe_ndx This stripe's index
typedef void(* globus_ftp_client_throughput_plugin_total_cb_t) (void *user_specific, globus_ftp_client_handle_t *handle, globus_off_t bytes, float instantaneous_throughput, float avg_throughput)
Total performance throughput callback
This callback will be called with every performance callback that is received by the perf plugin. The first callback for will have an instantaneous_throughput based from the time the command was sent. This callback will be called after the per_stripe_cb
Parameters
user_specific User argument passed to globus_ftp_client_throughput_plugin_init
bytes The total number of bytes received on all stripes
instantaneous_throughput Total instanteous throughput on all stripes (bytes / sec)
avg_throughput Average total throughput on all stripes (bytes / sec)
typedef void *(* globus_ftp_client_throughput_plugin_user_copy_cb_t) (void *user_specific)
Copy constructor
This callback will be called when a copy of this plugin is made, it is intended to allow initialization of a new user_specific data
Parameters
Returns
- a pointer to a user specific piece of data
- GLOBUS_NULL (does not indicate error)
typedef void(* globus_ftp_client_throughput_plugin_user_destroy_cb_t) (void *user_specific)
Destructor
This callback will be called when a copy of this plugin is destroyed, it is intended to allow the user to free up any memory associated with the user specific data
Parameters
Returns
- •
- n/a
Function Documentation
globus_result_t globus_ftp_client_throughput_plugin_destroy (globus_ftp_client_plugin_t * plugin)
Destroy throughput plugin
Frees up memory associated with plugin
Parameters
Returns
- GLOBUS_SUCCESS
- Error on NULL plugin
globus_result_t globus_ftp_client_throughput_plugin_get_user_specific (globus_ftp_client_plugin_t * plugin, void ** user_specific)
Retrieve user specific pointer
Parameters
user_specific pointer to storage for user_specific pointer
Returns
- GLOBUS_SUCCESS
- Error on NULL plugin
- Error on NULL user_specific
globus_result_t globus_ftp_client_throughput_plugin_init (globus_ftp_client_plugin_t * plugin, globus_ftp_client_throughput_plugin_begin_cb_t begin_cb, globus_ftp_client_throughput_plugin_stripe_cb_t per_stripe_cb, globus_ftp_client_throughput_plugin_total_cb_t total_cb, globus_ftp_client_throughput_plugin_complete_cb_t complete_cb, void * user_specific)
Throughput plugin init
Use this function to initialize a throughput plugin. The throughput plugin sits on top of the perf_plugin. The only required param is 'plugin', all others may be GLOBUS_NULL
Parameters
begin_cb the callback to be called upon the start of a transfer
per_stripe_cb the callback to be called every time updated throughput info is available for a given stripe
total_cb the callback to be called every time updated throughput info is available for any stripe
complete_cb the callback to be called to indicate transfer completion
user_specific a pointer to some user specific data that will be provided to all callbacks
Returns
- GLOBUS_SUCCESS
- Error on NULL plugin
- Error on init perf plugin
globus_result_t globus_ftp_client_throughput_plugin_set_copy_destroy (globus_ftp_client_plugin_t * plugin, globus_ftp_client_throughput_plugin_user_copy_cb_t copy_cb, globus_ftp_client_throughput_plugin_user_destroy_cb_t destroy_cb)
Set user copy and destroy callbacks
Use this to have the plugin make callbacks any time a copy of this plugin is being made. This will allow the user to keep state for different handles.
Parameters
copy_cb func to be called when a copy is needed
destroy_cb func to be called when a copy is to be destroyed
Returns
- Error on NULL arguments
- GLOBUS_SUCCESS
Author
Generated automatically by Doxygen for globus_ftp_client from the source code.
| Version 9.8 | globus_ftp_client |