Class RequestUpdates



  • public final class RequestUpdates
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      RequestUpdates(java.util.Map<java.lang.String,java.lang.Integer> requestIds) 
    • Constructor Detail

      • RequestUpdates

        public RequestUpdates(java.util.Map<java.lang.String,java.lang.Integer> requestIds)
    • Method Detail

      • getRequestUpdates

        public java.util.Map<java.lang.String,java.lang.Integer> getRequestUpdates()
      • isRequestUnread

        public boolean isRequestUnread(java.lang.String requestId)
      • hasUpdatedRequests

        public boolean hasUpdatedRequests()
        Returns:
        a map of request IDs to update counts
      • totalUpdates

        public int totalUpdates()
        Returns:
        the sum of all updates for all requests