Package org.jruby.runtime.callsite
Class ModCallSite
java.lang.Object
org.jruby.runtime.CallSite
org.jruby.runtime.callsite.CachingCallSite
org.jruby.runtime.callsite.ModCallSite
-
Field Summary
FieldsFields inherited from class org.jruby.runtime.callsite.CachingCallSite
builtinCache, cacheFields inherited from class org.jruby.runtime.CallSite
callType, methodName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall(ThreadContext context, IRubyObject caller, IRubyObject self, double arg1) Call the site's method against the target object, passing a literal double value.call(ThreadContext context, IRubyObject caller, IRubyObject self, long arg1) Call the site's method against the target object, passing a literal long value.call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1) Call the site's method against the target object passing one argument.final CacheEntrybooleanisBuiltin(IRubyObject self) booleanfinal CacheEntryprotected CacheEntrysetCache(CacheEntry entry, IRubyObject self) protected CacheEntrysetSecondaryCache(CacheEntry entry, IRubyObject self) Methods inherited from class org.jruby.runtime.callsite.CachingCallSite
cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, call, call, call, call, call, call, call, call, call, callIter, callIter, callIter, callIter, callIter, callVarargs, callVarargs, callVarargsIter, fcall, fcall, fcall, fcall, fcall, fcall, fcall, fcall, fcall, fcall, fcallIter, fcallIter, fcallIter, fcallIter, fcallIter, fcallVarargs, fcallVarargs, fcallVarargsIter, getCache, getCachedClassIndex, getCachedMethodSerial, getClass, getMethodName, isBuiltin, isOptimizable, methodMissing, retrieveCache, retrieveCache, retrieveCache
-
Field Details
-
secondaryCache
-
-
Constructor Details
-
ModCallSite
public ModCallSite()
-
-
Method Details
-
call
Description copied from class:CallSiteCall the site's method against the target object, passing a literal long value.- Overrides:
callin classCachingCallSite- Parameters:
context- the ThreadContext for the current threadcaller- the caller, for visibility checksself- the target object to call againstarg1- the literal long value to pass- Returns:
- the result of the call
-
call
public IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1) Description copied from class:CallSiteCall the site's method against the target object passing one argument.- Overrides:
callin classCachingCallSite- Parameters:
context- the ThreadContext for the current threadcaller- the caller, for visibility checksself- the target object to call againstarg1- the argument to pass- Returns:
- the result of the call
-
call
Description copied from class:CallSiteCall the site's method against the target object, passing a literal double value.- Overrides:
callin classCachingCallSite- Parameters:
context- the ThreadContext for the current threadcaller- the caller, for visibility checksself- the target object to call againstarg1- the literal double value to pass- Returns:
- the result of the call
-
setCache
- Overrides:
setCachein classCachingCallSite
-
setSecondaryCache
-
isBuiltin
- Overrides:
isBuiltinin classCachingCallSite
-
isSecondaryBuiltin
-
getSecondaryCache
-
retrieveSecondaryCache
-