Example usage for org.springframework.aop.interceptor DebugInterceptor getCount

List of usage examples for org.springframework.aop.interceptor DebugInterceptor getCount

Introduction

In this page you can find the example usage for org.springframework.aop.interceptor DebugInterceptor getCount.

Prototype

public long getCount() 

Source Link

Document

Return the number of times this interceptor has been invoked.

Usage

From source file:org.springframework.aop.interceptor.DebugInterceptorTests.java

private void checkCallCountTotal(DebugInterceptor interceptor) {
    assertEquals("Intercepted call count not being incremented correctly", 1, interceptor.getCount());
}