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) 
|
Go to the documentation of this file. 1 #ifndef __IRODS_RESOURCE_MANAGER_HPP__
2 #define __IRODS_RESOURCE_MANAGER_HPP__
125 template<
typename value_type >
146 error ret = itr->second->get_property< value_type >( _prop,
value );
154 if ( _value ==
value ) {
164 std::stringstream msg;
165 msg <<
"resource_manager::resolve_from_property - ";
166 msg <<
"failed to get vault parameter from resource";
175 if (
true == found && _resc.get() ) {
179 std::stringstream msg;
180 msg <<
"failed to find resource for property [";
182 msg <<
"] and value [";
225 std::vector< std::string >&,
226 std::vector<pdmo_type>& );
247 #endif // __IRODS_RESOURCE_MANAGER_HPP__
error get_hier_to_root_for_resc(const std::string &, std::string &)
const std::string LOCAL_USE_ONLY_RESOURCE_TYPE("unixfilesystem")
error is_coordinating_resource(const std::string &, bool &)
error init_from_type(std::string, std::string, std::string, std::string, resource_ptr &)
const std::string EMPTY_RESC_PATH("EMPTY_RESC_PATH")
error init_from_catalog(rsComm_t *)
void print_local_resources()
const std::string EMPTY_RESC_HOST("EMPTY_RESC_HOST")
boost::shared_ptr< resource > resource_ptr
lookup_table< resource_ptr >::iterator iterator
error load_resource_plugin(resource_ptr &, const std::string, const std::string, const std::string)
int call_maintenance_operations(rcComm_t *)
lookup_table< resource_ptr, long, std::hash< long > > resource_id_map_
#define PASSMSG(message_, prev_error_)
@ SYS_INVALID_INPUT_PARAM
error gather_operations(void)
std::vector< std::vector< pdmo_type > > maintenance_operations_
virtual ~resource_manager()
error get_parent_name(resource_ptr, std::string &)
error gather_leaf_bundle_for_child(const std::string &, leaf_bundle_t &)
std::vector< leaf_bundle_t > gather_leaf_bundles_for_resc(const std::string &_resource_name)
const std::string RESOURCE_INTERFACE("irods_resource_interface")
error shut_down_resources()
@ SYS_RESC_DOES_NOT_EXIST
bool need_maintenance_operations()
error validate_vault_path(std::string, rodsServerHost_t *, std::string &)
std::vector< std::string > get_all_resc_hierarchies(void)
error resolve(std::string, resource_ptr &)
std::vector< rodsLong_t > leaf_bundle_t
error start_resource_plugins(void)
error init_child_map(void)
#define ERROR(code_, message_)
error leaf_id_to_hier(const rodsLong_t &, std::string &)
error gather_operations_recursive(const std::string &, std::vector< std::string > &, std::vector< pdmo_type > &)
private - lower level recursive call to gather the post disconnect
error hier_to_leaf_id(const std::string &, rodsLong_t &)
lookup_table< resource_ptr > resource_name_map_
error process_init_results(genQueryOut_t *)
error resolve_from_property(std::string _prop, value_type _value, resource_ptr &_resc)
const std::string LOCAL_USE_ONLY_RESOURCE("LOCAL_USE_ONLY_RESOURCE")
error get_root_resources(std::vector< std::string > &)
const std::string LOCAL_USE_ONLY_RESOURCE_VAULT("/var/lib/irods/LOCAL_USE_ONLY_RESOURCE_VAULT")
resource_manager::leaf_bundle_t leaf_bundle_t
error resc_id_to_name(const rodsLong_t &, std::string &)