XPathQueryCacheLoader (Apache JMeter dist API)
Description: declaration: package: org.apache.jmeter.util, class: XPathQueryCacheLoader

Package org.apache.jmeter.util

# Class XPathQueryCacheLoader

java.lang.Object
org.apache.jmeter.util.XPathQueryCacheLoader

All Implemented Interfaces:
  `com.github.benmanes.caffeine.cache.AsyncCacheLoader<org.apache.commons.lang3.tuple.ImmutablePair<String,String>,net.sf.saxon.s9api.XPathExecutable>`, `com.github.benmanes.caffeine.cache.CacheLoader<org.apache.commons.lang3.tuple.ImmutablePair<String,String>,net.sf.saxon.s9api.XPathExecutable>`

public class XPathQueryCacheLoader extends Object implements com.github.benmanes.caffeine.cache.CacheLoader<org.apache.commons.lang3.tuple.ImmutablePair<String,String>,net.sf.saxon.s9api.XPathExecutable>
load method is called when the key composed of namespaces + xPathQuery is not in the cache. Return the compiled XPathQuery with the associated namespaces.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `XPathQueryCacheLoader()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `net.sf.saxon.s9api.XPathExecutable`
  `load(org.apache.commons.lang3.tuple.ImmutablePair<String,String> key)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface com.github.benmanes.caffeine.cache.CacheLoader

  `asyncLoad, asyncLoadAll, asyncReload, loadAll, reload`

- ## Constructor Details

  - ### XPathQueryCacheLoader

    public XPathQueryCacheLoader()

- ## Method Details

  - ### load

    public net.sf.saxon.s9api.XPathExecutable load(org.apache.commons.lang3.tuple.ImmutablePair<String,String> key) throws Exception
    Specified by:
      `load` in interface `com.github.benmanes.caffeine.cache.CacheLoader<org.apache.commons.lang3.tuple.ImmutablePair<String,String>,net.sf.saxon.s9api.XPathExecutable>`
    Throws:
      `Exception`