-
public class BidResponseCacheHolds BidResponses in memory until they are used
-
-
Method Summary
Modifier and Type Method Description static synchronized BidResponseCachegetInstance()voidputBidResponse(BidResponse response)Stores the { BidResponse} in the cache. voidputBidResponse(String key, BidResponse response)Stores the { BidResponse} in the cache. BidResponsepopBidResponse(@Nullable() String responseId)-
-
Method Detail
-
getInstance
static synchronized BidResponseCache getInstance()
-
putBidResponse
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
void putBidResponse(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 responseresponse- Parsed bid response
-
popBidResponse
@Nullable() BidResponse popBidResponse(@Nullable() String responseId)
-
-
-
-