public class QueryState
extends java.lang.Object
Constructor and Description |
---|
QueryState(ClientState clientState) |
Modifier and Type | Method and Description |
---|---|
void |
createTracingSession() |
void |
createTracingSession(Connection connection) |
static QueryState |
forInternalCalls() |
java.net.InetAddress |
getClientAddress() |
ClientState |
getClientState() |
long |
getTimestamp()
This clock guarantees that updates for the same QueryState will be ordered
in the sequence seen, even if multiple updates happen in the same millisecond.
|
void |
prepareTracingSession(java.util.UUID sessionId) |
boolean |
traceNextQuery() |
public QueryState(ClientState clientState)
public static QueryState forInternalCalls()
public ClientState getClientState()
public long getTimestamp()
public boolean traceNextQuery()
public void prepareTracingSession(java.util.UUID sessionId)
public void createTracingSession()
public void createTracingSession(Connection connection)
public java.net.InetAddress getClientAddress()
Copyright © 2015 The Apache Software Foundation