org.jruby.runtime
Class CallSite.InlineCachingCallSite

java.lang.Object
  extended by org.jruby.runtime.CallSite
      extended by org.jruby.runtime.CallSite.InlineCachingCallSite
All Implemented Interfaces:
CacheMap.CacheSite
Direct Known Subclasses:
CallSite.DivCallSite, CallSite.GeCallSite, CallSite.GtCallSite, CallSite.LeCallSite, CallSite.LtCallSite, CallSite.MinusCallSite, CallSite.MulCallSite, CallSite.PlusCallSite
Enclosing class:
CallSite

public static class CallSite.InlineCachingCallSite
extends CallSite
implements CacheMap.CacheSite


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jruby.runtime.CallSite
CallSite.DivCallSite, CallSite.GeCallSite, CallSite.GtCallSite, CallSite.InlineCachingCallSite, CallSite.LeCallSite, CallSite.LtCallSite, CallSite.MinusCallSite, CallSite.MulCallSite, CallSite.PlusCallSite
 
Field Summary
 
Fields inherited from class org.jruby.runtime.CallSite
callType, methodID, methodName
 
Constructor Summary
CallSite.InlineCachingCallSite(java.lang.String methodName, CallType callType)
           
 
Method Summary
protected  IRubyObject cacheAndCall(RubyClass selfType, Block block, IRubyObject[] args, ThreadContext context, IRubyObject self)
           
protected  IRubyObject cacheAndCall(RubyClass selfType, Block block, ThreadContext context, IRubyObject self)
           
protected  IRubyObject cacheAndCall(RubyClass selfType, Block block, ThreadContext context, IRubyObject self, IRubyObject arg)
           
protected  IRubyObject cacheAndCall(RubyClass selfType, Block block, ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2)
           
protected  IRubyObject cacheAndCall(RubyClass selfType, Block block, ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3)
           
protected  IRubyObject cacheAndCall(RubyClass selfType, IRubyObject[] args, ThreadContext context, IRubyObject self)
           
protected  IRubyObject cacheAndCall(RubyClass selfType, ThreadContext context, IRubyObject self)
           
protected  IRubyObject cacheAndCall(RubyClass selfType, ThreadContext context, IRubyObject self, IRubyObject arg)
           
protected  IRubyObject cacheAndCall(RubyClass selfType, ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2)
           
protected  IRubyObject cacheAndCall(RubyClass selfType, ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3)
           
 IRubyObject call(ThreadContext context, IRubyObject self)
           
 IRubyObject call(ThreadContext context, IRubyObject self, Block block)
           
 IRubyObject call(ThreadContext context, IRubyObject self, IRubyObject arg1)
           
 IRubyObject call(ThreadContext context, IRubyObject self, IRubyObject[] args)
           
 IRubyObject call(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block)
           
 IRubyObject call(ThreadContext context, IRubyObject self, IRubyObject arg1, Block block)
           
 IRubyObject call(ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2)
           
 IRubyObject call(ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2, Block block)
           
 IRubyObject call(ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3)
           
 IRubyObject call(ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, Block block)
           
 void removeCachedMethod()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallSite.InlineCachingCallSite

public CallSite.InlineCachingCallSite(java.lang.String methodName,
                                      CallType callType)
Method Detail

cacheAndCall

protected IRubyObject cacheAndCall(RubyClass selfType,
                                   Block block,
                                   IRubyObject[] args,
                                   ThreadContext context,
                                   IRubyObject self)

cacheAndCall

protected IRubyObject cacheAndCall(RubyClass selfType,
                                   IRubyObject[] args,
                                   ThreadContext context,
                                   IRubyObject self)

cacheAndCall

protected IRubyObject cacheAndCall(RubyClass selfType,
                                   ThreadContext context,
                                   IRubyObject self)

cacheAndCall

protected IRubyObject cacheAndCall(RubyClass selfType,
                                   Block block,
                                   ThreadContext context,
                                   IRubyObject self)

cacheAndCall

protected IRubyObject cacheAndCall(RubyClass selfType,
                                   ThreadContext context,
                                   IRubyObject self,
                                   IRubyObject arg)

cacheAndCall

protected IRubyObject cacheAndCall(RubyClass selfType,
                                   Block block,
                                   ThreadContext context,
                                   IRubyObject self,
                                   IRubyObject arg)

cacheAndCall

protected IRubyObject cacheAndCall(RubyClass selfType,
                                   ThreadContext context,
                                   IRubyObject self,
                                   IRubyObject arg1,
                                   IRubyObject arg2)

cacheAndCall

protected IRubyObject cacheAndCall(RubyClass selfType,
                                   Block block,
                                   ThreadContext context,
                                   IRubyObject self,
                                   IRubyObject arg1,
                                   IRubyObject arg2)

cacheAndCall

protected IRubyObject cacheAndCall(RubyClass selfType,
                                   ThreadContext context,
                                   IRubyObject self,
                                   IRubyObject arg1,
                                   IRubyObject arg2,
                                   IRubyObject arg3)

cacheAndCall

protected IRubyObject cacheAndCall(RubyClass selfType,
                                   Block block,
                                   ThreadContext context,
                                   IRubyObject self,
                                   IRubyObject arg1,
                                   IRubyObject arg2,
                                   IRubyObject arg3)

removeCachedMethod

public void removeCachedMethod()
Specified by:
removeCachedMethod in interface CacheMap.CacheSite

call

public IRubyObject call(ThreadContext context,
                        IRubyObject self,
                        IRubyObject[] args)
Specified by:
call in class CallSite

call

public IRubyObject call(ThreadContext context,
                        IRubyObject self,
                        IRubyObject[] args,
                        Block block)
Specified by:
call in class CallSite

call

public IRubyObject call(ThreadContext context,
                        IRubyObject self)
Specified by:
call in class CallSite

call

public IRubyObject call(ThreadContext context,
                        IRubyObject self,
                        Block block)
Specified by:
call in class CallSite

call

public IRubyObject call(ThreadContext context,
                        IRubyObject self,
                        IRubyObject arg1)
Specified by:
call in class CallSite

call

public IRubyObject call(ThreadContext context,
                        IRubyObject self,
                        IRubyObject arg1,
                        Block block)
Specified by:
call in class CallSite

call

public IRubyObject call(ThreadContext context,
                        IRubyObject self,
                        IRubyObject arg1,
                        IRubyObject arg2)
Specified by:
call in class CallSite

call

public IRubyObject call(ThreadContext context,
                        IRubyObject self,
                        IRubyObject arg1,
                        IRubyObject arg2,
                        Block block)
Specified by:
call in class CallSite

call

public IRubyObject call(ThreadContext context,
                        IRubyObject self,
                        IRubyObject arg1,
                        IRubyObject arg2,
                        IRubyObject arg3)
Specified by:
call in class CallSite

call

public IRubyObject call(ThreadContext context,
                        IRubyObject self,
                        IRubyObject arg1,
                        IRubyObject arg2,
                        IRubyObject arg3,
                        Block block)
Specified by:
call in class CallSite


Copyright © 2002-2007 JRuby Team. All Rights Reserved.