com.googlecode.ehcache.annotations
Interface MethodAttribute

All Known Subinterfaces:
CacheableAttribute, TriggersRemoveAttribute

public interface MethodAttribute

Common information about advised methods.

Version:
$Revision: 656 $
Author:
Eric Dalquist

Method Summary
 AdviceType getAdviceType()
           
 CacheKeyGenerator<? extends java.io.Serializable> getCacheKeyGenerator()
           
 ParameterMask getCacheKeyParameterMask()
           
 

Method Detail

getAdviceType

AdviceType getAdviceType()
Returns:
The type of advice this attribute represents. Will never be null or AdviceType.NONE Cannot return null.

getCacheKeyGenerator

CacheKeyGenerator<? extends java.io.Serializable> getCacheKeyGenerator()
Returns:
The key generator to use, Cannot return null.

getCacheKeyParameterMask

ParameterMask getCacheKeyParameterMask()
Returns:
The parameter mask of parameters annotated with PartialCacheKey, Cannot return null.


Copyright © 2011. All Rights Reserved.