Is it resource-intensive to call KeyFactory.createKey?
Does it use a lot of resour开发者_StackOverflowces to invoke KeyFactory.createKey
?
No. createKey
simply constructs a Key
object from the fields you provide, and doesn't require any RPC calls or other overhead. It's no more expensive than your average constructor.
精彩评论