Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crate/crate
/ newTimeoutToken
Method
newTimeoutToken
server/src/main/java/io/crate/session/Session.java:230–232 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
228
}
229
230
public
TimeoutToken newTimeoutToken() {
231
return
new
TimeoutToken(sessionSettings.statementTimeout(), System.nanoTime());
232
}
233
234
/**
235
* Execute a query in one step, avoiding the parse/bind/execute/sync procedure.
Callers
5
test_parsing_throws_an_error_on_exceeding_statement_timeout
Method · 0.95
test_statement_timeout_previous_statement_time_is_not_accounted_for
Method · 0.95
submitQueriesThroughSimpleQueryMode
Method · 0.95
parse
Method · 0.95
handleSimpleQuery
Method · 0.80
Calls
2
nanoTime
Method · 0.80
statementTimeout
Method · 0.45
Tested by
3
test_parsing_throws_an_error_on_exceeding_statement_timeout
Method · 0.76
test_statement_timeout_previous_statement_time_is_not_accounted_for
Method · 0.76
submitQueriesThroughSimpleQueryMode
Method · 0.76