Class BidResponseCache


  • public class BidResponseCache
    extends java.lang.Object
    Holds BidResponses in memory until they are used
    • Method Detail

      • putBidResponse

        public void putBidResponse​(BidResponse response)
        Stores the { BidResponse} in the cache. This BidResponse will live until it is retrieved via { #popBidResponse(String)}
        Parameters:
        response - Parsed bid response
      • putBidResponse

        public void putBidResponse​(java.lang.String key,
                                   BidResponse response)
        Stores the { BidResponse} in the cache. This BidResponse will live until it is retrieved via { #popBidResponse(String)}
        Parameters:
        key - Custom key to store response
        response - Parsed bid response
      • popBidResponse

        public BidResponse popBidResponse​(java.lang.String responseId)
      • getKeywords

        public java.util.HashMap<java.lang.String,​java.lang.String> getKeywords​(java.lang.String responseId)