public class GridSelectorNioSessionImpl extends GridNioSessionImpl
| Modifier and Type | Method and Description |
|---|---|
GridNioFuture<Boolean> |
close()
Performs a request for asynchronous session close.
|
boolean |
closeSocketOnSessionClose() |
void |
closeSocketOnSessionClose(boolean closeSocket) |
boolean |
hasSession() |
@Nullable GridNioRecoveryDescriptor |
inRecoveryDescriptor() |
void |
inRecoveryDescriptor(GridNioRecoveryDescriptor recoveryDesc) |
SelectionKey |
key() |
@Nullable GridNioRecoveryDescriptor |
outRecoveryDescriptor() |
void |
outRecoveryDescriptor(GridNioRecoveryDescriptor recoveryDesc) |
ByteBuffer |
readBuffer() |
@Nullable GridSelectorNioSessionImpl |
session() |
void |
systemMessage(Object sysMsg) |
String |
toString() |
ByteBuffer |
writeBuffer() |
accepted, addMeta, bytesReceived, bytesReceived, bytesReceived0, bytesSent, bytesSent, bytesSent0, certificates, chain, closed, closeTime, createTime, lastReceiveTime, lastSendScheduleTime, lastSendTime, localAddress, meta, pauseReads, readsPaused, readsPaused, remoteAddress, removeMeta, reset0, resetSendScheduleTime, resumeReads, send, sendNoFuture, setClosedpublic boolean hasSession()
True if session was created.@Nullable public @Nullable GridSelectorNioSessionImpl session()
public ByteBuffer writeBuffer()
public ByteBuffer readBuffer()
public SelectionKey key()
public boolean closeSocketOnSessionClose()
True to close SocketChannel on current session close occured.public void closeSocketOnSessionClose(boolean closeSocket)
closeSocket - False remain SocketChannel open on session close.public void outRecoveryDescriptor(GridNioRecoveryDescriptor recoveryDesc)
outRecoveryDescriptor in interface GridNioSessionoutRecoveryDescriptor in class GridNioSessionImplrecoveryDesc - Recovery descriptor.@Nullable public @Nullable GridNioRecoveryDescriptor outRecoveryDescriptor()
outRecoveryDescriptor in interface GridNioSessionoutRecoveryDescriptor in class GridNioSessionImplnull otherwise.public void inRecoveryDescriptor(GridNioRecoveryDescriptor recoveryDesc)
inRecoveryDescriptor in interface GridNioSessioninRecoveryDescriptor in class GridNioSessionImplrecoveryDesc - Recovery descriptor.@Nullable public @Nullable GridNioRecoveryDescriptor inRecoveryDescriptor()
inRecoveryDescriptor in interface GridNioSessioninRecoveryDescriptor in class GridNioSessionImplnull otherwise.public void systemMessage(Object sysMsg)
systemMessage in interface GridNioSessionsystemMessage in class GridNioSessionImplsysMsg - System message to send.public GridNioFuture<Boolean> close()
close in interface GridNioSessionclose in class GridNioSessionImplpublic String toString()
toString in class GridNioSessionImpl
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020