Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.cantaa.util.cache;

Classes who's instances can be cached, may implement this interface

Author(s):
Hans Lesmeister
 
 public interface Cacheable {

    

Returns:
Array with keys. Each of them uniquely identifies the cached object (inside the Class-Namespace). In most cases you will probably return one value, i.e. the primary key. In addition you can add more keys like an article- number
New to GrepCode? Check out our FAQ X