Class PerBitTranslation
java.lang.Object
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.Compute
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.PerBitTranslation
- All Implemented Interfaces:
Serializable
Represents a PerBitTranslation computation task for monitoring.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPerBitTranslation(String type, @NonNull Integer column, @NonNull String bitList, @NonNull ITranslationTable translationTable) Construct a new instance of PerBitTranslation. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(IComputeProcessor computeProcessor) Accepts a compute processor for further processing.copy()Creates a copy of the current compute operation.toString()Returns a formatted string representation of the compute operation, indicating its type.voidupdate(UnaryOperator<String> updater) Updates the compute operation using the provided updater function.
-
Constructor Details
-
PerBitTranslation
public PerBitTranslation(String type, @NonNull @NonNull Integer column, @NonNull @NonNull String bitList, @NonNull @NonNull ITranslationTable translationTable) Construct a new instance of PerBitTranslation.- Parameters:
type- The type of the computation task.column- The column index used in the computation.bitList- The bit list associated with the PerBitTranslation task.translationTable- The translation table used for the PerBitTranslation computation.
-
-
Method Details
-
toString
Description copied from class:ComputeReturns a formatted string representation of the compute operation, indicating its type. -
copy
Description copied from class:ComputeCreates a copy of the current compute operation. -
update
Description copied from class:ComputeUpdates the compute operation using the provided updater function. -
accept
Description copied from class:ComputeAccepts a compute processor for further processing.
-