Returns the next event from the channel if available. If the channel does not have any events available, this method must return {@code null}.
Note: This method must be invoked within an active {@link Transaction} boundary. Failure to do so can lead to unpredictableresults.
@return the next available event or {@code null} if no events areavailable. @throws ChannelException in case this operation fails. @see org.apache.flume.Transaction#begin()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|