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

com.maxifier.mxcache.transform.Ignore Maven / Gradle / Ivy

/*
 * Copyright (c) 2008-2014 Maxifier Ltd. All Rights Reserved.
 */
package com.maxifier.mxcache.transform;

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

/**
 * 

* Annotate parameter of cached method to ignore it (i.e. the cache will return the same result if other parameters are * equal, but ignored are different).

*

* Ignoring arguments of cached methods is error-prone. Be carefull while using this annotation! *

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy