Class GetSessionsCountTask
java.lang.Object
org.jivesoftware.openfire.session.GetSessionsCountTask
- All Implemented Interfaces:
Externalizable,Serializable,Runnable,ClusterTask<Integer>
Task that will be executed in cluster nodes to get the number of sessions hosted by the
cluster node.
- Author:
- Gaston Dombiak
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GetSessionsCountTask
public GetSessionsCountTask() -
GetSessionsCountTask
-
-
Method Details
-
getResult
- Specified by:
getResultin interfaceClusterTask<Integer>
-
run
public void run() -
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-