
ch.ethz.inf.vs.californium.proxy.CacheResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of californium-proxy Show documentation
Show all versions of californium-proxy Show documentation
Californium (Cf) proxy library
The newest version!
package ch.ethz.inf.vs.californium.proxy;
import ch.ethz.inf.vs.californium.coap.Request;
import ch.ethz.inf.vs.californium.coap.Response;
import com.google.common.cache.CacheStats;
public interface CacheResource {
/**
*
*/
public void cacheResponse(Request request, Response response);
public CacheStats getCacheStats();
/**
* Gets cached response.
*
* @param request
* the request
* @return the cached response or null in case it is not present
*/
public Response getResponse(Request request);
public void invalidateRequest(Request request);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy