Class GetBasicStatistics
- java.lang.Object
-
- org.jivesoftware.openfire.cluster.GetBasicStatistics
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Runnable
,ClusterTask<Map<String,Object>>
public class GetBasicStatistics extends Object implements ClusterTask<Map<String,Object>>
Command that returns basic information about this JVM like number of client sessions, server sessions and amount of free and used memory.- Author:
- Gaston Dombiak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetBasicStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getResult()
void
readExternal(ObjectInput in)
void
run()
void
writeExternal(ObjectOutput out)
-
-
-
Field Detail
-
NODE
public static final String NODE
- See Also:
- Constant Field Values
-
CLIENT
public static final String CLIENT
- See Also:
- Constant Field Values
-
INCOMING
public static final String INCOMING
- See Also:
- Constant Field Values
-
OUTGOING
public static final String OUTGOING
- See Also:
- Constant Field Values
-
MEMORY_CURRENT
public static final String MEMORY_CURRENT
- See Also:
- Constant Field Values
-
MEMORY_MAX
public static final String MEMORY_MAX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getResult
public Map<String,Object> getResult()
- Specified by:
getResult
in interfaceClusterTask<Map<String,Object>>
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
-