public class SocketSendingTracker extends Object
The time limit to wait before considering a connection dead can be configured changing the property xmpp.session.sending-limit. If the property was not defined then a default time limit of 60 seconds will be assumed. This means that by default if a sending operation takes longer than 60 seconds then the connection will be closed and the client disconnected. Therefore, it is important to not set a very low time limit since active clients may be incorrectly considered as dead clients.
Modifier and Type | Method and Description |
---|---|
static SocketSendingTracker |
getInstance()
Returns the unique instance of this class.
|
void |
shutdown()
Indicates that the checking thread should be stoped.
|
void |
start()
Start up the daemon thread that will check for the health of the sockets that are
currently sending data.
|
public static SocketSendingTracker getInstance()
public void start()
public void shutdown()
Copyright © 2003–2020 Ignite Realtime. All rights reserved.