Class RequestEntryWrapper<RequestEntryT>
- java.lang.Object
-
- org.apache.flink.connector.base.sink.writer.RequestEntryWrapper<RequestEntryT>
-
- Type Parameters:
RequestEntryT- Corresponds to the type parameter of the same name inAsyncSinkWriter
@PublicEvolving public class RequestEntryWrapper<RequestEntryT> extends Object
A wrapper that contains aRequestEntryTready to be written by the Sink Writer class, along with the size of that entry as defined by the methodgetSizeInBytes(RequestEntryT)of theAsyncSinkWriter.
-
-
Constructor Summary
Constructors Constructor Description RequestEntryWrapper(RequestEntryT requestEntry, long size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestEntryTgetRequestEntry()longgetSize()
-
-
-
Constructor Detail
-
RequestEntryWrapper
public RequestEntryWrapper(RequestEntryT requestEntry, long size)
-
-
Method Detail
-
getRequestEntry
public RequestEntryT getRequestEntry()
-
getSize
public long getSize()
-
-