|
||||||||||
| 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(Integer defaultLifetime)
|
|
TimedVFSCache(Integer defaultLifetime,
Boolean threadSafe,
Integer resolution)
|
|
TimedVFSCache(Map<Object,Object> properties)
|
|
| Method Summary | |
|---|---|
protected org.jboss.util.TimedCachePolicy |
createCachePolicy()
Create cache policy. |
Iterable<VFSContext> |
getCachedContexts()
Get cached contexts. |
protected String |
getCacheName()
Get the cache name. |
void |
setDefaultLifetime(Integer defaultLifetime)
Set default lifetime. |
void |
setResolution(Integer resolution)
The resollution. |
void |
setThreadSafe(Boolean threadSafe)
Set threadsafe flag. |
String |
toString()
|
| 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(Integer defaultLifetime)
public TimedVFSCache(Integer defaultLifetime,
Boolean threadSafe,
Integer resolution)
public TimedVFSCache(Map<Object,Object> properties)
| Method Detail |
|---|
public Iterable<VFSContext> getCachedContexts()
CacheStatistics
getCachedContexts in interface CacheStatisticsgetCachedContexts in class CachePolicyVFSCache<org.jboss.util.TimedCachePolicy>protected org.jboss.util.TimedCachePolicy createCachePolicy()
CachePolicyVFSCache
createCachePolicy in class CachePolicyVFSCache<org.jboss.util.TimedCachePolicy>protected String getCacheName()
public void setDefaultLifetime(Integer defaultLifetime)
defaultLifetime - the default lifetimepublic void setThreadSafe(Boolean threadSafe)
threadSafe - the threadsafe flagpublic void setResolution(Integer resolution)
resolution - the resolutionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||