public class RequestResponseTimeoutObserver extends RequestTimeoutObserver
RequestTimeoutObserver behaviour, The request response timeout observer also
 sends a monitor request to the corresponding server and checks whether the corresponding channel
 entry in currently in progress. If not the connection is considered dead and will be closed._INSPECT_TIMEOUT, _logger| Constructor and Description | 
|---|
RequestResponseTimeoutObserver(long requestTimeout,
                              boolean protocolValidationEnabled)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected LogLevel | 
getCloseConnectionLoggingLevel()  | 
protected String | 
getFailureToCloseInvalidConnectionMessage(SocketAddress serverAddress,
                                         SocketChannel watchedSocketChannel)  | 
protected String | 
getInvalidConnectionMessage(SocketAddress serverAddress,
                           SocketChannel watchedSocketChannel,
                           Watchdog.WatchedObject watched)  | 
protected String | 
getValidConnectionMessage(SocketAddress serverAddress)  | 
protected void | 
handleOpenSocket(SocketChannel socketChannel,
                int watchedSocketLocalPort,
                long absoluteTimeout,
                ConnectionResource connectionResource)  | 
getLocalAddressString, getWatchedObjectInvocationMessage, timeoutOccuredpublic RequestResponseTimeoutObserver(long requestTimeout,
                                      boolean protocolValidationEnabled)
protected void handleOpenSocket(SocketChannel socketChannel, int watchedSocketLocalPort, long absoluteTimeout, ConnectionResource connectionResource) throws IOException
handleOpenSocket in class RequestTimeoutObserverconnectionResource - the monitored cpeerIOExceptionprotected String getValidConnectionMessage(SocketAddress serverAddress)
getValidConnectionMessage in class RequestTimeoutObserverprotected String getInvalidConnectionMessage(SocketAddress serverAddress, SocketChannel watchedSocketChannel, Watchdog.WatchedObject watched)
getInvalidConnectionMessage in class RequestTimeoutObserverprotected String getFailureToCloseInvalidConnectionMessage(SocketAddress serverAddress, SocketChannel watchedSocketChannel)
getFailureToCloseInvalidConnectionMessage in class RequestTimeoutObserverprotected LogLevel getCloseConnectionLoggingLevel()
getCloseConnectionLoggingLevel in class RequestTimeoutObserverCopyright © GigaSpaces.