@NotThreadSafe public interface EntityParser<E>
E parse(Event event, E reuse) throws EventDeliveryException, NonRecoverableEventException
event - The event to parsereuse - If non-null, this may be reused and returnedEventDeliveryException - A recoverable error during parsing. Parsing
can be safely retried.NonRecoverableEventException - A non-recoverable error during
parsing. The event must be discarded.Copyright © 2009-2016 Apache Software Foundation. All Rights Reserved.