Package com.ccbill.clessidra.annotations

Examples of com.ccbill.clessidra.annotations.RateLimited.methodGrouping()


      annotation = (RateLimited) joinPoint.getSourceLocation().getWithinType().getAnnotation(RateLimited.class);
    }

    // resolve method group name based on the methodGrouping in the annotation
    String methodGroupName = null;
    switch (annotation.methodGrouping()) {
    case GROUPED:
      methodGroupName = annotation.groupName();
      break;
    case UNGROUPED:
      methodGroupName = methodSignature.toString();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.