org.jboss.shotoku.cache.service.monitor
Interface CacheAlert

All Known Implementing Classes:
CacheAlertImpl

public interface CacheAlert

Information about probably incorrect behaviour of cache items, collected by the monitoring thread.

Author:
Adam Warski

Method Summary
 java.lang.String getCause()
           
 java.lang.String getDescription()
           
 java.lang.Object getKey()
           
 long getTime()
           
 java.lang.String getTimeFormatted()
           
 

Method Detail

getTime

long getTime()
Returns:
Time on which the represented behaviour was observed.

getTimeFormatted

java.lang.String getTimeFormatted()
Returns:
Time on which the represented behaviour was observed, formatted as a string.

getDescription

java.lang.String getDescription()
Returns:
Short description of the incorrect behaviour.

getCause

java.lang.String getCause()
Returns:
Possible/definite cause of the incorrect behaviour.

getKey

java.lang.Object getKey()
Returns:
CacheItem key, for which the incorrect behaviour occured.