org.springframework.extensions.surf.persister
Interface CachedPersister

All Known Implementing Classes:
MultiObjectPersister

public interface CachedPersister

Indicates that the persister implementation provides caching.

Author:
muzquiano

Method Summary
 void invalidateCache()
          Invalidates the cache
 void setCache(boolean cache)
          Enables or disables the caching mechanics
 void setCacheCheckDelay(int cacheCheckDelay)
          Sets the number of seconds to wait between cache checks
 

Method Detail

setCache

void setCache(boolean cache)
Enables or disables the caching mechanics

Parameters:
cache -

setCacheCheckDelay

void setCacheCheckDelay(int cacheCheckDelay)
Sets the number of seconds to wait between cache checks

Parameters:
cacheCheckDelay -

invalidateCache

void invalidateCache()
Invalidates the cache



Copyright © 2009 SpringSource, Inc. All Rights Reserved.