/** * Calculates the metadata required when connecting to the master {@link org.jboss.as.domain.controller.DomainController} * This value does not require locking during use, as {@link org.jboss.as.host.controller.mgmt.HostInfo createLocalHostHostInfo()} uses * '/domain-controller', which is read-only, and '/core-service=ignored-resources/ignored-resource-type' which has handlers on * add, remove and write-attribute that will place the host into reload-required. * @return */ @Override public ModelNode createLocalHostInfo() { return HostInfo.createLocalHostHostInfo(localHostInfo, productConfig, ignoredDomainResourceRegistry, ReadRootResourceHandler.grabDomainResource(operationExecutor).getChildren(HOST).iterator().next()); }
/** * Calculates the metadata required when connecting to the master {@link org.jboss.as.domain.controller.DomainController} * This value does not require locking during use, as {@link org.jboss.as.host.controller.mgmt.HostInfo createLocalHostHostInfo()} uses * '/domain-controller', which is read-only, and '/core-service=ignored-resources/ignored-resource-type' which has handlers on * add, remove and write-attribute that will place the host into reload-required. * @return */ @Override public ModelNode createLocalHostInfo() { return HostInfo.createLocalHostHostInfo(localHostInfo, productConfig, ignoredDomainResourceRegistry, ReadRootResourceHandler.grabDomainResource(operationExecutor).getChildren(HOST).iterator().next()); }
final ModelNode hostInfo = HostInfo.createLocalHostHostInfo(localHostInfo, productConfig, ignoredDomainResourceRegistry); final OptionMap options = OptionMap.builder().set(RemotingOptions.HEARTBEAT_INTERVAL, 15000) .set(Options.READ_TIMEOUT, 45000)