1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
Hi,
Have a look at the Javadoc: it states clearly that some methods are not thead safe.
This method is inherently not thread safe. Use withGrantTokens(List) or
KmsMasterKey.setGrantTokens(List) instead. KmsMasterKeyProviders constructed using
the builder will throw an exception on attempts to modify the list of grant tokens.
So, you should avoid this (deprecated) method to become thread safe.
Best,
Didier