Class SearchEndpoint
java.lang.Object
io.fluxzero.testserver.websocket.WebsocketEndpoint
io.fluxzero.testserver.websocket.SearchEndpoint
-
Nested Class Summary
Nested classes/interfaces inherited from class WebsocketEndpoint
WebsocketEndpoint.ClientMessage, WebsocketEndpoint.PingRegistration, WebsocketEndpoint.SessionBacklog -
Field Summary
Fields inherited from class WebsocketEndpoint
ESTIMATED_RESULT_OVERHEAD_BYTES, pingDelay, pingTimeout, shutDown, shuttingDown, webSocketSendTimeout -
Constructor Summary
ConstructorsConstructorDescriptionSearchEndpoint(SearchClient store, CommandIdempotencyStore commandIdempotencyStore) -
Method Summary
Modifier and TypeMethodDescriptionhandle(GetSearchHistogram request) Computes the requested search histogram; logs failures and returns an empty histogram retaining the query's time boundaries on failure.handle(SearchDocuments request) Executes a document search and returns a response correlated to the request; logs search failures and returns an empty result on failure.handle(SearchModelDocuments request) Executes a Model-document search and returns a correlated response; logs search failures and returns an empty result on failure.handle(SearchModelGraphDocuments request) Executes a Model-Graph document search and returns a correlated response; logs search failures and returns an empty result on failure.Methods inherited from class WebsocketEndpoint
abort, createTasks, createTasks, deserializeRequest, dispatchRequest, dispatchRequest, doSendResult, estimateRequestResultBytes, estimateStringBytes, findAlternativeBacklog, getClientId, getClientName, getClientSdkVersion, getCompressionAlgorithm, getNamespace, getNegotiatedSessionId, getRequestHeaders, getRuntimeVersion, getTransportFormat, handleMessage, handleMessage, isSessionActive, newRequestStripeExecutors, onClose, onError, onMessage, onOpen, onPong, payloadCodecs, registerMetrics, schedulePing, sendPing, sendResultBatch, sendResultBatchAsync, sessionMetadata, shouldHandleIdempotently, shutDown, submitRequestTask, transportCodec
-
Constructor Details
-
SearchEndpoint
-
-
Method Details
-
handle
Executes a document search and returns a response correlated to the request; logs search failures and returns an empty result on failure. -
handle
Executes a Model-document search and returns a correlated response; logs search failures and returns an empty result on failure. -
handle
Executes a Model-Graph document search and returns a correlated response; logs search failures and returns an empty result on failure. -
handle
Computes the requested search histogram; logs failures and returns an empty histogram retaining the query's time boundaries on failure.
-