CAPIO-CL 1.4.0
CAPIO-CL: Cross Application Programmable I/O - Coordination Language
Loading...
Searching...
No Matches
capiocl::engine::CapioCLEntry Struct Referencefinal

Internal CAPIO-CL Engine storage entity. Each CapioCLEntry is an entry for a given file handled by CAPIO-CL. More...

#include <engine.h>

Public Member Functions

std::string toJson () const
 Serialize this entry to a JSON object returned as string to be sent over network.
CapioCLEntryoperator+= (const CapioCLEntry &rhs)
 add a new CapioClEntry to this one
CapioCLEntry operator+ (const CapioCLEntry &rhs)
 add a new CapioClEntry to this one
bool operator== (const CapioCLEntry &other)
 check for equality of rules
bool operator!= (const CapioCLEntry &other)
 check for inequality

Static Public Member Functions

static CapioCLEntry fromJson (const std::string &in)

Public Attributes

std::vector< std::string > producers
 Producers of file.
std::vector< std::string > consumers
 consumers of file
std::vector< std::filesystem::path > file_dependencies
 Dependencies for Commit.
std::string commit_rule = commitRules::ON_TERMINATION
 Commit rule.
std::string fire_rule = fireRules::UPDATE
 Fire rule.
long directory_children_count = 0
 Expected number of files in directory.
long commit_on_close_count = 0
 Expected close count.
bool enable_directory_count_update = true
 whether to update or not directory item count
bool store_in_memory = false
 Store in memory or on the file system.
bool permanent = false
 whether the file should persiste after workflow termination
bool excluded = false
 whether to ignore this entry
bool is_file = true
 whether this entry is a file or a directory

Detailed Description

Internal CAPIO-CL Engine storage entity. Each CapioCLEntry is an entry for a given file handled by CAPIO-CL.

Member Function Documentation

◆ fromJson()

capiocl::engine::CapioCLEntry capiocl::engine::CapioCLEntry::fromJson ( const std::string & in)
static

Generate a new CapioClEntry from a JSON input

Parameters
instring with JSON to be parsed
Returns
CapioClEntry with the input values

The documentation for this struct was generated from the following files: