public class FrameProcessors extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
closeAll(List<ReadableFrameChannel> readableFrameChannels,
List<WritableFrameChannel> writableFrameChannels,
Closeable... otherCloseables)
Helper method for implementing
FrameProcessor.cleanup(). |
static Cursor |
makeCursor(Frame frame,
FrameReader frameReader) |
static <T> FrameProcessor<T> |
withBaggage(FrameProcessor<T> processor,
Closeable baggage) |
public static <T> FrameProcessor<T> withBaggage(FrameProcessor<T> processor, Closeable baggage)
public static Cursor makeCursor(Frame frame, FrameReader frameReader)
public static void closeAll(List<ReadableFrameChannel> readableFrameChannels, List<WritableFrameChannel> writableFrameChannels, Closeable... otherCloseables) throws IOException
FrameProcessor.cleanup().
The objects are closed in the order provided.IOExceptionCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.