com.epam.fix.validation.engine.utils.cache
Interface ICache<T,V>

All Superinterfaces:
Cloneable
All Known Implementing Classes:
AbstractCache, AbstractGroupsCache, BlockCache, BlockGroupsCache, GroupCache, GroupsCache, MessagesCache

public interface ICache<T,V>
extends Cloneable

Author:
Serhiy_Zahriychuk

Method Summary
 V get(T key)
          Returns value by input key.
 void put(T key, V value)
          Puts the value by key into cache.
 

Method Detail

put

void put(T key,
         V value)
Puts the value by key into cache.

Parameters:
key - Key of input value.
value - The instance that contains concrete value for input key.

get

V get(T key)
Returns value by input key.

Parameters:
key - Input key.
Returns:
Instance of value.


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.