org.apache.cocoon.monitoring.cache.entry
Class CacheEntryMonitor

java.lang.Object
  extended by org.apache.cocoon.monitoring.cache.entry.CacheEntryMonitor

@ManagedResource
public class CacheEntryMonitor
extends Object


Constructor Summary
CacheEntryMonitor(CacheKey cacheKey, CacheValue cacheValue)
           
 
Method Summary
 String getCacheKey()
           
 String getCacheValue()
           
 String getSize()
           
 boolean setCacheValue(String value)
          Sets value of this cache entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheEntryMonitor

public CacheEntryMonitor(CacheKey cacheKey,
                         CacheValue cacheValue)
Method Detail

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.