Interface LeaseErrorListener
- All Known Implementing Classes:
LeaseListenerAdapter
,SecretLeaseEventPublisher.LoggingErrorListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Listener for Vault exceptional
SecretLeaseEvent
s.
Error events can occur during secret retrieval, lease renewal, lease revocation and secret rotation.
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onLeaseError
(SecretLeaseEvent leaseEvent, Exception exception) Callback for aSecretLeaseEvent
.
-
Method Details
-
onLeaseError
Callback for aSecretLeaseEvent
.- Parameters:
leaseEvent
- the event object, must not be null.exception
- the thrownException
.
-