View Javadoc

1   /*
2    * CacheEntity.java
3    *
4    * Created on 16 Декабрь 2005 г., 11:58
5    *
6    * To change this template, choose Tools | Options and locate the template under
7    * the Source Creation and Management node. Right-click the template and choose
8    * Open. You can then make changes to the template in the Source Editor.
9    */
10  
11  package org.weda.cache;
12  
13  /**Цель: интерфейс для объектов которые могут хранится в кеше ({@link tim.docarch.service.CacheService})
14   *
15   * @author tim
16   */
17  public interface CacheEntity {
18      /**Возвращает реальный объект хранящийся в кеше.
19       */
20      public Object getValue();
21      /**Освобождает рессурсы занятые объектом.
22       */
23      public void release();
24  }