Class RepositoryMethodInvocationListener.RepositoryMethodInvocation
java.lang.Object
org.springframework.data.repository.core.support.RepositoryMethodInvocationListener.RepositoryMethodInvocation
- Enclosing interface:
- RepositoryMethodInvocationListener
Value object capturing the actual invocation.
-
Constructor Summary
ConstructorDescriptionRepositoryMethodInvocation
(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