tigase.cluster.repo
public class ClConSQLRepository extends ClConConfigRepository implements ClusterRepoConstants
AUTORELOAD_INTERVAL_PROP_KEY, AUTORELOAD_INTERVAL_PROP_VALitemsCPU_USAGE_COLUMN, HOSTNAME_COLUMN, LASTUPDATE_COLUMN, MEM_USAGE_COLUMN, PASSWORD_COLUMN, PORT_COLUMN, REPO_URI_PROP_KEY, TABLE_NAMECOMP_REPO_BIND| Constructor and Description |
|---|
ClConSQLRepository() |
| Modifier and Type | Method and Description |
|---|---|
void |
getDefaults(Map<String,Object> defs,
Map<String,Object> params)
Method description
|
void |
initRepository(String conn_str,
Map<String,String> params)
Method description
|
void |
reload()
Method description
|
void |
setProperties(Map<String,Object> properties)
Method description
|
void |
store()
Method description
|
void |
storeItem(ClusterRepoItem item)
Method description
|
getConfigKey, getDefaultPropetyItems, getItemInstance, getPropertyKey, itemChanged, itemLoadedaddItem, addRepoChangeListener, allItems, contains, getItem, iterator, removeItem, removeRepoChangeListener, setAutoloadTimer, size, toString, validateItempublic void getDefaults(Map<String,Object> defs, Map<String,Object> params)
getDefaults in interface ComponentRepository<ClusterRepoItem>getDefaults in class ClConConfigRepositorydefs - params - public void initRepository(String conn_str, Map<String,String> params) throws SQLException
conn_str - params - SQLExceptionpublic void storeItem(ClusterRepoItem item)
storeItem in class ClConConfigRepositoryitem - public void reload()
reload in interface ComponentRepository<ClusterRepoItem>reload in class ClConConfigRepositorypublic void setProperties(Map<String,Object> properties)
setProperties in interface ComponentRepository<ClusterRepoItem>setProperties in class ClConConfigRepositoryproperties - public void store()
store in interface ComponentRepository<ClusterRepoItem>store in class ConfigRepository<ClusterRepoItem>Copyright © 2013 Tigase. All rights reserved.