public interface ChunkProvider
MarshallerFactory
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the chunk provider.
|
Chunk |
prepare()
Returns a chunk to read data from.
|
Chunk prepare() throws org.objectweb.jonathan.apis.kernel.JonathanException
When done with the chunk, its user must update its
offset
and top
members and
release
it.
ChunkProviders should not be used concurrently.
org.objectweb.jonathan.apis.kernel.JonathanException
- if no chunk can be provided.void close()