@ThreadSafe public final class BlockReadRequest extends Object
Modifier and Type | Method and Description |
---|---|
static BlockReadRequest |
from(ReadRequest request)
Creates an instance of
BlockReadRequest . |
long |
getChunkSize() |
long |
getEnd() |
long |
getId() |
Protocol.OpenUfsBlockOptions |
getOpenUfsBlockOptions() |
long |
getSessionId() |
long |
getStart() |
boolean |
isPositionShort() |
boolean |
isPromote() |
String |
toString() |
public static BlockReadRequest from(ReadRequest request)
BlockReadRequest
.request
- the block read requestpublic long getSessionId()
public long getId()
public long getStart()
public long getEnd()
public long getChunkSize()
public boolean isPromote()
public boolean isPositionShort()
public Protocol.OpenUfsBlockOptions getOpenUfsBlockOptions()
Copyright © 2023. All Rights Reserved.