Package com.gigaspaces.lrmi.nio
Class Writer.Context
java.lang.Object
com.gigaspaces.lrmi.nio.Writer.Context
- Direct Known Subclasses:
Writer.ChannelEntryContext,Writer.SystemResponseContext
- Enclosing class:
- Writer
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Writer.ContextlongintgetPhase()intintgetTrace()booleanvoidsetBuffer(ByteBuffer buffer) voidsetCurrentPosition(int currentPosition) voidsetPhase(Writer.Context.Phase phase) voidsetTotalBytesWritten(int totalBytesWritten) voidsetTotalLength(int totalLength)
-
Constructor Details
-
Context
-
-
Method Details
-
setBuffer
-
getBuffer
-
setTotalBytesWritten
public void setTotalBytesWritten(int totalBytesWritten) -
getTotalBytesWritten
public int getTotalBytesWritten() -
setCurrentPosition
public void setCurrentPosition(int currentPosition) -
getCurrentPosition
public int getCurrentPosition() -
setTotalLength
public void setTotalLength(int totalLength) -
getTotalLength
public int getTotalLength() -
setPhase
-
getPhase
-
getTrace
-
isSystemResponse
public boolean isSystemResponse() -
getCreationTime
public long getCreationTime() -
duplicate
-
createContextForDuplication
-