Package io.grpc.internal
Interface CompositeReadableBuffer.NoThrowReadOperation<T>
-
- All Superinterfaces:
CompositeReadableBuffer.ReadOperation<T>
- Enclosing class:
- CompositeReadableBuffer
private static interface CompositeReadableBuffer.NoThrowReadOperation<T> extends CompositeReadableBuffer.ReadOperation<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intread(ReadableBuffer buffer, int length, T dest, int value)This method can also be used to simultaneously perform operation-specific int-valued aggregation over the sequence of buffers in aCompositeReadableBuffer.
-
-
-
Method Detail
-
read
int read(ReadableBuffer buffer, int length, T dest, int value)
Description copied from interface:CompositeReadableBuffer.ReadOperationThis method can also be used to simultaneously perform operation-specific int-valued aggregation over the sequence of buffers in aCompositeReadableBuffer.valueis the return value from the prior buffer, or the "initial" value passed toexecute()in the case of the first buffer.execute()returns the value returned by the operation called on the last buffer.- Specified by:
readin interfaceCompositeReadableBuffer.ReadOperation<T>
-
-