Openfire 3.5.0 Javadoc

org.jivesoftware.openfire.session
Class GetSessionsCountTask

java.lang.Object
  extended by org.jivesoftware.openfire.session.GetSessionsCountTask
All Implemented Interfaces:
Externalizable, Serializable, Runnable, ClusterTask

public class GetSessionsCountTask
extends Object
implements ClusterTask

Task that will be executed in cluster nodes to get the number of sessions hosted by the cluster node.

Author:
Gaston Dombiak
See Also:
Serialized Form

Constructor Summary
GetSessionsCountTask()
           
GetSessionsCountTask(Boolean authenticated)
           
 
Method Summary
 Object getResult()
           
 void readExternal(ObjectInput in)
           
 void run()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetSessionsCountTask

public GetSessionsCountTask()

GetSessionsCountTask

public GetSessionsCountTask(Boolean authenticated)
Method Detail

getResult

public Object getResult()
Specified by:
getResult in interface ClusterTask

run

public void run()
Specified by:
run in interface Runnable

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

Openfire 3.5.0 Javadoc

Copyright © 2003-2007 Jive Software.