com.maxifier.mxcache.context.CacheContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mxcache-runtime Show documentation
Show all versions of mxcache-runtime Show documentation
Constains all classes necessary for launching a MxCache-instrumentated application
/*
* 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 {}
}