001package org.avaje.metric.annotation; 002 003import java.lang.annotation.ElementType; 004import java.lang.annotation.Retention; 005import java.lang.annotation.RetentionPolicy; 006import java.lang.annotation.Target; 007 008/** 009 * Marker that timed execution statistics should NOT be collected on this class or method. 010 * <p> 011 * Note that timed execution can be automatically added to JAX-RS endpoints and 012 * Spring beans and this annotation can be used to exclude specific beans as 013 * desired. 014 * </p> 015 */ 016@Target({ ElementType.TYPE, ElementType.METHOD }) 017@Retention(RetentionPolicy.RUNTIME) 018public @interface NotTimed { 019 020}