com.maxifier.mxcache.context.CacheContext Maven / Gradle / Ivy
/*
* Copyright (c) 2008-2014 Maxifier Ltd. All Rights Reserved.
*/
package com.maxifier.mxcache.context;
import com.maxifier.mxcache.InstanceProvider;
/**
* @author Alexander Kochurov ([email protected])
*/
public interface CacheContext {
InstanceProvider getInstanceProvider();
T getRelated(ContextRelatedItem item);
void setRelated(ContextRelatedItem item, T value);
@SuppressWarnings("UnusedDeclaration")
interface ContextRelatedItem {}
}