Class RiskStarterConfig

    • Field Detail

      • datastoreConfig

        @Autowired
        protected com.qfs.server.cfg.IDatastoreConfig datastoreConfig
      • apConfig

        @Autowired
        protected com.qfs.server.cfg.IActivePivotConfig apConfig
        ActivePivot spring configuration
      • riskPostProcessorConfig

        @Autowired
        protected RiskPostProcessorConfig riskPostProcessorConfig
        ActivePivot spring configuration
      • apCSConfig

        @Autowired
        protected com.qfs.server.cfg.content.IActivePivotContentServiceConfig apCSConfig
      • riskConfigProperties

        @Autowired
        @Qualifier("riskConfigProperties")
        protected Properties riskConfigProperties
      • env

        @Autowired
        protected org.springframework.core.env.Environment env
        Spring environment, automatically wired
    • Constructor Detail

      • RiskStarterConfig

        public RiskStarterConfig()
    • Method Detail

      • properties

        @Bean
        public static org.springframework.context.support.PropertySourcesPlaceholderConfigurer properties()
      • startManager

        @Bean
        public Void startManager()
                          throws Exception
        Initialize and start the ActivePivot Manager, after performing all the injections into the ActivePivot plug-ins.
        Returns:
        void
        Throws:
        Exception - any exception that occurred during the manager's start up
        See Also:
        apManagerInitPrerequisitePluginInjections()
      • JMXDatastoreEnabler

        @Bean
        public com.quartetfs.fwk.monitoring.jmx.impl.JMXEnabler JMXDatastoreEnabler()
        Enable JMX Monitoring for the Datastore
        Returns:
        the JMXEnabler attached to the datastore
      • JMXMemoryMonitoringServiceEnabler

        @Bean
        public com.quartetfs.fwk.monitoring.jmx.impl.JMXEnabler JMXMemoryMonitoringServiceEnabler()
      • JMXActivePivotEnabler

        @Bean
        @DependsOn("startManager")
        public com.quartetfs.fwk.monitoring.jmx.impl.JMXEnabler JMXActivePivotEnabler()
        Enable JMX Monitoring for ActivePivot Components
        Returns:
        the JMXEnabler attached to the activePivotManager
      • JMXActivePivotContentServiceEnabler

        @Bean
        public com.quartetfs.fwk.monitoring.jmx.impl.JMXEnabler JMXActivePivotContentServiceEnabler()
        Enable JMX Monitoring for the Content Service
        Returns:
        the JMXEnabler attached to the content service.
      • rebuild

        @Bean(initMethod="start",
              destroyMethod="stop")
        @Profile("(dist-data-node | !dist-query-node)")
        public com.quartetfs.biz.pivot.impl.PeriodicActivePivotSchemaRebuilder rebuild​(@Qualifier("Risk_SchemaName")
                                                                                       List<String> schemas)
        Example of bean which periodically rebuild the cubes.

        This method is OPTIONAL to the function of ActivePivot. In fact, the ActivePivot rebuild feature is used to reclaim space from append only structure of ActivePivot. It does not need to be called very often.

        Parameters:
        schemas - The schemas to rebuild.
        Returns:
        a bean which periodically rebuild the cubes
      • apManagerInitPrerequisitePluginInjections

        protected void apManagerInitPrerequisitePluginInjections()
                                                          throws Exception
        Throws:
        Exception
      • startMessengers

        @Bean
        @Profile("dist-data-node")
        @DependsOn("initialDataLoad")
        public Void startMessengers()
                             throws com.quartetfs.fwk.AgentException

        This starter bean ensures that the messengers are started only after initial CSV loading has completed. This spares us sending a lot of useless empty initial discovery messages to the query node as one or multiple data nodes are started at the same time. And in case the initial loading sequence comprises of multiple DS transactions, we also spare the sending of discovery messages for each and every transaction.

        Throws:
        com.quartetfs.fwk.AgentException - if an issue is raised in MultiVersionDataActivePivot.startDistribution().
      • propertySourcesPlaceholderConfigurer

        @Bean
        public static org.springframework.context.support.PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer()