Interface ChatBacklogHandler
-
- All Superinterfaces:
BacklogHandler<Chat>
public interface ChatBacklogHandler extends BacklogHandler<Chat>
This handler provides access to allChat
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 eachChat
descending from high to low. Please also note that the stream source may containChat
elements that are not routable. To filter the routableChat
elements please use theBacklogHandler.isRoutable()
predicate to filter the stream.ChatBacklogHandler
is only available in the novomind iAGENT routing process.- Since:
- 11.32
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<BacklogChatInfo>
getBacklogChatInfo(Chat chat)
This method returns theBacklogChatInfo
for the givenChat
.-
Methods inherited from interface com.novomind.ecom.api.iagent.backlog.BacklogHandler
get, isRoutable, stream
-
-
-
-
Method Detail
-
getBacklogChatInfo
java.util.Optional<BacklogChatInfo> getBacklogChatInfo(Chat chat)
This method returns theBacklogChatInfo
for the givenChat
.- Parameters:
chat
- a chat for which theBacklogChatInfo
is to be determined- Returns:
- the optional
BacklogChatInfo
for the givenChat
or an empty optional if theChat
is not in the backlog - Since:
- 11.32
-
-