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 AbstractNetworkMapServiceNetworkMapService.Companion, NetworkMapService.FetchMapRequest, NetworkMapService.FetchMapResponse, NetworkMapService.QueryIdentityRequest, NetworkMapService.QueryIdentityResponse, NetworkMapService.RegistrationRequest, NetworkMapService.RegistrationResponse, NetworkMapService.SubscribeRequest, NetworkMapService.SubscribeResponse, NetworkMapService.Update, NetworkMapService.UpdateAcknowledgeCompanion| 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, unregisterNetworkHandlersgetNet, getServicestoTokengetNodestoTokenpublic 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 AbstractNetworkMapServicepublic java.util.Map<net.corda.core.crypto.Party,net.corda.node.services.network.NodeRegistrationInfo> getRegisteredNodes()
public ThreadBox<net.corda.node.utilities.JDBCHashMap> getSubscribers()