org.objectweb.dream.pool
Interface Recyclable

All Known Subinterfaces:
Chunk, ExtensibleMessage, ExtensibleMessageNC, Message, MessageNC
All Known Implementing Classes:
AbstractChunk, AbstractExtensibleMessage, AbstractNonExtensibleMessage, AggregateMessageImpl, ChunkTypeImpl, ExtensibleMessageNCImpl

public interface Recyclable

This interface defines a method to recycle an object.


Method Summary
 void recycle()
          Recycles the object.
 

Method Detail

recycle

public void recycle()
Recycles the object. This consists in reseting all the fields of the object.



Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.