Class BulkheadOnCallPermittedEvent
java.lang.Object
io.github.resilience4j.bulkhead.event.BulkheadOnCallPermittedEvent
- All Implemented Interfaces:
BulkheadEvent
public class BulkheadOnCallPermittedEvent
extends java.lang.Object
A BulkheadEvent which informs that a call has been permitted to execute
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.resilience4j.bulkhead.event.BulkheadEvent
BulkheadEvent.Type -
Constructor Summary
Constructors Constructor Description BulkheadOnCallPermittedEvent(java.lang.String bulkheadName) -
Method Summary
Modifier and Type Method Description java.lang.StringgetBulkheadName()Returns the name of the bulkhead which has created the event.java.time.ZonedDateTimegetCreationTime()Returns the creation time of bulkhead event.BulkheadEvent.TypegetEventType()Returns the type of the bulkhead event.java.lang.StringtoString()
-
Constructor Details
-
BulkheadOnCallPermittedEvent
public BulkheadOnCallPermittedEvent(java.lang.String bulkheadName)
-
-
Method Details
-
getEventType
Description copied from interface:BulkheadEventReturns the type of the bulkhead event.- Returns:
- the type of the bulkhead event
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
getBulkheadName
public java.lang.String getBulkheadName()Description copied from interface:BulkheadEventReturns the name of the bulkhead which has created the event.- Specified by:
getBulkheadNamein interfaceBulkheadEvent- Returns:
- the name of the bulkhead which has created the event
-
getCreationTime
public java.time.ZonedDateTime getCreationTime()Description copied from interface:BulkheadEventReturns the creation time of bulkhead event.- Specified by:
getCreationTimein interfaceBulkheadEvent- Returns:
- the creation time of bulkhead event
-