Initializing help system before first use

SimulationServiceRequestProcessor

  • java.lang.Object
    • com.fico.xpress.simulation.internal.SimulationServiceRequestProcessor

  • @Component
    public class SimulationServiceRequestProcessor
    extends Object
    A service class that spawns a task to process a given request. The service uses a thread pool to manage the number of concurrent requests performed on the rule engine server. Each request is executed in a separate thread.
    See Also:
    SimulationServiceFactory
    • Constructor Detail

      • SimulationServiceRequestProcessor

        public SimulationServiceRequestProcessor()
    • Method Detail

      • execute

        public String execute​(SimulationRequest simulationRequest)
                       throws SimulationException
        Invoke the rule execution server synchronously. This function is the one that is called from RuleServiceController and RuleServiceApplication.
        Parameters:
        simulationRequest - The request object.
        Returns:
        Response string after rule execution.
        Throws:
        SimulationException - Thrown if an exception occurs during rule execution.
      • executeAsync

        public Future<String> executeAsync​(SimulationRequest simulationRequest)
        Invoke the rule execution server asynchronously with the XML string provided
        Parameters:
        simulationRequest - The request object.
        Returns:
        the future object to use to query the response string after rule execution

© 2001-2022 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.