All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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 {}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy