Class: RotationUtils

@proceed/machine.Logging.RotationUtils

Class containing all functions to write to the logging_meta_data table

Methods

(async) addProcessLog(the)

Increases the currentLogs counter in the logging_meta_data by one for a given process

Parameters:
Name Type Description
the string

ID of the process that the operation is being performed for

Source:

(async) addProcessTable(the)

Increases the tables counter in the logging_meta_data by one for a given process

Parameters:
Name Type Description
the string

ID of the process that the operation is being performed for

Source:

(async) clearProcessLogs(the)

Sets the currentLogs counter in the logging_meta_data for a given process to 0

Parameters:
Name Type Description
the string

ID of the process that the operation is being performed for

Source:

(async) clearProcessTables(the)

Sets the tables counter in the logging_meta_data to 0 for a given process

Parameters:
Name Type Description
the string

ID of the process that the operation is being performed for

Source:

(async) clearStandardLogs()

Sets the standardLogs counter in the logging_meta_data to 0

Source:

(async) createProcessDataObject(the)

Creates an initial meta-data object for a given process

Parameters:
Name Type Description
the string

ID of the process that the operation is being performed for

Source:

(async) decreaseProcessTables(the, the)

Decreases the tables counter in the logging_meta_data by a given number for a given process

Parameters:
Name Type Description
the string

ID of the process that the operation is being performed for

the number

number that the tables counter will be decreased by

Source:

(async) incrementCurrentTableID(the)

Increases the currentTableID counter in the logging_meta_data by one for a given process

Parameters:
Name Type Description
the string

ID of the process that the operation is being performed for

Source:

(async) incrementStandardLog()

Increases the counter for standardLogs in the logging_meta_data by one

Source: