|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sonyericsson.jenkins.plugins.bfa.db.MongoDBKnowledgeBaseCache
public class MongoDBKnowledgeBaseCache
Cache for the MongoDBKnowledgeBase.
Nested Class Summary | |
---|---|
protected class |
MongoDBKnowledgeBaseCache.UpdateThread
The thread responsible for updating the MongoDB cache. |
Constructor Summary | |
---|---|
MongoDBKnowledgeBaseCache(net.vz.mongodb.jackson.JacksonDBCollection<FailureCause,String> jacksonCollection)
Standard constructor. |
Method Summary | |
---|---|
List<String> |
getCategories()
Getter for the categories of all FailureCauses. |
List<FailureCause> |
getCauses()
Getter for the cachedFailureCauses. |
void |
start()
Run when the cache, including the update mechanism, should start running. |
void |
stop()
Run when we want to shut down the cache. |
void |
updateCache()
Signal that an update of the Cache should be made. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MongoDBKnowledgeBaseCache(net.vz.mongodb.jackson.JacksonDBCollection<FailureCause,String> jacksonCollection)
jacksonCollection
- the JacksonDBCollection, used for accessing the database.Method Detail |
---|
public void start()
public void stop()
public void updateCache()
public List<FailureCause> getCauses()
public List<String> getCategories()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |