Class ConfigRequestContext
-
- All Implemented Interfaces:
public final class ConfigRequestContextThis class is used to store the data specific to a single config type before sending to Network. It contains the url to fetch the config, the config type and the available config which could be from the DB or Default config.
-
-
Field Summary
Fields Modifier and Type Field Description private final LonglastUpdatedTimestampprivate final StringconfigTypeprivate final Stringurlprivate final ConfigavailableConfig
-
Constructor Summary
Constructors Constructor Description ConfigRequestContext(String url, Config availableConfig)
-
Method Summary
Modifier and Type Method Description final LonggetLastUpdatedTimestamp()final StringgetConfigType()final StringgetUrl()final ConfiggetAvailableConfig()IntegerhashCode()Booleanequals(Object other)-
-
Method Detail
-
getLastUpdatedTimestamp
final Long getLastUpdatedTimestamp()
-
getConfigType
final String getConfigType()
-
getAvailableConfig
final Config getAvailableConfig()
-
-
-
-