org.jruby.runtime.marshal
Class MarshalCache
java.lang.Object
org.jruby.runtime.marshal.MarshalCache
public class MarshalCache
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MarshalCache
public MarshalCache()
isRegistered
public boolean isRegistered(IRubyObject value)
isSymbolRegistered
public boolean isSymbolRegistered(java.lang.String sym)
register
public void register(IRubyObject value)
registerSymbol
public void registerSymbol(java.lang.String sym)
writeLink
public void writeLink(MarshalStream output,
IRubyObject value)
throws java.io.IOException
- Throws:
java.io.IOException
writeSymbolLink
public void writeSymbolLink(MarshalStream output,
java.lang.String sym)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2002-2009 JRuby Team. All Rights Reserved.