Example usage for org.apache.commons.jexl3 JexlEngine clearCache

List of usage examples for org.apache.commons.jexl3 JexlEngine clearCache

Introduction

In this page you can find the example usage for org.apache.commons.jexl3 JexlEngine clearCache.

Prototype

public abstract void clearCache();

Source Link

Document

Clears the expression cache.

Usage

From source file:org.apache.jmeter.functions.Jexl3Function.java

@Override
public void threadFinished() {
    JexlEngine engine = threadLocalJexl.get();
    if (engine != null) {
        engine.clearCache();
        threadLocalJexl.remove();//from w w w.  j  a va 2 s  .co  m
    }
}