com.metamatrix.common.lob
Class BufferManagerLobChunkStream

java.lang.Object
  extended by com.metamatrix.common.lob.BufferManagerLobChunkStream
All Implemented Interfaces:
LobChunkProducer

public class BufferManagerLobChunkStream
extends java.lang.Object
implements LobChunkProducer


Constructor Summary
BufferManagerLobChunkStream(java.lang.String persitentId, BufferManager bufferMgr)
           
 
Method Summary
 void close()
          Close the underlaying stream of producing the chunks
 LobChunk getNextChunk()
          Gets the next LobChunk from the source, based on the chunk size configured
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferManagerLobChunkStream

public BufferManagerLobChunkStream(java.lang.String persitentId,
                                   BufferManager bufferMgr)
Method Detail

getNextChunk

public LobChunk getNextChunk()
                      throws java.io.IOException
Description copied from interface: LobChunkProducer
Gets the next LobChunk from the source, based on the chunk size configured

Specified by:
getNextChunk in interface LobChunkProducer
Returns:
LobChunk at position in the streamble object.
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Description copied from interface: LobChunkProducer
Close the underlaying stream of producing the chunks

Specified by:
close in interface LobChunkProducer
Throws:
java.io.IOException
See Also:
LobChunkProducer.close()


Copyright © 2009. All Rights Reserved.