public class CacheableCallSite extends MutableCallSite
Constructor and Description |
---|
CacheableCallSite(MethodType type) |
Modifier and Type | Method and Description |
---|---|
org.codehaus.groovy.vmplugin.v8.MethodHandleWrapper |
getAndPut(String className,
MemoizeCache.ValueProvider<? super String,? extends org.codehaus.groovy.vmplugin.v8.MethodHandleWrapper> valueProvider) |
MethodHandle |
getDefaultTarget() |
MethodHandle |
getFallbackTarget() |
long |
incrementFallbackCount() |
org.codehaus.groovy.vmplugin.v8.MethodHandleWrapper |
put(String name,
org.codehaus.groovy.vmplugin.v8.MethodHandleWrapper mhw) |
void |
resetFallbackCount() |
void |
setDefaultTarget(MethodHandle defaultTarget) |
void |
setFallbackTarget(MethodHandle fallbackTarget) |
dynamicInvoker, getTarget, setTarget, syncAll
public CacheableCallSite(MethodType type)
public org.codehaus.groovy.vmplugin.v8.MethodHandleWrapper getAndPut(String className, MemoizeCache.ValueProvider<? super String,? extends org.codehaus.groovy.vmplugin.v8.MethodHandleWrapper> valueProvider)
public org.codehaus.groovy.vmplugin.v8.MethodHandleWrapper put(String name, org.codehaus.groovy.vmplugin.v8.MethodHandleWrapper mhw)
public long incrementFallbackCount()
public void resetFallbackCount()
public MethodHandle getDefaultTarget()
public void setDefaultTarget(MethodHandle defaultTarget)
public MethodHandle getFallbackTarget()
public void setFallbackTarget(MethodHandle fallbackTarget)