/** {@inheritDoc} */ @Override public long getIdleTime() { long now = U.currentTimeMillis(); // Session can be used for receiving and sending. return Math.min(Math.min(now - ses.lastReceiveTime(), now - ses.lastSendScheduleTime()), now - ses.lastSendTime()); }
/** {@inheritDoc} */ @Override public long getIdleTime() { long now = U.currentTimeMillis(); // Session can be used for receiving and sending. return Math.min(Math.min(now - ses.lastReceiveTime(), now - ses.lastSendScheduleTime()), now - ses.lastSendTime()); }
/** {@inheritDoc} */ @Override public long getIdleTime() { long now = U.currentTimeMillis(); // Session can be used for receiving and sending. return Math.min(Math.min(now - ses.lastReceiveTime(), now - ses.lastSendScheduleTime()), now - ses.lastSendTime()); }