readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
This method is used during serializion. When Tomcat is shutdown, Cocoon's in-memory
cache is serialized and written to disk to later be read back into memory on start
up. When this class is read back into memory the readObject(stream) method will be
called.
This method will re-read the serialization back into memory but it will then set
the assume validity time to zero. This means the next cache hit after a server startup
will never be assumed valid. Only after it has been checked once will the regular assume
validity mechanism be used.
- Throws:
IOException
ClassNotFoundException