|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dtolabs.rundeck.core.resources.DelegateResourceModelSource
com.dtolabs.rundeck.core.resources.ExceptionCatchingResourceModelSource
com.dtolabs.rundeck.core.resources.CachingResourceModelSource
public class CachingResourceModelSource
Abstract caching model source. calls to getNodes will attempt to use the delegate to get nodes. If successful the
nodes will be stored in the cache with a call to #storeNodesInCache(com.dtolabs.rundeck.core.common.INodeSet)
.
If any exception is thrown it will be caught. finally getNodes returns the result of #loadCachedNodes()
Field Summary |
---|
Fields inherited from class com.dtolabs.rundeck.core.resources.ExceptionCatchingResourceModelSource |
---|
logger |
Constructor Summary | |
---|---|
CachingResourceModelSource(ResourceModelSource delegate,
ResourceModelSourceCache cache)
|
|
CachingResourceModelSource(ResourceModelSource delegate,
java.lang.String identity,
ResourceModelSourceCache cache)
|
Method Summary |
---|
Methods inherited from class com.dtolabs.rundeck.core.resources.ExceptionCatchingResourceModelSource |
---|
getNodes |
Methods inherited from class com.dtolabs.rundeck.core.resources.DelegateResourceModelSource |
---|
getDelegate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachingResourceModelSource(ResourceModelSource delegate, ResourceModelSourceCache cache)
public CachingResourceModelSource(ResourceModelSource delegate, java.lang.String identity, ResourceModelSourceCache cache)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |