Interface ExternalCmdCache
- All Superinterfaces:
ExternalCmdCacheSetting
Interfaces for external server cache data query and addition.
- Author:
- 渔民小镇
- date:
- 2023-07-02
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddCacheData(CommunicationMessage responseMessage) Adds the response data to the cache.getCache(CommunicationMessage message) Gets data from the cache.Methods inherited from interface ExternalCmdCacheSetting
addCmd, addCmd, addCmd, addCmd, getCmdCacheOption, setCmdCacheOption
-
Method Details
-
getCache
Gets data from the cache.- Parameters:
message- message- Returns:
- null if there is no data in the cache
-
addCacheData
Adds the response data to the cache.- Parameters:
responseMessage- responseMessage
-