Package com.illumon.iris.db.v2.locations
Class TableDataProtocol.LocalServer
java.lang.Object
com.fishlib.net.impl.nio.AbstractInProcessPeer
com.illumon.iris.db.v2.locations.TableDataProtocol.LocalServer
- All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable,com.fishlib.net.impl.nio.AbstractPeer,TableDataProtocol.Server
- Enclosing class:
- TableDataProtocol
public static class TableDataProtocol.LocalServer extends com.fishlib.net.impl.nio.AbstractInProcessPeer implements TableDataProtocol.Server
-
Field Summary
-
Constructor Summary
Constructors Constructor Description LocalServer(int peerId, String name) -
Method Summary
Modifier and Type Method Description com.fishlib.base.log.LogOutputappend(com.fishlib.base.log.LogOutput logOutput)voidinitialize(TableDataProtocol.LocalClient peer)voidsendColumnFileDataRequest(long requestKey, TableKey tableKey, TableLocationKey locationKey, CharSequence columnName, ColumnFileType columnFileType, long startOffset, int minimumLength)voidsendColumnFileSizeRequest(long requestKey, TableKey tableKey, TableLocationKey locationKey, CharSequence columnName, ColumnFileType columnFileType, long requiredSize)voidsendColumnLocationExistenceRequest(long requestKey, TableKey tableKey, TableLocationKey locationKey, CharSequence columnName)voidsendTableLocationRefreshRequest(long requestKey, boolean subscribe, TableKey tableKey, TableLocationKey locationKey)voidsendTableLocationsRequest(long requestKey, boolean subscribe, TableKey tableKey)voidsendUnsubscribeRequest(long requestKey, long requestKeyToUnsubscribe)voidsetResponseHandler(TableDataProtocol.ResponseHandler responseHandler)voidshutdown()StringtoString()Methods inherited from class com.fishlib.net.impl.nio.AbstractInProcessPeer
flush, flush, getPeerId, isShutdown, maybeFlush, maybeFlush
-
Constructor Details
-
Method Details
-
setResponseHandler
-
initialize
-
shutdown
public void shutdown()- Specified by:
shutdownin interfacecom.fishlib.net.impl.nio.AbstractPeer- Overrides:
shutdownin classcom.fishlib.net.impl.nio.AbstractInProcessPeer
-
sendUnsubscribeRequest
public void sendUnsubscribeRequest(long requestKey, long requestKeyToUnsubscribe)- Specified by:
sendUnsubscribeRequestin interfaceTableDataProtocol.Server
-
sendTableLocationsRequest
public void sendTableLocationsRequest(long requestKey, boolean subscribe, @NotNull TableKey tableKey)- Specified by:
sendTableLocationsRequestin interfaceTableDataProtocol.Server
-
sendTableLocationRefreshRequest
public void sendTableLocationRefreshRequest(long requestKey, boolean subscribe, @NotNull TableKey tableKey, @NotNull TableLocationKey locationKey)- Specified by:
sendTableLocationRefreshRequestin interfaceTableDataProtocol.Server
-
sendColumnLocationExistenceRequest
public void sendColumnLocationExistenceRequest(long requestKey, @NotNull TableKey tableKey, @NotNull TableLocationKey locationKey, @NotNull CharSequence columnName)- Specified by:
sendColumnLocationExistenceRequestin interfaceTableDataProtocol.Server
-
sendColumnFileSizeRequest
public void sendColumnFileSizeRequest(long requestKey, @NotNull TableKey tableKey, @NotNull TableLocationKey locationKey, @NotNull CharSequence columnName, @NotNull ColumnFileType columnFileType, long requiredSize)- Specified by:
sendColumnFileSizeRequestin interfaceTableDataProtocol.Server
-
sendColumnFileDataRequest
public void sendColumnFileDataRequest(long requestKey, @NotNull TableKey tableKey, @NotNull TableLocationKey locationKey, @NotNull CharSequence columnName, @NotNull ColumnFileType columnFileType, long startOffset, int minimumLength)- Specified by:
sendColumnFileDataRequestin interfaceTableDataProtocol.Server
-
toString
-
append
public com.fishlib.base.log.LogOutput append(@NotNull com.fishlib.base.log.LogOutput logOutput)- Specified by:
appendin interfacecom.fishlib.base.log.LogOutputAppendable
-