| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | TcpServerThread.
An input stream with a position. |
| Modifier and Type | Field and Description |
|---|---|
| private final SmallMap | |
| private int | |
| private Command | |
| private long | |
| private final SmallLRUCache | |
| private final TcpServer | |
| private SessionLocal | |
| private String | |
| private boolean | |
| private Thread | |
| private final int | |
| protected final Transfer |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | cancelStatement(String
the session id targetSessionId, int the statement to cancel statementId)Cancel a running statement. |
| pack-priv void | |
| private void | |
| private int | |
| pack-priv Thread | |
| private void | |
| private Object | |
| public void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| pack-priv void | |
| private void |
| cache | back to summary |
|---|---|
| private final SmallMap cache | |
| clientVersion | back to summary |
|---|---|
| private int clientVersion | |
| commit | back to summary |
|---|---|
| private Command commit | |
| lastRemoteSettingsId | back to summary |
|---|---|
| private long lastRemoteSettingsId | |
| lobs | back to summary |
|---|---|
| private final SmallLRUCache<Long, TcpServerThread. | |
| server | back to summary |
|---|---|
| private final TcpServer server | |
| session | back to summary |
|---|---|
| private SessionLocal session | |
| sessionId | back to summary |
|---|---|
| private String sessionId | |
| stop | back to summary |
|---|---|
| private boolean stop | |
| thread | back to summary |
|---|---|
| private Thread thread | |
| threadId | back to summary |
|---|---|
| private final int threadId | |
| transfer | back to summary |
|---|---|
| protected final Transfer transfer | |
| TcpServerThread | back to summary |
|---|---|
| pack-priv TcpServerThread(Socket socket, TcpServer server, int id) | |
| cancelStatement | back to summary |
|---|---|
| pack-priv void cancelStatement(String targetSessionId, int statementId) Cancel a running statement.
| |
| close | back to summary |
|---|---|
| pack-priv void close() Close a connection. | |
| closeSession | back to summary |
|---|---|
| private void closeSession() | |
| getState | back to summary |
|---|---|
| private int getState(int oldModificationId) | |
| getThread | back to summary |
|---|---|
| pack-priv Thread getThread() | |
| process | back to summary |
|---|---|
| private void process() throws IOException | |
| readGeneratedKeysRequest | back to summary |
|---|---|
| private Object readGeneratedKeysRequest() throws IOException | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |
| sendError | back to summary |
|---|---|
| private void sendError(Throwable t, boolean withStatus) | |
| sendGeneratedKeys | back to summary |
|---|---|
| private void sendGeneratedKeys(ResultInterface generatedKeys) throws IOException | |
| sendRows | back to summary |
|---|---|
| private void sendRows(ResultInterface result, long count) throws IOException | |
| sendSQLException | back to summary |
|---|---|
| private void sendSQLException(SQLException e) throws IOException | |
| setParameters | back to summary |
|---|---|
| private void setParameters(Command command) throws IOException | |
| setThread | back to summary |
|---|---|
| pack-priv void setThread(Thread thread) | |
| trace | back to summary |
|---|---|
| private void trace(String s) | |
| Modifier and Type | Field and Description |
|---|---|
| private static final ByteArrayInputStream | |
| private long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public int | read(byte[]
the buffer into which the data is read. buff, int the start offset in array off, int b
at which the data is written.the maximum number of bytes to read. len)Overrides java. Reads up to |
| public int | |
| public long | skip(long
the number of bytes to be skipped. n)Overrides java. Skips over and discards |
| DUMMY | back to summary |
|---|---|
| private static final ByteArrayInputStream DUMMY | |
| pos | back to summary |
|---|---|
| private long pos | |
| CachedInputStream | back to summary |
|---|---|
| pack-priv CachedInputStream(InputStream in) | |
| getPos | back to summary |
|---|---|
| public long getPos() | |
| read | back to summary |
|---|---|
| public int read(byte[] buff, int off, int len) throws IOException Overrides java. Doc from java. Reads up to
| |
| read | back to summary |
|---|---|
| public int read() throws IOException Overrides java. Doc from java. Reads the next byte of data from the input stream. The value byte is
returned as an
| |
| skip | back to summary |
|---|---|
| public long skip(long n) throws IOException Overrides java. Doc from java. Skips over and discards
| |