MaintainAreaStatsInterceptor

Main N4 Entity

ExchangeArea

Functionality

Road Module

Description

The user should create the groovy-plugin MaintainAreaStatsInterceptor to to skip the statistics for calculating the truck visit details and record log messages. The MaintainAreaStatsInterceptor Groovy Plug-in improves the speed of the gate operations by skipping the calculations for the truck visit statistics. To execute the MaintainAreaStats business task, it should be included in the gate configuration.

Method(s)

Execute(Map)

Injected Data

(key="TruckVisitDetails", value=TruckVisitDetails) 
(key="TruckVisitExchangeArea", value=TruckVisitExchangeArea)

Example

import org.apache.log4j.Logger;



/**

 * MaintainAreaStatsInterceptor to skip the calculation of statistics

 */

public class MaintainAreaStatsInterceptor {

    /**

     * method to skip the calculation of statistics

     * @param inParam inParam

     */

    public void execute(Map inParam) {

        LOGGER.debug("MaintainAreaStats Calculation skipped");

    }

    private static final Logger LOGGER = Logger.getLogger(MaintainAreaStatsInterceptor.class);

}

The MaintainAreaStatsInterceptor Groovy Plug-in is not system-seeded and is not available in N4 by default. You must contact Navis Support for the file.

Availability

3.5+