Madhan Neethiraj created RANGER-5442:
----------------------------------------
Summary: replace repeated Gson instantiation with JsonUtils method
calls
Key: RANGER-5442
URL: https://issues.apache.org/jira/browse/RANGER-5442
Project: Ranger
Issue Type: Improvement
Components: admin
Reporter: Madhan Neethiraj
Assignee: Madhan Neethiraj
An instance of {{Gson}} object is created in several methods of
{{{}XXGlobalStateDao{}}}. The overhead of these instantiations can be avoided
by using {{JsonUtil}} methods, which use thread-local mappers to convert
to/from json strings.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)