Represents a cacheable call site, which can reduce the cost of resolving methods
Constructor and description |
---|
CacheableCallSite
(MethodType type) |
Type Params | Return Type | Name and description |
---|---|---|
|
MethodHandleWrapper |
getAndPut(String className, org.codehaus.groovy.runtime.memoize.MemoizeCache.ValueProvider<? super String, ? extends MethodHandleWrapper> valueProvider) |
|
MethodHandle |
getDefaultTarget() |
|
MethodHandle |
getFallbackTarget() |
|
long |
incrementFallbackCount() |
|
MethodHandleWrapper |
put(String name, MethodHandleWrapper mhw) |
|
void |
resetFallbackCount() |
|
void |
setDefaultTarget(MethodHandle defaultTarget) |
|
void |
setFallbackTarget(MethodHandle fallbackTarget) |
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.