if (Thread.currentThread() != NginxClojureRT.NGINX_MAIN_THREAD) {
throw new IllegalAccessError("fetching lazy value of " + array[i] + " in LazyRequestMap can only be called in main thread, please pre-access it in main thread OR call LazyRequestMap.prefetchAll() first in main thread");
}
RequestVarFetcher rf = (RequestVarFetcher) o;
array[i+1] = null;
Object rt = rf.fetch(r, DEFAULT_ENCODING);
array[i+1] = rt;
// System.out.println("LazyRequestMap, key=" + rt);
return rt;
}
// System.out.println("LazyRequestMap, key=" + array[i] + ", val=" + o);