View Javadoc
1   /**
2    * Copyright (C) 2010-14 pvmanager developers. See COPYRIGHT.TXT
3    * All rights reserved. Use is subject to license terms. See LICENSE.TXT
4    */
5   package org.epics.pvmanager;
6   
7   /**
8    * Represent a building block that can store a particular value
9    *
10   * @param <T> the type of the value held by the cache
11   * @author carcassi
12   */
13  public interface ValueCache<T> extends ReadFunction<T>, WriteFunction<T> {
14  
15      /**
16       * The type of objects that this cache can contain.
17       *
18       * @return the class token
19       */
20      public Class<T> getType();
21  
22  }