public class AnalyticsMessageHandler extends ChunkedMessageHandler<AnalyticsChunkHeader,AnalyticsChunkRow,AnalyticsChunkTrailer,AnalyticsResponse,AnalyticsRequest>
Constructor and Description |
---|
AnalyticsMessageHandler(BaseEndpoint endpoint,
EndpointContext endpointContext) |
Modifier and Type | Method and Description |
---|---|
protected Optional<RetryReason> |
qualifiesForRetry(CouchbaseException exception)
Can be implemented by children to not fail a request but rather send it into retry.
|
channelActive, channelInactive, channelRead, handlerRemoved, write
bind, close, connect, deregister, disconnect, flush, read
channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, isSharable
public AnalyticsMessageHandler(BaseEndpoint endpoint, EndpointContext endpointContext)
protected Optional<RetryReason> qualifiesForRetry(CouchbaseException exception)
ChunkedMessageHandler
qualifiesForRetry
in class ChunkedMessageHandler<AnalyticsChunkHeader,AnalyticsChunkRow,AnalyticsChunkTrailer,AnalyticsResponse,AnalyticsRequest>
exception
- the throwable to check.Copyright © 2020 Couchbase, Inc.. All rights reserved.