Class CacheableCallSite


  • @Deprecated
    public class CacheableCallSite
    extends MutableCallSite
    Deprecated.
    Represents a cacheable call site, which can reduce the cost of resolving methods
    Since:
    3.0.0
    • Constructor Detail

      • CacheableCallSite

        public CacheableCallSite​(MethodType type)
        Deprecated.
    • Method Detail

      • getAndPut

        public org.codehaus.groovy.vmplugin.v7.MethodHandleWrapper getAndPut​(String className,
                                                                             MemoizeCache.ValueProvider<? super String,​? extends org.codehaus.groovy.vmplugin.v7.MethodHandleWrapper> valueProvider)
        Deprecated.
      • put

        public org.codehaus.groovy.vmplugin.v7.MethodHandleWrapper put​(String name,
                                                                       org.codehaus.groovy.vmplugin.v7.MethodHandleWrapper mhw)
        Deprecated.
      • incrementFallbackCount

        public long incrementFallbackCount()
        Deprecated.
      • resetFallbackCount

        public void resetFallbackCount()
        Deprecated.
      • getDefaultTarget

        public MethodHandle getDefaultTarget()
        Deprecated.
      • setDefaultTarget

        public void setDefaultTarget​(MethodHandle defaultTarget)
        Deprecated.
      • getFallbackTarget

        public MethodHandle getFallbackTarget()
        Deprecated.
      • setFallbackTarget

        public void setFallbackTarget​(MethodHandle fallbackTarget)
        Deprecated.