public class ClConMongoRepository
extends tigase.cluster.repo.ClConConfigRepository
implements tigase.cluster.repo.ClusterRepoConstants
autoreload_interval, AUTORELOAD_INTERVAL_PROP_KEY, AUTORELOAD_INTERVAL_PROP_VAL, lastReloadTime, lastReloadTimeFactor| Constructor and Description |
|---|
ClConMongoRepository() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
getDefaults(Map<String,Object> defs,
Map<String,Object> params)
Method description
|
tigase.mongodb.cluster.ClConMongoRepository.ClusterRepoItem |
getItemInstance() |
void |
initRepository(String resource_uri,
Map<String,String> params) |
void |
reload()
Method description
|
void |
removeItem(String key) |
void |
store()
Method description
|
void |
storeItem(tigase.cluster.repo.ClusterRepoItem item)
Method description
|
getConfigKey, getDefaultPropetyItems, getName, getPropertyKey, itemChanged, itemLoaded, setProperties, shutdownpublic void destroy()
destroy in interface tigase.db.comp.ComponentRepository<tigase.cluster.repo.ClusterRepoItem>destroy in class tigase.cluster.repo.ClConConfigRepositorypublic void getDefaults(Map<String,Object> defs, Map<String,Object> params)
getDefaults in interface tigase.db.comp.ComponentRepository<tigase.cluster.repo.ClusterRepoItem>getDefaults in class tigase.cluster.repo.ClConConfigRepositorydefs - params - public void initRepository(String resource_uri, Map<String,String> params) throws tigase.db.DBInitException
initRepository in interface tigase.db.RepositoryinitRepository in class tigase.cluster.repo.ClConConfigRepositorytigase.db.DBInitExceptionpublic void removeItem(String key)
removeItem in interface tigase.db.comp.ComponentRepository<tigase.cluster.repo.ClusterRepoItem>removeItem in class tigase.db.comp.ConfigRepository<tigase.cluster.repo.ClusterRepoItem>public void storeItem(tigase.cluster.repo.ClusterRepoItem item)
storeItem in class tigase.cluster.repo.ClConConfigRepositoryitem - public void reload()
reload in interface tigase.db.comp.ComponentRepository<tigase.cluster.repo.ClusterRepoItem>reload in class tigase.cluster.repo.ClConConfigRepositorypublic tigase.mongodb.cluster.ClConMongoRepository.ClusterRepoItem getItemInstance()
getItemInstance in interface tigase.db.comp.ComponentRepository<tigase.cluster.repo.ClusterRepoItem>getItemInstance in class tigase.cluster.repo.ClConConfigRepositorypublic void store()
store in interface tigase.db.comp.ComponentRepository<tigase.cluster.repo.ClusterRepoItem>store in class tigase.db.comp.ConfigRepository<tigase.cluster.repo.ClusterRepoItem>Copyright © 2015 "Tigase, Inc.". All rights reserved.