com.caucho.quercus.env
Class CopyRoot

java.lang.Object
  extended by com.caucho.quercus.env.CopyRoot
All Implemented Interfaces:
EnvCleanup

public class CopyRoot
extends java.lang.Object
implements EnvCleanup

Root for saving copy information for the serialization cache.


Constructor Summary
CopyRoot(UnserializeCacheEntry entry)
           
 
Method Summary
 void allocate(Env env)
           
 void cleanup()
           
 Value getCopy(Value value)
           
 Value getRoot()
          Returns the root
 boolean isModified()
          True if it's modified
 void putCopy(Value value, Value copy)
           
 void setModified()
          Indicate that the contents are modified
 void setRoot(Value root)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyRoot

public CopyRoot(UnserializeCacheEntry entry)
Method Detail

setModified

public void setModified()
Indicate that the contents are modified


isModified

public boolean isModified()
True if it's modified


getRoot

public Value getRoot()
Returns the root


setRoot

public void setRoot(Value root)

putCopy

public void putCopy(Value value,
                    Value copy)

getCopy

public Value getCopy(Value value)

allocate

public void allocate(Env env)

cleanup

public void cleanup()
             throws java.lang.Exception
Specified by:
cleanup in interface EnvCleanup
Throws:
java.lang.Exception