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
相關內容
- 已提問 1 年前