| <?xml version='1.0' encoding='UTF-8' standalone='no'?> |
| <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.9.8" xml:lang="en-US"> |
| <compounddef id="classpaimon_1_1_executor" kind="class" language="C++" prot="public" abstract="yes"> |
| <compoundname>paimon::Executor</compoundname> |
| <includes refid="executor_8h" local="no">/home/runner/work/paimon-cpp/paimon-cpp/include/paimon/executor.h</includes> |
| <sectiondef kind="public-func"> |
| <memberdef kind="function" id="classpaimon_1_1_executor_1a6316d1ac002a423db576b154938f574b" prot="public" static="no" const="no" explicit="no" inline="no" virt="virtual"> |
| <type></type> |
| <definition>virtual paimon::Executor::~Executor</definition> |
| <argsstring>()=default</argsstring> |
| <name>~Executor</name> |
| <qualifiedname>paimon::Executor::~Executor</qualifiedname> |
| <briefdescription> |
| </briefdescription> |
| <detaileddescription> |
| </detaileddescription> |
| <inbodydescription> |
| </inbodydescription> |
| <location file="/home/runner/work/paimon-cpp/paimon-cpp/include/paimon/executor.h" line="48" column="13"/> |
| </memberdef> |
| <memberdef kind="function" id="classpaimon_1_1_executor_1a4c7e16d3ca5e9287a41fd07f4925d51e" prot="public" static="no" const="no" explicit="no" inline="no" virt="pure-virtual"> |
| <type><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">void</ref></type> |
| <definition>virtual void paimon::Executor::Add</definition> |
| <argsstring>(std::function< void()> func)=0</argsstring> |
| <name>Add</name> |
| <qualifiedname>paimon::Executor::Add</qualifiedname> |
| <param> |
| <type>std::function< <ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">void</ref>()></type> |
| <declname>func</declname> |
| </param> |
| <briefdescription> |
| <para>Add a task to the executor. </para> |
| </briefdescription> |
| <detaileddescription> |
| <para><parameterlist kind="param"><parameteritem> |
| <parameternamelist> |
| <parametername>func</parametername> |
| </parameternamelist> |
| <parameterdescription> |
| <para>The task to be executed, represented as a function object with no parameters and no return value.</para> |
| </parameterdescription> |
| </parameteritem> |
| </parameterlist> |
| <simplesect kind="note"><para>This method should be thread-safe and can be called from multiple threads simultaneously. </para> |
| </simplesect> |
| </para> |
| </detaileddescription> |
| <inbodydescription> |
| </inbodydescription> |
| <location file="/home/runner/work/paimon-cpp/paimon-cpp/include/paimon/executor.h" line="57" column="18"/> |
| </memberdef> |
| <memberdef kind="function" id="classpaimon_1_1_executor_1ae202509cebc0112477380244c0dacb2d" prot="public" static="no" const="no" explicit="no" inline="no" virt="pure-virtual"> |
| <type><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">void</ref></type> |
| <definition>virtual void paimon::Executor::ShutdownNow</definition> |
| <argsstring>()=0</argsstring> |
| <name>ShutdownNow</name> |
| <qualifiedname>paimon::Executor::ShutdownNow</qualifiedname> |
| <briefdescription> |
| <para>Shutdown the executor immediately, discarding all pending tasks. </para> |
| </briefdescription> |
| <detaileddescription> |
| </detaileddescription> |
| <inbodydescription> |
| </inbodydescription> |
| <location file="/home/runner/work/paimon-cpp/paimon-cpp/include/paimon/executor.h" line="60" column="18"/> |
| </memberdef> |
| <memberdef kind="function" id="classpaimon_1_1_executor_1abd02630e9388b176d7be9b0abbd9a829" prot="public" static="no" const="yes" explicit="no" inline="no" virt="pure-virtual"> |
| <type><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">uint32_t</ref></type> |
| <definition>virtual uint32_t paimon::Executor::GetThreadNum</definition> |
| <argsstring>() const =0</argsstring> |
| <name>GetThreadNum</name> |
| <qualifiedname>paimon::Executor::GetThreadNum</qualifiedname> |
| <briefdescription> |
| <para>Get thread number. </para> |
| </briefdescription> |
| <detaileddescription> |
| </detaileddescription> |
| <inbodydescription> |
| </inbodydescription> |
| <location file="/home/runner/work/paimon-cpp/paimon-cpp/include/paimon/executor.h" line="63" column="22"/> |
| </memberdef> |
| </sectiondef> |
| <briefdescription> |
| <para>Interface class for defining basic operations of a task executor. </para> |
| </briefdescription> |
| <detaileddescription> |
| <para>The <ref refid="classpaimon_1_1_executor" kindref="compound">Executor</ref> class provides interfaces for adding tasks and waiting for all tasks to complete. </para> |
| </detaileddescription> |
| <location file="/home/runner/work/paimon-cpp/paimon-cpp/include/paimon/executor.h" line="46" column="1" bodyfile="/home/runner/work/paimon-cpp/paimon-cpp/include/paimon/executor.h" bodystart="46" bodyend="64"/> |
| <listofallmembers> |
| <member refid="classpaimon_1_1_executor_1a4c7e16d3ca5e9287a41fd07f4925d51e" prot="public" virt="pure-virtual"><scope>paimon::Executor</scope><name>Add</name></member> |
| <member refid="classpaimon_1_1_executor_1abd02630e9388b176d7be9b0abbd9a829" prot="public" virt="pure-virtual"><scope>paimon::Executor</scope><name>GetThreadNum</name></member> |
| <member refid="classpaimon_1_1_executor_1ae202509cebc0112477380244c0dacb2d" prot="public" virt="pure-virtual"><scope>paimon::Executor</scope><name>ShutdownNow</name></member> |
| <member refid="classpaimon_1_1_executor_1a6316d1ac002a423db576b154938f574b" prot="public" virt="virtual"><scope>paimon::Executor</scope><name>~Executor</name></member> |
| </listofallmembers> |
| </compounddef> |
| </doxygen> |