Class BidResponseCache
java.lang.Object
org.prebid.mobile.rendering.bidding.display.BidResponseCache
Holds BidResponses in memory until they are used
-
Method Summary
Modifier and TypeMethodDescriptionstatic BidResponseCachegetKeywords(String responseId) popBidResponse(String responseId) voidputBidResponse(String key, BidResponse response) Stores the { BidResponse} in the cache.voidputBidResponse(BidResponse response) Stores the { BidResponse} in the cache.
-
Method Details
-
getInstance
-
putBidResponse
Stores the { BidResponse} in the cache. This BidResponse will live until it is retrieved via { #popBidResponse(String)}- Parameters:
response- Parsed bid response
-
putBidResponse
Stores the { BidResponse} in the cache. This BidResponse will live until it is retrieved via { #popBidResponse(String)}- Parameters:
key- Custom key to store responseresponse- Parsed bid response
-
popBidResponse
-
getKeywords
-