@Synchronized fun <T : StackService, K : NodeKey<*>> get(nodeKey: K, peerBuilder: PeerBuilder<T, K>, forceRebuild: Boolean = false): Peer<*>
Tries to retrieve an existing Node with a NodeKey or builds one with the given PeerBuilder if it does not exist or the PeerBuilder does not build it.
nodeKey
- the NodeKey associated with the desired Node
peerBuilder
- the PeerBuilder used to build the Node if necessary a check if it
builds the same Node