Cat.context接口实现类,用于context调用链传递,相关方法Cat.logRemoteCall()和Cat.logRemoteServer() @author soar @date 2019-01-10
| 11 | * @date 2019-01-10 |
| 12 | */ |
| 13 | public class CatContextImpl implements Cat.Context{ |
| 14 | |
| 15 | private Map<String, String> properties = new HashMap<>(16); |
| 16 | |
| 17 | @Override |
| 18 | public void addProperty(String key, String value) { |
| 19 | properties.put(key, value); |
| 20 | } |
| 21 | |
| 22 | @Override |
| 23 | public String getProperty(String key) { |
| 24 | return properties.get(key); |
| 25 | } |
| 26 | } |
nothing calls this directly
no outgoing calls
no test coverage detected