com.openexchange.mail.cache
Interface SessionMailCacheEntry<V>


public interface SessionMailCacheEntry<V>

SessionMailCacheEntry - A cache entry suitable for any object.

Author:
Thorben Betten

Method Summary
 java.lang.Class<V> getEntryClass()
          Gets the entry's class.
 com.openexchange.caching.CacheKey getKey()
          Gets the key.
 V getValue()
          Gets the value.
 void setValue(V value)
          Sets the value.
 

Method Detail

getKey

com.openexchange.caching.CacheKey getKey()
Gets the key.

Returns:
The key.

getValue

V getValue()
Gets the value.

Returns:
The value.

setValue

void setValue(V value)
Sets the value.

Parameters:
value - The value to set.

getEntryClass

java.lang.Class<V> getEntryClass()
Gets the entry's class.

Returns:
The entry's class.