Class BulkheadOnCallFinishedEvent
java.lang.Object
io.github.resilience4j.bulkhead.event.BulkheadOnCallFinishedEvent
- All Implemented Interfaces:
BulkheadEvent
public class BulkheadOnCallFinishedEvent
extends java.lang.Object
A BulkheadEvent which informs that a call has been finished. The event doesn't provide any
information on whether the call's execution was successful or not.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.resilience4j.bulkhead.event.BulkheadEvent
BulkheadEvent.Type
-
Constructor Summary
Constructors Constructor Description BulkheadOnCallFinishedEvent(java.lang.String bulkheadName)
-
Method Summary
Modifier and Type Method Description java.lang.String
getBulkheadName()
Returns the name of the bulkhead which has created the event.java.time.ZonedDateTime
getCreationTime()
Returns the creation time of bulkhead event.BulkheadEvent.Type
getEventType()
Returns the type of the bulkhead event.java.lang.String
toString()
-
Constructor Details
-
BulkheadOnCallFinishedEvent
public BulkheadOnCallFinishedEvent(java.lang.String bulkheadName)
-
-
Method Details
-
getEventType
Description copied from interface:BulkheadEvent
Returns the type of the bulkhead event.- Returns:
- the type of the bulkhead event
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
getBulkheadName
public java.lang.String getBulkheadName()Description copied from interface:BulkheadEvent
Returns the name of the bulkhead which has created the event.- Specified by:
getBulkheadName
in interfaceBulkheadEvent
- Returns:
- the name of the bulkhead which has created the event
-
getCreationTime
public java.time.ZonedDateTime getCreationTime()Description copied from interface:BulkheadEvent
Returns the creation time of bulkhead event.- Specified by:
getCreationTime
in interfaceBulkheadEvent
- Returns:
- the creation time of bulkhead event
-