Interface TicketBacklogHandler
-
- All Superinterfaces:
BacklogHandler<Ticket>
public interface TicketBacklogHandler extends BacklogHandler<Ticket>
This handler provides access to allTicket
objects within the backlog. Please note that the underlying stream source returned by theBacklogHandler.stream()
method of this handler guarantees order by routing priority. In case of service level based routing the stream is ordered by the individually calculated service level ratio of eachTicket
descending from high to low. Please also note that the stream source may containTicket
elements that are not routable. To filter the routableTicket
elements please use theBacklogHandler.isRoutable()
predicate to filter the stream. TheTicketBacklogHandler
is only available in the novomind iAGENT routing process.- Since:
- 11.25
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<BacklogMessageInfo>
getBacklogMessageInfo(Ticket ticket)
This method returns theBacklogMessageInfo
for the givenTicket
.-
Methods inherited from interface com.novomind.ecom.api.iagent.backlog.BacklogHandler
get, isRoutable, stream
-
-
-
-
Method Detail
-
getBacklogMessageInfo
java.util.Optional<BacklogMessageInfo> getBacklogMessageInfo(Ticket ticket)
This method returns theBacklogMessageInfo
for the givenTicket
.- Parameters:
ticket
- a ticket for which theBacklogMessageInfo
is to be determined- Returns:
- the optional
BacklogMessageInfo
for the givenTicket
or an empty optional if theTicket
is not in the backlog - Since:
- 12.0
-
-