Class DispatcherContext
java.lang.Object
org.apache.hadoop.ozone.container.common.transport.server.ratis.DispatcherContext
DispatcherContext class holds transport protocol specific context info
required for execution of container commands over the container dispatcher.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder class for building DispatcherContext.static enumOperation types.static enumDetermines which stage of writeChunk a write chunk request is for. -
Method Summary
Modifier and TypeMethodDescriptionstatic DispatcherContextstatic DispatcherContextstatic DispatcherContextstatic DispatcherContextlonggetStage()longlonggetTerm()booleanstatic DispatcherContext.Builderstatic DispatcherContext.Opop(DispatcherContext context) voidrelease()voidsetReleaseMethod(Runnable releaseMethod) toString()
-
Method Details
-
getHandleReadChunk
-
getHandleWriteChunk
-
getHandleGetSmallFile
-
getHandlePutSmallFile
-
op
-
getLogIndex
public long getLogIndex() -
getTerm
public long getTerm() -
getStage
-
getContainer2BCSIDMap
-
getStartTime
public long getStartTime() -
isReleaseSupported
public boolean isReleaseSupported() -
setReleaseMethod
-
release
public void release() -
toString
-
newBuilder
-