public class ClusterRepoItem extends RepositoryItemAbstract
| Modifier and Type | Field and Description |
|---|---|
static String |
CPU_USAGE_ATTR
Field description
|
static String |
CPU_USAGE_LABEL
Field description
|
static String |
HOSTNAME_ATTR
Field description
|
static String |
HOSTNAME_LABEL
Field description
|
static String |
LAST_UPDATE_ATTR
Field description
|
static String |
LAST_UPDATE_LABEL
Field description
|
static String |
MEM_USAGE_ATTR
Field description
|
static String |
MEM_USAGE_LABEL
Field description
|
static String |
PASSWORD_ATTR
Field description
|
static String |
PASSWORD_LABEL
Field description
|
static String |
PASSWORD_PROP_VAL
Field description
|
static String |
PORT_NO_ATTR
Field description
|
static String |
PORT_NO_LABEL
Field description
|
static int |
PORT_NO_PROP_VAL
Field description
|
static String |
REPO_ITEM_ELEM_NAME
Field description
|
ADMINS_ATT, ADMINS_LABEL, OWNER_ATT, OWNER_LABEL| Constructor and Description |
|---|
ClusterRepoItem() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCommandFields(Packet packet)
Method description
|
float |
getCpuUsage()
Method description
|
String |
getElemName()
Method description
|
String |
getHostname()
Method description
|
String |
getKey()
Method description
|
long |
getLastUpdate()
Method description
|
float |
getMemUsage()
Method description
|
String |
getPassword()
Method description
|
int |
getPortNo()
Method description
|
void |
initFromCommand(Packet packet)
Method description
|
void |
initFromElement(tigase.xml.Element elem)
Method description
|
void |
initFromPropertyString(String propString)
Method description
|
tigase.xml.Element |
toElement()
Method description
|
String |
toPropertyString()
Method description
|
String |
toString()
Method description
|
public static final String CPU_USAGE_ATTR
public static final String CPU_USAGE_LABEL
public static final String HOSTNAME_ATTR
public static final String HOSTNAME_LABEL
public static final String LAST_UPDATE_ATTR
public static final String LAST_UPDATE_LABEL
public static final String MEM_USAGE_ATTR
public static final String MEM_USAGE_LABEL
public static final String PASSWORD_ATTR
public static final String PASSWORD_LABEL
public static final String PASSWORD_PROP_VAL
public static final String PORT_NO_ATTR
public static final String PORT_NO_LABEL
public static final int PORT_NO_PROP_VAL
public static final String REPO_ITEM_ELEM_NAME
public void addCommandFields(Packet packet)
addCommandFields in interface RepositoryItemaddCommandFields in class RepositoryItemAbstractpacket - public void initFromCommand(Packet packet)
initFromCommand in interface RepositoryIteminitFromCommand in class RepositoryItemAbstractpacket - public void initFromElement(tigase.xml.Element elem)
initFromElement in interface RepositoryIteminitFromElement in class RepositoryItemAbstractelem - public void initFromPropertyString(String propString)
propString - public tigase.xml.Element toElement()
toElement in interface RepositoryItemtoElement in class RepositoryItemAbstractpublic String toPropertyString()
public float getCpuUsage()
public String getElemName()
getElemName in class RepositoryItemAbstractpublic String getHostname()
public String getKey()
public long getLastUpdate()
public float getMemUsage()
public String getPassword()
public int getPortNo()
Copyright © 2014 "Tigase, Inc.". All rights reserved.