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:
getResult
in interfaceClusterTask<Integer>
-
run
public void run() -
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-