|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.virtual.plugins.cache.AbstractVFSCache
org.jboss.virtual.plugins.cache.PathMatchingVFSCache
org.jboss.virtual.plugins.cache.CachePolicyVFSCache<org.jboss.util.TimedCachePolicy>
org.jboss.virtual.plugins.cache.TimedVFSCache
public class TimedVFSCache
Timed cache policy vfs cache.
Field Summary |
---|
Fields inherited from class org.jboss.virtual.plugins.cache.AbstractVFSCache |
---|
log |
Constructor Summary | |
---|---|
TimedVFSCache()
|
|
TimedVFSCache(java.lang.Integer defaultLifetime)
|
|
TimedVFSCache(java.lang.Integer defaultLifetime,
java.lang.Boolean threadSafe,
java.lang.Integer resolution)
|
|
TimedVFSCache(java.util.Map<java.lang.Object,java.lang.Object> properties)
|
Method Summary | |
---|---|
protected org.jboss.util.TimedCachePolicy |
createCachePolicy()
Create cache policy. |
java.lang.Iterable<VFSContext> |
getCachedContexts()
Get cached contexts. |
protected java.lang.String |
getCacheName()
Get the cache name. |
void |
setDefaultLifetime(java.lang.Integer defaultLifetime)
Set default lifetime. |
void |
setResolution(java.lang.Integer resolution)
The resollution. |
void |
setThreadSafe(java.lang.Boolean threadSafe)
Set threadsafe flag. |
java.lang.String |
toString()
|
protected java.lang.Object |
wrapContext(VFSContext context)
Wrap the context value. |
Methods inherited from class org.jboss.virtual.plugins.cache.CachePolicyVFSCache |
---|
check, flush, getContext, getInteger, getPolicy, parseInteger, putContext, readInstanceProperties, readSystemProperty, removeContext, size, start, stop |
Methods inherited from class org.jboss.virtual.plugins.cache.PathMatchingVFSCache |
---|
findContext |
Methods inherited from class org.jboss.virtual.plugins.cache.AbstractVFSCache |
---|
findContext, lastInsert, putContext, readLock, readUnlock, removeContext, writeLock, writeUnlock |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TimedVFSCache()
public TimedVFSCache(java.lang.Integer defaultLifetime)
public TimedVFSCache(java.lang.Integer defaultLifetime, java.lang.Boolean threadSafe, java.lang.Integer resolution)
public TimedVFSCache(java.util.Map<java.lang.Object,java.lang.Object> properties)
Method Detail |
---|
public java.lang.Iterable<VFSContext> getCachedContexts()
CacheStatistics
getCachedContexts
in interface CacheStatistics
getCachedContexts
in class CachePolicyVFSCache<org.jboss.util.TimedCachePolicy>
protected org.jboss.util.TimedCachePolicy createCachePolicy()
CachePolicyVFSCache
createCachePolicy
in class CachePolicyVFSCache<org.jboss.util.TimedCachePolicy>
protected java.lang.String getCacheName()
public void setDefaultLifetime(java.lang.Integer defaultLifetime)
defaultLifetime
- the default lifetimepublic void setThreadSafe(java.lang.Boolean threadSafe)
threadSafe
- the threadsafe flagpublic void setResolution(java.lang.Integer resolution)
resolution
- the resolutionpublic java.lang.String toString()
toString
in class java.lang.Object
protected java.lang.Object wrapContext(VFSContext context)
CachePolicyVFSCache
wrapContext
in class CachePolicyVFSCache<org.jboss.util.TimedCachePolicy>
context
- the context to wrap
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |