org.apache.cocoon.monitoring.cache.entry
Class CacheEntryMonitor
java.lang.Object
org.apache.cocoon.monitoring.cache.entry.CacheEntryMonitor
@ManagedResource
public class CacheEntryMonitor
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheEntryMonitor
public CacheEntryMonitor(CacheKey cacheKey,
CacheValue cacheValue)
getCacheKey
@ManagedAttribute(description="Retuns tihs cache value key.")
public final String getCacheKey()
getCacheValue
@ManagedAttribute(description="Returns content of this cache entry.")
public final String getCacheValue()
- Returns:
- size of this cache entry
setCacheValue
@ManagedOperation(description="Sets value of this cache entry.")
@ManagedOperationParameters(value=)
public final boolean setCacheValue(String value)
- Sets value of this cache entry.
- Parameters:
value
- new value of cache
getSize
@ManagedAttribute(description="Returns size of this cache entry.")
public final String getSize()
- Returns:
- size of this cache entry
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.