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.

Ignore operations which have no handling nodes set yet (which may happen before nodes are properly
authenticated).

@param op the operation to use.
@param isTimeout is timed out or not.
src/main/java/net/spy/memcached/MemcachedConnection.java