Package com.amazon.ion
Interface BufferConfiguration.OversizedValueHandler
- Enclosing class:
BufferConfiguration<Configuration extends BufferConfiguration<Configuration>>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for handling oversized values.
-
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked each time a user value exceeds the buffer size limit specified.
-
Method Details
-
onOversizedValue
void onOversizedValue()Invoked each time a user value exceeds the buffer size limit specified. This is recoverable. If the implementation wishes to recover, it should simply return normally from this method. The oversized value will be flushed from the buffer; normal processing will resume with the next value. If the implementation wishes to abort processing immediately, it may throw an exception from this method.
-