public class SWCManager extends ConcurrentCacheStoreBase<ISWC> implements ISWCManager
ISWCManager based on
ConcurrentCacheStoreBase.| Modifier and Type | Class and Description |
|---|---|
static class |
SWCManager.SWCCacheKey
Key class for SWC cache.
|
| Constructor and Description |
|---|
SWCManager(IWorkspace workspace)
Initialize the
SWCManager. |
| Modifier and Type | Method and Description |
|---|---|
protected ISWC |
createEntryValue(CacheStoreKeyBase key)
Concrete class must implement this method to create a cache value object.
|
ISWC |
get(File file)
Get the SWC model of the given SWC file.
|
AssetTagCache |
getAssetTagCache()
Get asset tags cache.
|
CSSDocumentCache |
getCSSDocumentCache() |
FileScopeCache |
getFileScopeCache()
Get file scope cache.
|
SWFCache |
getSWFCache()
Get SWF cache.
|
IWorkspace |
getWorkspace() |
void |
remove(File file)
Removes an existing SWC file from the cache
|
get, remove, size, toStringpublic SWCManager(IWorkspace workspace)
SWCManager.public SWFCache getSWFCache()
ISWCManagergetSWFCache in interface ISWCManagerpublic FileScopeCache getFileScopeCache()
ISWCManagergetFileScopeCache in interface ISWCManagerpublic AssetTagCache getAssetTagCache()
ISWCManagergetAssetTagCache in interface ISWCManagerpublic IWorkspace getWorkspace()
protected ISWC createEntryValue(CacheStoreKeyBase key)
ConcurrentCacheStoreBaseConcurrentCacheStoreBase.get(CacheStoreKeyBase) is
responsible for reading and writing the cache table.createEntryValue in class ConcurrentCacheStoreBase<ISWC>key - cache keypublic ISWC get(File file)
ISWCManagerget in interface ISWCManagerfile - SWC filepublic void remove(File file)
ISWCManagerremove in interface ISWCManagerfile - SWC file to be removedpublic CSSDocumentCache getCSSDocumentCache()
getCSSDocumentCache in interface ISWCManagerCopyright © 2016 The Apache Software Foundation. All rights reserved.