irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

irods_resource_plugin_impostor.cpp File Reference
Include dependency graph for irods_resource_plugin_impostor.cpp:

Go to the source code of this file.

Namespaces

 irods
 

Functions

irods::error impostor_file_registered (irods::plugin_context &)
 
irods::error impostor_file_unregistered (irods::plugin_context &)
 
irods::error impostor_file_modified (irods::plugin_context &)
 
irods::error impostor_file_notify (irods::plugin_context &, const std::string *)
 
irods::error impostor_file_getfs_freespace (irods::plugin_context &_ctx)
 
irods::error impostor_file_create (irods::plugin_context &_ctx)
 
irods::error impostor_file_open (irods::plugin_context &_ctx)
 
irods::error impostor_file_read (irods::plugin_context &_ctx, void *, int)
 
irods::error impostor_file_write (irods::plugin_context &_ctx, void *, int)
 
irods::error impostor_file_close (irods::plugin_context &_ctx)
 
irods::error impostor_file_unlink (irods::plugin_context &_ctx)
 
irods::error impostor_file_stat (irods::plugin_context &_ctx, struct stat *)
 
irods::error impostor_file_lseek (irods::plugin_context &_ctx, long long, int)
 
irods::error impostor_file_mkdir (irods::plugin_context &_ctx)
 
irods::error impostor_file_rmdir (irods::plugin_context &_ctx)
 
irods::error impostor_file_opendir (irods::plugin_context &_ctx)
 
irods::error impostor_file_closedir (irods::plugin_context &_ctx)
 
irods::error impostor_file_readdir (irods::plugin_context &_ctx, struct rodsDirent **)
 
irods::error impostor_file_rename (irods::plugin_context &_ctx, const char *)
 
irods::error impostor_file_truncate (irods::plugin_context &_ctx)
 
irods::error impostor_file_stage_to_cache (irods::plugin_context &_ctx, const char *)
 
irods::error impostor_file_sync_to_arch (irods::plugin_context &_ctx, const char *)
 
irods::error impostor_file_resolve_hierarchy_create (irods::plugin_property_map &_prop_map, const std::string &_resc_name, const std::string &_curr_host, float &_out_vote)
 
irods::error impostor_file_resolve_hierarchy_open (irods::plugin_property_map &_prop_map, irods::file_object_ptr _file_obj, const std::string &_resc_name, const std::string &_curr_host, float &_out_vote)
 
irods::error impostor_file_resolve_hierarchy (irods::plugin_context &_ctx, const std::string *_opr, const std::string *_curr_host, irods::hierarchy_parser *_out_parser, float *_out_vote)
 
irods::error impostor_file_rebalance (irods::plugin_context &_ctx)
 

Function Documentation

◆ impostor_file_close()

irods::error impostor_file_close ( irods::plugin_context _ctx)

Definition at line 69 of file irods_resource_plugin_impostor.cpp.

References irods::impostor_resource::report_error().

Referenced by irods::impostor_resource::impostor_resource().

Here is the call graph for this function:

◆ impostor_file_closedir()

irods::error impostor_file_closedir ( irods::plugin_context _ctx)

Definition at line 107 of file irods_resource_plugin_impostor.cpp.

References irods::impostor_resource::report_error().

Referenced by irods::impostor_resource::impostor_resource().

Here is the call graph for this function:

◆ impostor_file_create()

irods::error impostor_file_create ( irods::plugin_context _ctx)

Definition at line 45 of file irods_resource_plugin_impostor.cpp.

References irods::impostor_resource::report_error().

Referenced by irods::impostor_resource::impostor_resource().

Here is the call graph for this function:

◆ impostor_file_getfs_freespace()

irods::error impostor_file_getfs_freespace ( irods::plugin_context _ctx)

Definition at line 40 of file irods_resource_plugin_impostor.cpp.

References irods::impostor_resource::report_error().

Referenced by irods::impostor_resource::impostor_resource().

Here is the call graph for this function:

◆ impostor_file_lseek()

irods::error impostor_file_lseek ( irods::plugin_context _ctx,
long long  ,
int   
)

Definition at line 85 of file irods_resource_plugin_impostor.cpp.

References irods::impostor_resource::report_error().

Referenced by irods::impostor_resource::impostor_resource().

Here is the call graph for this function:

◆ impostor_file_mkdir()

irods::error impostor_file_mkdir ( irods::plugin_context _ctx)

Definition at line 92 of file irods_resource_plugin_impostor.cpp.

References irods::impostor_resource::report_error().

Referenced by irods::impostor_resource::impostor_resource().

Here is the call graph for this function:

◆ impostor_file_modified()

irods::error impostor_file_modified ( irods::plugin_context )

Definition at line 29 of file irods_resource_plugin_impostor.cpp.

References SUCCESS.

Referenced by irods::impostor_resource::impostor_resource().

◆ impostor_file_notify()

irods::error impostor_file_notify ( irods::plugin_context ,
const std::string *   
)

Definition at line 34 of file irods_resource_plugin_impostor.cpp.

References SUCCESS.

Referenced by irods::impostor_resource::impostor_resource().

◆ impostor_file_open()

irods::error impostor_file_open ( irods::plugin_context _ctx)

Definition at line 50 of file irods_resource_plugin_impostor.cpp.

References irods::impostor_resource::report_error().

Referenced by irods::impostor_resource::impostor_resource().

Here is the call graph for this function:

◆ impostor_file_opendir()

irods::error impostor_file_opendir ( irods::plugin_context _ctx)

Definition at line 102 of file irods_resource_plugin_impostor.cpp.

References irods::impostor_resource::report_error().

Referenced by irods::impostor_resource::impostor_resource().

Here is the call graph for this function:

◆ impostor_file_read()

irods::error impostor_file_read ( irods::plugin_context _ctx,
void *  ,
int   
)

Definition at line 55 of file irods_resource_plugin_impostor.cpp.

References irods::impostor_resource::report_error().

Referenced by irods::impostor_resource::impostor_resource().

Here is the call graph for this function:

◆ impostor_file_readdir()

irods::error impostor_file_readdir ( irods::plugin_context _ctx,
struct rodsDirent **   
)

Definition at line 112 of file irods_resource_plugin_impostor.cpp.

References irods::impostor_resource::report_error().

Referenced by irods::impostor_resource::impostor_resource().

Here is the call graph for this function:

◆ impostor_file_rebalance()

irods::error impostor_file_rebalance ( irods::plugin_context _ctx)

Definition at line 382 of file irods_resource_plugin_impostor.cpp.

References SUCCESS.

Referenced by irods::impostor_resource::impostor_resource().

◆ impostor_file_registered()

irods::error impostor_file_registered ( irods::plugin_context )

Definition at line 19 of file irods_resource_plugin_impostor.cpp.

References SUCCESS.

Referenced by irods::impostor_resource::impostor_resource().

◆ impostor_file_rename()

irods::error impostor_file_rename ( irods::plugin_context _ctx,
const char *   
)

Definition at line 118 of file irods_resource_plugin_impostor.cpp.

References irods::impostor_resource::report_error().

Referenced by irods::impostor_resource::impostor_resource().

Here is the call graph for this function:

◆ impostor_file_resolve_hierarchy()

irods::error impostor_file_resolve_hierarchy ( irods::plugin_context _ctx,
const std::string *  _opr,
const std::string *  _curr_host,
irods::hierarchy_parser _out_parser,
float *  _out_vote 
)

◆ impostor_file_resolve_hierarchy_create()

irods::error impostor_file_resolve_hierarchy_create ( irods::plugin_property_map _prop_map,
const std::string &  _resc_name,
const std::string &  _curr_host,
float &  _out_vote 
)

Definition at line 143 of file irods_resource_plugin_impostor.cpp.

References ASSERT_PASS, irods::error::code(), irods::lookup_table< ValueType, KeyType, HashType >::get(), INT_RESC_STATUS_DOWN, LOG_DEBUG, irods::RESOURCE_LOCATION(), irods::RESOURCE_STATUS(), rodsLog(), SUCCESS, and SYS_RESC_IS_DOWN.

Referenced by impostor_file_resolve_hierarchy().

Here is the call graph for this function:

◆ impostor_file_resolve_hierarchy_open()

irods::error impostor_file_resolve_hierarchy_open ( irods::plugin_property_map _prop_map,
irods::file_object_ptr  _file_obj,
const std::string &  _resc_name,
const std::string &  _curr_host,
float &  _out_vote 
)

Definition at line 197 of file irods_resource_plugin_impostor.cpp.

References ASSERT_PASS, irods::error::code(), irods::lookup_table< ValueType, KeyType, HashType >::get(), INT_RESC_STATUS_DOWN, LOG_DEBUG, deploy_schemas_locally::parser, PASS, irods::RESOURCE_LOCATION(), irods::RESOURCE_STATUS(), rodsLog(), SUCCESS, and SYS_RESC_IS_DOWN.

Referenced by impostor_file_resolve_hierarchy().

Here is the call graph for this function:

◆ impostor_file_rmdir()

irods::error impostor_file_rmdir ( irods::plugin_context _ctx)

Definition at line 97 of file irods_resource_plugin_impostor.cpp.

References irods::impostor_resource::report_error().

Referenced by irods::impostor_resource::impostor_resource().

Here is the call graph for this function:

◆ impostor_file_stage_to_cache()

irods::error impostor_file_stage_to_cache ( irods::plugin_context _ctx,
const char *   
)

Definition at line 129 of file irods_resource_plugin_impostor.cpp.

References irods::impostor_resource::report_error().

Referenced by irods::impostor_resource::impostor_resource().

Here is the call graph for this function:

◆ impostor_file_stat()

irods::error impostor_file_stat ( irods::plugin_context _ctx,
struct stat *   
)

Definition at line 79 of file irods_resource_plugin_impostor.cpp.

References irods::impostor_resource::report_error().

Referenced by irods::impostor_resource::impostor_resource().

Here is the call graph for this function:

◆ impostor_file_sync_to_arch()

irods::error impostor_file_sync_to_arch ( irods::plugin_context _ctx,
const char *   
)

Definition at line 135 of file irods_resource_plugin_impostor.cpp.

References irods::impostor_resource::report_error().

Referenced by irods::impostor_resource::impostor_resource().

Here is the call graph for this function:

◆ impostor_file_truncate()

irods::error impostor_file_truncate ( irods::plugin_context _ctx)

Definition at line 124 of file irods_resource_plugin_impostor.cpp.

References irods::impostor_resource::report_error().

Referenced by irods::impostor_resource::impostor_resource().

Here is the call graph for this function:

◆ impostor_file_unlink()

irods::error impostor_file_unlink ( irods::plugin_context _ctx)

Definition at line 74 of file irods_resource_plugin_impostor.cpp.

References irods::impostor_resource::report_error().

Referenced by irods::impostor_resource::impostor_resource().

Here is the call graph for this function:

◆ impostor_file_unregistered()

irods::error impostor_file_unregistered ( irods::plugin_context )

Definition at line 24 of file irods_resource_plugin_impostor.cpp.

References SUCCESS.

Referenced by irods::impostor_resource::impostor_resource().

◆ impostor_file_write()

irods::error impostor_file_write ( irods::plugin_context _ctx,
void *  ,
int   
)

Definition at line 62 of file irods_resource_plugin_impostor.cpp.

References irods::impostor_resource::report_error().

Referenced by irods::impostor_resource::impostor_resource().

Here is the call graph for this function: