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)  

load_balanced_resource Class Reference
Inheritance diagram for load_balanced_resource:
Collaboration diagram for load_balanced_resource:

Public Member Functions

 load_balanced_resource (const std::string &_inst_name, const std::string &_context)
irods::error need_post_disconnect_maintenance_operation (bool &_flg)
irods::error post_disconnect_maintenance_operation (irods::pdmo_type &)
- Public Member Functions inherited from irods::resource
 resource (const std::string &_inst, const std::string &_ctx)
virtual ~resource ()
 resource (const resource &_rhs)
resourceoperator= (const resource &_rhs)
virtual error add_child (const std::string &, const std::string &, resource_ptr)
virtual error remove_child (const std::string &)
virtual size_t num_children ()
virtual bool has_child (const std::string &_name)
virtual void children (std::vector< std::string > &)
virtual error set_parent (const resource_ptr &)
virtual error get_parent (resource_ptr &)
- Public Member Functions inherited from irods::plugin_base
 plugin_base (const std::string &_n, const std::string &_c)
 plugin_base (const plugin_base &_rhs)
plugin_baseoperator= (const plugin_base &_rhs)
virtual ~plugin_base ()
error enumerate_operations (std::vector< std::string > &_ops)
const std::string & context_string () const
double interface_version () const
error add_operation (const std::string &_op, std::function< error(plugin_context &)> _f)
template<typename... types_t>
error add_operation (const std::string &_op, std::function< error(plugin_context &, types_t...)> _f)
template<typename... types_t>
error call (rsComm_t *_comm, const std::string &_operation_name, irods::first_class_object_ptr _fco, types_t... _t)
template<typename T >
error get_property (const std::string &_key, T &_val)
template<typename T >
error set_property (const std::string &_key, const T &_val)
void set_start_operation (maintenance_operation_t _op)
void set_stop_operation (maintenance_operation_t _op)
error start_operation ()
error stop_operation ()

Additional Inherited Members

- Protected Attributes inherited from irods::resource
resource_child_map children_
resource_ptr parent_
- Protected Attributes inherited from irods::plugin_base
std::string context_
std::string instance_name_
double interface_version_
plugin_property_map properties_
std::vector< std::pair< std::string, std::string > > ops_for_delay_load_
lookup_table< boost::any > operations_
maintenance_operation_t start_operation_
maintenance_operation_t stop_operation_

Detailed Description

Definition at line 1001 of file libload_balanced.cpp.

Constructor & Destructor Documentation

◆ load_balanced_resource()

load_balanced_resource::load_balanced_resource ( const std::string &  _inst_name,
const std::string &  _context 

Definition at line 1003 of file libload_balanced.cpp.

References DEFER_POLICY_KEY(), DEFER_POLICY_LOCALHOST(), LOG_DEBUG, LOG_ERROR, irods::error::ok(), irods::parse_kvp_string(), irods::plugin_base::properties_, rodsLog(), and irods::lookup_table< ValueType, KeyType, HashType >::set().

Here is the call graph for this function:

Member Function Documentation

◆ need_post_disconnect_maintenance_operation()

irods::error load_balanced_resource::need_post_disconnect_maintenance_operation ( bool &  _b)


Description:\n interface to determine if a PDMO is necessary

Reimplemented from irods::plugin_base.

Definition at line 1039 of file libload_balanced.cpp.

References ERROR.

◆ post_disconnect_maintenance_operation()

irods::error load_balanced_resource::post_disconnect_maintenance_operation ( irods::pdmo_type )
Description:\n interface to create and register a PDMO

Reimplemented from irods::plugin_base.

Definition at line 1046 of file libload_balanced.cpp.

References ERROR.

The documentation for this class was generated from the following file: