Class BulkheadOnCallRejectedEvent
- java.lang.Object
-
- io.github.resilience4j.bulkhead.event.BulkheadOnCallRejectedEvent
-
- All Implemented Interfaces:
BulkheadEvent
public class BulkheadOnCallRejectedEvent extends java.lang.ObjectA BulkheadEvent which informs that a call has been rejected, because the bulkhead is full.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.github.resilience4j.bulkhead.event.BulkheadEvent
BulkheadEvent.Type
-
-
Constructor Summary
Constructors Constructor Description BulkheadOnCallRejectedEvent(java.lang.String bulkheadName)
-
Method Summary
All Methods Instance Methods Concrete Methods 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()
-
-
-
Method Detail
-
getEventType
public BulkheadEvent.Type 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
-
-