wrench::ProxyLocation

class ProxyLocation : public wrench::FileLocation

A specialized FileLocation for use by the Proxy.

Public Members

const std::shared_ptr<StorageService> target

The proxy location’s target.

Public Static Functions

static inline std::shared_ptr<ProxyLocation> LOCATION(const std::shared_ptr<StorageService> &target, const std::shared_ptr<FileLocation> &other)

Location specifier for a proxy.

Parameters:
  • target – a (remote) storage service to access, which overrides the default remote service (if any) of the proxy

  • other – a file location whose storage service should be the proxy

Returns:

a proxy location

static inline std::shared_ptr<ProxyLocation> LOCATION(const std::shared_ptr<StorageService> &target, const std::shared_ptr<StorageService> &ss, const std::shared_ptr<DataFile> &file)

Location specifier for a proxy.

Parameters:
  • target – a (remote) storage service to access, which overrides the default remote service (if any) of the proxy

  • ss – The proxy

  • file – The file

Returns:

a proxy location

static inline std::shared_ptr<ProxyLocation> LOCATION(const std::shared_ptr<StorageService> &target, const std::shared_ptr<StorageService> &ss, const std::string &path, const std::shared_ptr<DataFile> &file)

Location specifier for a proxy.

Parameters:
  • target – a (remote) storage service to access, which overrides the default remote service (if any) of the proxy

  • ss – The proxy

  • path – The path

  • file – The file

Returns:

a proxy location