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

com.maxifier.mxcache.context.UseCacheContext Maven / Gradle / Ivy

Go to download

Constains all classes necessary for launching a MxCache-instrumentated application

There is a newer version: 2.6.9
Show newest version
/*
 * Copyright (c) 2008-2014 Maxifier Ltd. All Rights Reserved.
 */
package com.maxifier.mxcache.context;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 

* This annotation is used in instrumentation. It should be used with constructor arguments of your classes that * have @Cached methods. *

* It tells MxCache to use specified cache context that is passed via argument. * The annotated parameters type should extend {@link com.maxifier.mxcache.context.CacheContext} interface, * otherwise it will fail in runtime. *

* * @author Alexander Kochurov ([email protected]) */ @Target(ElementType.PARAMETER) @Retention(RetentionPolicy.RUNTIME) public @interface UseCacheContext { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy