public interface MethodReader
extends net.openhft.chronicle.core.io.Closeable
| Modifier and Type | Method and Description |
|---|---|
MethodReader |
closeIn(boolean closeIn)
Call close on the input when closed
|
default boolean |
lazyReadOne()
Does a quick read which is simpler but might not read the next message.
|
MethodReaderInterceptorReturns |
methodReaderInterceptorReturns() |
boolean |
readOne()
Moves the queue to read a message if there is one, but is more expensive than
lazyReadOne(). |
static final String HISTORY
MethodReaderInterceptorReturns methodReaderInterceptorReturns()
boolean readOne()
throws net.openhft.chronicle.core.util.InvocationTargetRuntimeException
lazyReadOne().
If there is an exception in the dispatching mechanics then this should be caught and Jvm.warn'd.
If there is an exception in the invocation then this is wrapped in a InvocationTargetRuntimeException
and thrown.net.openhft.chronicle.core.util.InvocationTargetRuntimeException - if the receiver (target method) throwsdefault boolean lazyReadOne()
readOne()MethodReader closeIn(boolean closeIn)
Copyright © 2020. All rights reserved.