Class NodeStringLengthWorker

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    public class NodeStringLengthWorker
    extends java.lang.Object
    implements org.springframework.context.ApplicationContextAware

    Max String Length Worker

    What it is

    A worker for a scheduled job that checks and adjusts string storage for persisted strings in the system.

    Settings that control the behaviour

    • ${system.maximumStringLength} - the maximum length of a string that can be persisted in the *alf_node_properties.string_value* column.
    • ${system.maximumStringLength.jobQueryRange} - the node ID range to query for. The process will repeat from the first to the last node, querying for up to this many nodes. Only reduce the value if the NodeDAO query takes a long time.
    • ${system.maximumStringLength.jobThreadCount} - the number of threads that will handle persistence checks and changes. Increase or decrease this to allow for free CPU capacity on the machine executing the job.

    How to use it

    sdfsf
    Since:
    4.1.9.2
    Author:
    Derek Hulley
    • Method Detail

      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        Set the application context for event publishing during batch processing
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException