org.dozer.cache
Interface Cache<KeyType,ValueType>

All Known Implementing Classes:
DozerCache

public interface Cache<KeyType,ValueType>

Internal interface to a single cache. Holds all of the cache entries for the cache. Only intended for internal use.

Author:
tierney.matt, dmitry.buzdin

Method Summary
 void clear()
           
 boolean containsKey(KeyType key)
           
 ValueType get(KeyType key)
           
 long getMaxSize()
           
 String getName()
           
 long getSize()
           
 void put(KeyType key, ValueType value)
           
 

Method Detail

clear

void clear()

put

void put(KeyType key,
         ValueType value)

get

ValueType get(KeyType key)

getName

String getName()

getSize

long getSize()

getMaxSize

long getMaxSize()

containsKey

boolean containsKey(KeyType key)


Copyright © 2005-2011 dozer. All Rights Reserved.