public class DelegatedResourceCachingService extends CachingServiceBase<DelegatedResource,com.threecrickets.prudence.internal.attributes.DelegatedResourceAttributes,DelegatedResourceConversationService>
DelegatedResource
attributes, cachingUtil, conversationService, documentService, resource
Constructor and Description |
---|
DelegatedResourceCachingService(DelegatedResource resource,
DocumentService<com.threecrickets.prudence.internal.attributes.DelegatedResourceAttributes> documentService,
DelegatedResourceConversationService conversationService,
com.threecrickets.prudence.internal.CachingUtil<DelegatedResource,com.threecrickets.prudence.internal.attributes.DelegatedResourceAttributes> cachingUtil)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Casts the cache key template for the current executable and encoding.
|
protected String |
getSuffix()
The optional attribute suffix.
|
getDuration, getKeyTemplate, getKeyTemplatePlugins, getOnlyGet, getTags, setDuration, setKeyTemplate, setOnlyGet
public DelegatedResourceCachingService(DelegatedResource resource, DocumentService<com.threecrickets.prudence.internal.attributes.DelegatedResourceAttributes> documentService, DelegatedResourceConversationService conversationService, com.threecrickets.prudence.internal.CachingUtil<DelegatedResource,com.threecrickets.prudence.internal.attributes.DelegatedResourceAttributes> cachingUtil)
resource
- The resourcedocumentService
- The document serviceconversationService
- The conversation servicecachingUtil
- The caching utilitiespublic String getKey()
CachingServiceBase
getKey
in class CachingServiceBase<DelegatedResource,com.threecrickets.prudence.internal.attributes.DelegatedResourceAttributes,DelegatedResourceConversationService>
protected String getSuffix()
CachingServiceBase
getSuffix
in class CachingServiceBase<DelegatedResource,com.threecrickets.prudence.internal.attributes.DelegatedResourceAttributes,DelegatedResourceConversationService>
Copyright © 2009-2016 Three Crickets LLC.