com.spoledge.audao.db.dao
Interface DtoCacheFactory<K,V>

All Known Implementing Classes:
MemcacheDtoCacheFactoryImpl, MemchainDtoCacheFactoryImpl, MemoryDtoCacheFactoryImpl

public interface DtoCacheFactory<K,V>

Factory used for cache creating.


Method Summary
 DtoCache<K,V> createDtoCache(int maxSize)
          Creates a cache with no expiration policy.
 DtoCache<K,V> createDtoCache(long expireMillis, int maxSize)
          Creates a cache with expiration policy.
 

Method Detail

createDtoCache

DtoCache<K,V> createDtoCache(int maxSize)
Creates a cache with no expiration policy.


createDtoCache

DtoCache<K,V> createDtoCache(long expireMillis,
                             int maxSize)
Creates a cache with expiration policy.



Copyright © 2010 Spolecne s.r.o. All Rights Reserved.