public void expire(final long sessionId) { zkServer.zooKeeperServer.expire(new Session() { @Override public long getSessionId() { return sessionId; } @Override public int getTimeout() { return 4000; } @Override public boolean isClosing() { return false; }}); }
public void expire(Session session) { long sessionId = session.getSessionId(); LOG.info("Expiring session 0x" + Long.toHexString(sessionId) + ", timeout of " + session.getTimeout() + "ms exceeded"); close(sessionId); updateState(); }
public void expire(Session session) { long sessionId = session.getSessionId(); LOG.info("Expiring session 0x" + Long.toHexString(sessionId) + ", timeout of " + session.getTimeout() + "ms exceeded"); close(sessionId); }
public void expire(Session session) { }