private static void setTimeout ( final Operation op , final boolean isTimeout ) { Logger logger = LoggerFactory . getLogger ( MemcachedConnection . class ) ; try { if ( op == null || op . isTimedOutUnsent ( ) ) { return ; } MemcachedNode node = op . getHandlingNode ( ) ; if ( node != null ) { node . setContinuousTimeout ( isTimeout ) ; } } catch ( Exception e ) { logger . error ( e . getMessage ( ) ) ; } }
Set the continuous timeout on an operation .