Class RepositoryMethodInvocationListener.RepositoryMethodInvocation
java.lang.Object
org.springframework.data.repository.core.support.RepositoryMethodInvocationListener.RepositoryMethodInvocation
- Enclosing interface:
RepositoryMethodInvocationListener
Value object capturing the actual invocation.
- Since:
- 2.4
- Author:
- Mark Paluch, Christoph Strobl
-
Constructor Summary
ConstructorsConstructorDescriptionRepositoryMethodInvocation(Class<?> repositoryInterface, Method method, RepositoryMethodInvocationListener.RepositoryMethodInvocationResult result, long durationNs) -
Method Summary
-
Constructor Details
-
RepositoryMethodInvocation
public RepositoryMethodInvocation(Class<?> repositoryInterface, Method method, RepositoryMethodInvocationListener.RepositoryMethodInvocationResult result, long durationNs) - Parameters:
repositoryInterface- the repository interface that was used to callMethod.method- the actual method that was called.result- the outcome of the invocation. Must not be null.durationNs- the duration inTimeUnit.NANOSECONDS.
-
-
Method Details
-
getDuration
-
getRepositoryInterface
-
getMethod
-
getResult
-
toString
-