public class PersistentNetworkMapService extends AbstractNetworkMapService
A network map service backed by a database to survive restarts of the node hosting it.
Majority of the logic is inherited from class AbstractNetworkMapService
.
This class needs database transactions to be in-flight during method calls and init, otherwise it will throw exceptions.
class AbstractNetworkMapService
NetworkMapService.Companion, NetworkMapService.FetchMapRequest, NetworkMapService.FetchMapResponse, NetworkMapService.QueryIdentityRequest, NetworkMapService.QueryIdentityResponse, NetworkMapService.RegistrationRequest, NetworkMapService.RegistrationResponse, NetworkMapService.SubscribeRequest, NetworkMapService.SubscribeResponse, NetworkMapService.Update, NetworkMapService.UpdateAcknowledge
Companion
Constructor and Description |
---|
PersistentNetworkMapService(ServiceHubInternal services)
A network map service backed by a database to survive restarts of the node hosting it.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<net.corda.core.crypto.Party,net.corda.node.services.network.NodeRegistrationInfo> |
getRegisteredNodes() |
ThreadBox<net.corda.node.utilities.JDBCHashMap> |
getSubscribers() |
getMapVersion, getMaxSizeRegistrationRequestBytes, getMaxUnacknowledgedUpdates, getNodes, getRegisteredNodes, getSubscribers, getUnacknowledgedCount, get_mapVersion, notifySubscribers, processAcknowledge, processFetchAllRequest, processQueryRequest, processRegistrationChangeRequest, processSubscriptionRequest, setup, unregisterNetworkHandlers
getNet, getServices
toToken
getNodes
toToken
public PersistentNetworkMapService(ServiceHubInternal services)
A network map service backed by a database to survive restarts of the node hosting it.
Majority of the logic is inherited from class AbstractNetworkMapService
.
This class needs database transactions to be in-flight during method calls and init, otherwise it will throw exceptions.
class AbstractNetworkMapService
public java.util.Map<net.corda.core.crypto.Party,net.corda.node.services.network.NodeRegistrationInfo> getRegisteredNodes()
public ThreadBox<net.corda.node.utilities.JDBCHashMap> getSubscribers()