public interface TicketContext
ticket.
Note: The actual Ticket is not available from this context. Event handlers which receive this
context on a TicketAcquiredEvent should not be able to
release tickets.
| Modifier and Type | Method and Description |
|---|---|
void |
addReleaseCallback(Runnable callback)
Registers a task that is executed when the ticket is released.
|
String |
getResourceName()
Retrieves the name of the resource associated with the ticket.
|
void addReleaseCallback(@Nonnull Runnable callback)
callback - a task to execute when the ticket is releasedCopyright © 2019 Atlassian. All rights reserved.