import java.io.Serializable;
-
/**
- * The <code>Cache</code> interface represents... a cache.
- * In some circumstances it is more optimal to implement caching directly in
- * the code instead of relying on Hibernate caching methods. This interface abstracts
- * from the used cache implementation.
- * Cache implementations must be thread-safe.
+ * The <code>Cache</code> interface represents... a cache. In some circumstances
+ * it is more optimal to implement caching directly in the code instead of
+ * relying on Hibernate caching methods. This interface abstracts from the used
+ * cache implementation. Cache implementations must be thread-safe.
*/
public interface Cache<KeyType extends Serializable, ValueType extends Serializable> {
/**
* Adds a key-value pair to the cache.
- *
- * @param aKey Key.
- * @param aValue Value.
+ *
+ * @param aKey
+ * Key.
+ * @param aValue
+ * Value.
*/
void put(KeyType aKey, ValueType aValue);
/**
* Retrieves a value from the cache.
- *
- * @param aKey Key to retrieve.
- *
+ *
+ * @param aKey
+ * Key to retrieve.
+ *
* @return Key.
*/
ValueType get(KeyType aKey);
/**
* Removes an entry from the cache.
- *
- * @param aKey Key to remove the entry for.
+ *
+ * @param aKey
+ * Key to remove the entry for.
*/
void remove(KeyType aKey);