eXo PLF:: Kernel :: Component :: Cache Service 5.1.2-acc210-01
- Summary:
- Nested |
- Field |
- Constr |
- Method
- Detail:
- Field |
- Constr |
- Method
-
- Type Parameters:
K - the key type parameter
V - the value type parameter
C - the context type parameter
public interface Loader<K,V,C>
The loader interface is used by the future cache to retrieves the value from the key when it does not exist.
- Version:
- $Revision$
- Author:
- Julien Viet
-
-
Method Detail
-
retrieve
V retrieve(C context,
K key)
throws Exception
Retrieves the value from the key within the specified context. If the resource is not found then the value
null must be returned.
- Parameters:
context - the context
key - the key
- Returns:
- the value
- Throws:
Exception - any exception that would prevent the value to be loaded
eXo PLF:: Kernel :: Component :: Cache Service 5.1.2-acc210-01
- Summary:
- Nested |
- Field |
- Constr |
- Method
- Detail:
- Field |
- Constr |
- Method
Copyright © 2019 eXo Platform SAS. All Rights Reserved.