public void setPendingPingTask(@Nullable TimerTask pendingPingTask) {
            this.pendingPingTask = pendingPingTask;
            if (pendingPingTask != null) {
                this.lastPingRequest = Instant.now();
            }
        }
Representation of a user that is an occupant of a chatroom.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/spi/OccupantManager.java