|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BufferSizePredictor
Buffer size predictor
| Method Summary | |
|---|---|
int |
nextSize(Object obj)
Provide the next buffer size taking in account the object to store in the buffer. |
void |
recordSize(int previousSize)
Record the size of the of data in the last buffer used. |
| Method Detail |
|---|
int nextSize(Object obj)
obj - instance that will be stored in the buffer
void recordSize(int previousSize)
previousSize - int representing the size of the last
object buffered.
|
--> | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||