Module jdk.dynalink

Class AbstractRelinkableCallSite

java.lang.Object
java.lang.invoke.CallSite
java.lang.invoke.MutableCallSite
jdk.dynalink.support.AbstractRelinkableCallSite
All Implemented Interfaces:
RelinkableCallSite
Direct Known Subclasses:
ChainedCallSite, SimpleRelinkableCallSite

public abstract class AbstractRelinkableCallSite
extends MutableCallSite
implements RelinkableCallSite
A basic implementation of the RelinkableCallSite as a MutableCallSite. It carries a CallSiteDescriptor passed in the constructor and provides the correct implementation of the RelinkableCallSite.initialize(MethodHandle) method. Subclasses must provide RelinkableCallSite.relink(GuardedInvocation, MethodHandle) and RelinkableCallSite.resetAndRelink(GuardedInvocation, MethodHandle) methods.