org.jruby.util
Class MethodCache

java.lang.Object
  extended by org.jruby.util.MethodCache

public class MethodCache
extends java.lang.Object


Nested Class Summary
static class MethodCache.CacheEntry
           
 
Constructor Summary
MethodCache()
           
 
Method Summary
 void clearCache()
           
 MethodCache.CacheEntry getMethod(RubyModule c, java.lang.String id)
           
 void initialized()
           
 void putMethod(RubyModule c, java.lang.String id, DynamicMethod m)
           
 void removeClass(RubyClass c)
           
 void removeMethod(RubyClass c, java.lang.String id)
           
 void removeMethod(java.lang.String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodCache

public MethodCache()
Method Detail

initialized

public void initialized()

clearCache

public void clearCache()

getMethod

public MethodCache.CacheEntry getMethod(RubyModule c,
                                        java.lang.String id)

putMethod

public void putMethod(RubyModule c,
                      java.lang.String id,
                      DynamicMethod m)

removeMethod

public void removeMethod(RubyClass c,
                         java.lang.String id)

removeMethod

public void removeMethod(java.lang.String id)

removeClass

public void removeClass(RubyClass c)


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