
com.octo.android.robospice.persistence.ICacheManager Maven / Gradle / Ivy
The newest version!
package com.octo.android.robospice.persistence;
import java.util.Date;
import java.util.List;
import com.octo.android.robospice.persistence.exception.CacheCreationException;
import com.octo.android.robospice.persistence.exception.CacheLoadingException;
import com.octo.android.robospice.persistence.exception.CacheSavingException;
/**
* This interface is mainly used for mocking/testing. Developpers should use
* directly the class {@link CacheManager} and should not have to implement this
* interface. Defines the behavior of a cache manager, a bus of
* {@link ObjectPersister}.
* @author sni
* @deprecated since version 1.4.6 of RS, easymock 3.2 makes this interface
* obsolete.
*/
@Deprecated
public interface ICacheManager {
void addPersister(Persister persister);
void removePersister(Persister persister);
/**
* Get all cache keys associated to a given class.
* @param clazz
* the class for which to get all cache keys.
* @return all cache keys associated to a given class. The empty list is
* nothing is found in cache.
*/
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy