public abstract class ByteArrayWithSenderTaskIdRequest extends ByteArrayRequest
conf, UNKNOWN_SIZE
Constructor and Description |
---|
ByteArrayWithSenderTaskIdRequest()
Default constructor
|
ByteArrayWithSenderTaskIdRequest(byte[] data,
int senderTaskId)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getSenderTaskId() |
int |
getSerializedSize()
Get the size of the request in serialized form.
|
getData, getDataInput, getUnsafeByteArrayInput
getClientId, getConf, getRequestId, getType, readFields, setClientId, setConf, setRequestId, write
public ByteArrayWithSenderTaskIdRequest(byte[] data, int senderTaskId)
data
- Request datasenderTaskId
- Sender task idpublic ByteArrayWithSenderTaskIdRequest()
public int getSenderTaskId()
public int getSerializedSize()
WritableRequest
getSerializedSize
in class ByteArrayRequest
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.