51Degrees Pipeline for Java

fiftyone.caching.ValueLoader< K, V > Interface Template Reference

Detailed Description

Interface that provides a method to load a value for a key.

Parameters
<K>key for the cache items
<V>value for the cache items

Inheritance diagram for fiftyone.caching.ValueLoader< K, V >:

[legend]

Public Member Functions

load (K key) throws IOException
 Returns the value associated with the key.

Member Function Documentation

◆ load()

V fiftyone.caching.ValueLoader< K, V >.load ( K key) throws IOException

Returns the value associated with the key.

Parameters
keyfor the value required
Returns
value associated with the key
Exceptions
IOExceptionif there was an exception in the course of loading