Class AbstractBulkheadEvent

java.lang.Object
io.github.resilience4j.bulkhead.event.AbstractBulkheadEvent
All Implemented Interfaces:
BulkheadEvent
Direct Known Subclasses:
BulkheadOnCallFinishedEvent, BulkheadOnCallPermittedEvent, BulkheadOnCallRejectedEvent

abstract class AbstractBulkheadEvent extends Object implements BulkheadEvent
  • Field Details

    • bulkheadName

      private final String bulkheadName
    • creationTime

      private final ZonedDateTime creationTime
  • Constructor Details

    • AbstractBulkheadEvent

      AbstractBulkheadEvent(String bulkheadName)
  • Method Details

    • getBulkheadName

      public 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 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