Class BulkheadOnCallRejectedEvent

java.lang.Object
io.github.resilience4j.bulkhead.event.BulkheadOnCallRejectedEvent
All Implemented Interfaces:
BulkheadEvent

public class BulkheadOnCallRejectedEvent
extends java.lang.Object
A 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

    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()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getEventType

      public BulkheadEvent.Type 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 class java.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 interface BulkheadEvent
      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 interface BulkheadEvent
      Returns:
      the creation time of bulkhead event