Uses of Class
com.pushtechnology.diffusion.api.config.ConfigException
Packages that use ConfigException
Package
Description
Diffusion Configuration API
Diffusion Embedded Server API
-
Uses of ConfigException in com.pushtechnology.diffusion.api.config
Methods in com.pushtechnology.diffusion.api.config that throw ConfigExceptionModifier and TypeMethodDescriptionFanOutConfig.addConnection(String name, String url) Deprecated.Add a new connection to a primary server.ConnectorConfig.addConnectionValidationPolicy(String name) Add a new connection validation policy for the connector.ServerConfig.addConnector(String name) Add a connector.voidUserLibrariesConfig.addDirectory(String directory) Add a user directory.WebServerConfig.addHTTPService(String name, String className, String urlPattern) Add an HTTP Service.voidConnectorConfig.addIgnoreErrorsFrom(String ipAddress) Add an IP address to ignore errors from.Deprecated.Adds a topic tree link to be replicated.Adds a Locale to the policy.Add a mime.Add a selector thread pool to the set of those available.Add a new thread pool definition.HTTPServiceConfig.addProperty(String name, String value) Add a service property.HTTPServiceConfig.addProperty(String name, String type, String value) Add a service property.Add a queue definition.Add a realm.RestServiceConfig.addRestApiConfig(RestServiceConfig.RestApiType restApiType) Creates and addsRestServiceConfig.RestApiConfigofRestServiceConfig.RestApiType.Add a realm user.FileServiceConfig.addVirtualHost(String name, String host, String documentRoot, String homePage) Add a new virtual host configuration.ServerConfig.addWebServer(String webServerName) Add a new Web Server Configuration.WebServerConfig.removeClientService()Remove Client Service.WebServerConfig.removeFileService()Remove File Service.WebServerConfig.removeHTTPService(String name) Remove a named HTTP Service.VirtualHostConfig.removeRealm(String name) Remove a named realm.voidRestServiceConfig.removeRestApiConfig(RestServiceConfig.RestApiType restApiType) RemovesRestServiceConfig.RestApiConfigof supplied type.voidWebServerConfig.removeRestServiceConfig()Removes instance ofRestServiceConfig.VirtualHostRealmConfig.removeUser(String name) Remove a realm user.FileServiceConfig.removeVirtualHost(String name) Remove virtual host.voidVirtualHostConfig.setAliasFile(String aliasFile) Sets the alias file.voidSecurityConfig.setAuthenticationHandlers(List<? extends AuthenticationHandlerConfig> handlers) Authentication handlers, in order of decreasing precedence.voidThreadsConfig.setBackgroundPoolSize(int size) Sets the number of threads to use for the background thread pool.voidConnectorConfig.setBacklog(int backlog) Sets the backlog.voidVirtualHostCacheConfig.setCacheSizeLimit(int limit) Sets the cache size limit.WebServerConfig.setClientService(String name) Add a client service.voidSessionConfig.setCompressionSchemes(Set<SessionConfig.CompressionScheme> schemes) Set the compression schemes supported by this connector.voidVirtualHostConfig.setCompressionThreshold(int threshold) Sets the compression threshold.voidJournalConfig.setConfigDirectory(String directory) Sets the path of the directory holding the journal configuration file.voidJournalConfig.setConfigFile(String fileName) Sets the name of the configuration file within the indicated configuration directory.voidQueueConfig.setConflates(boolean conflates) Sets whether the queue has conflation enabled by default.voidManagementConfig.setConnectionPort(int port) Sets the JMX service port.voidConnectorConfig.setConnectionTimeout(long timeout) Sets the connection timeout for inbound connections.voidFanOutConnectionConfig.setConnectionTimeout(int timeout) Deprecated.Sets the connection timeout.voidTimeoutsConfig.setConnectionTimeout(long timeout) Sets the connection timeout.voidLoggingConfig.setConsoleMonitoredLog(String path) Deprecated.since 6.9voidServerConfig.setConsoleMonitoredLog(String path) Sets the console monitored log path.voidClientServiceConfig.setCookieDisabled(boolean disabled) Sets the session cookie as enabled/disabled.voidClientServiceConfig.setCORSOrigin(String origin) Sets the CORS origin.voidVirtualHostCacheConfig.setDebug(boolean debug) Sets debug option.voidVirtualHostConfig.setDebug(boolean debug) Sets debug option.voidLoggingConfig.setDefaultLogDirectory(String directory) Deprecated.since 6.9voidServerConfig.setDefaultLogDirectory(String directory) Sets the default log directory path.voidQueuesConfig.setDefaultQueue(String queueDefinition) Sets the name of the default queue definition.voidSelectorThreadPoolsConfig.setDefaultSelectorThreadPool(String defaultPoolName) Sets the thread pool definition to use as default selector thread pool.voidGeoIpConfig.setEnabled(boolean enabled) Sets enabled flag.voidJournalConfig.setEnabled(boolean enabled) Enable or disable the journal service.voidManagementConfig.setEnabled(boolean enabled) Sets whether or not a remote JMX Connector is enabled or not.voidPersistenceConfig.setEnabled(boolean enabled) Enable or disable the persistence service.voidVirtualHostConfig.setErrorPage(String errorPage) Sets the error page.voidTopicReplicationConfig.setExcludedPaths(Set<String> excludedPaths) Deprecated.since 6.11voidReplicationConfig.setExternalHost(String host) Optionally override the host name that peer servers should use to connect to this server.voidReplicationConfig.setExternalPort(Integer port) Optionally override the port that peer servers should use to connect to this server.voidSets the file path of the KeyStore.voidVirtualHostCacheConfig.setFileLifeTime(long lifeTime) Sets the file lifetime.voidGeoIpConfig.setFileName(String fileName) Sets the name of the Maxmind GeoCityIP city file.WebServerConfig.setFileService(String name) Add a file service.voidVirtualHostCacheConfig.setFileSizeLimit(int limit) Sets the file size limit.voidSets the host address to bind to.voidSet the host.voidThreadsConfig.setInboundPool(String poolDefinition) Sets the thread pool definition to use for the inbound thread pool.voidTopicReplicationConfig.setIncludedPaths(Set<String> includedPaths) Deprecated.since 6.11voidFanOutConnectionConfig.setInputBufferSize(int size) Deprecated.Sets the input buffer size for the connection.voidSocketConditioningConfig.setInputBufferSize(int size) Sets the input buffer size.voidReconnectConfig.setKeepAlive(long keepAlive) Sets the keep alive value.voidSocketConditioningConfig.setKeepAlive(boolean keepAlive) Sets the TCP keep alive option.voidManagementConfig.setKeystoreConfig(KeyStoreConfig keystoreConfig) Sets the keystore configuration.voidMultiplexerConfig.setLatencyWarning(long latencyValue) Sets the latency warning threshold.voidDeprecated.since 6.8voidQueueConfig.setLowerThreshold(int threshold) Sets the lower threshold.voidKeyStoreConfig.setMandatory(boolean mandatory) Sets if keyStore is mandatory.voidQueueConfig.setMaximumBytes(long maximumBytes) Sets the maximum size of the outbound message queue in bytes.voidQueueConfig.setMaximumDepth(int maximumDepth) Sets the maximum depth of the queue.voidMultiplexerConfig.setMaximumEventQueueSize(int size) Sets the maximum event queue size.voidClientServiceConfig.setMaximumInboundRequestSize(int maxSize) Sets the maximum inbound request size.voidHTTPServiceConfig.setMaximumInboundRequestSize(int maxSize) Sets maximum inbound request size.voidRestServiceConfig.RestApiConfig.setMaximumInboundRequestSize(int maximumInboundRequestSize) Sets maximum inbound request size for associated HTTP service config.voidServerConfig.setMaximumMessageSize(int maxMessageSize) Sets the maximum message size.voidSessionConfig.setMaximumQueuedBytes(long maximumQueuedBytes) Sets the maximum number of bytes that can be used by all outbound message queues of sessions using this connector.voidReconnectConfig.setMaximumQueueDepth(int maxDepth) Sets the maximum queue depth value.voidFanOutConnectionConfig.setMaximumQueueSize(int queueSize) Deprecated.Sets the maximum queue size for messages queued to be sent to the primary server.voidClientServiceConfig.setMessageSequenceTimeout(long timeout) Sets the message sequence timeout.voidVirtualHostConfig.setMinify(boolean minify) Sets minify option.voidMultiplexerConfig.setMonitorPeriod(long period) Sets the multiplexer progress monitoring period.voidSocketConditioningConfig.setNoDelay(boolean noDelay) Sets the no delay option.voidFanOutConnectionConfig.setOutputBufferSize(int size) Deprecated.Sets the output buffer size.voidSocketConditioningConfig.setOutputBufferSize(int size) Sets the output buffer size.voidClientStatisticsConfig.setOutputFrequency(long frequency) Sets the output frequency for statistics reports to the log.voidFanOutConnectionConfig.setPassword(String password) Deprecated.Sets a password to be used when authenticating with the primary server.voidKeyStoreConfig.setPassword(String password) Sets the keyStore password.voidServerConfig.setPersistenceDirectory(String path) Sets the name of a directory under which persistent files will be maintained.voidConnectorConfig.setPort(int port) Sets the port that the connector binds to.voidFanOutConnectionConfig.setPrincipal(String principal) Deprecated.Sets the security principal to use when authenticating with the primary server.voidConnectorConfig.setProtocols(Set<ConnectorConfig.Protocol> protocols) Sets the client protocols supported by this connector.voidConnectorConfig.setProxyProtocol(ConnectorConfig.ProxyProtocol protocol) Sets the proxy protocol required for connection.voidSessionConfig.setQueueDefinition(String queueDefinition) Sets the queue definition.voidThreadPoolConfig.setQueueSize(int size) Sets the queue size.voidReplicationConfig.setQuorum(int quorum) Sets the quorum size.voidFanOutConnectionConfig.setReconnectTimeout(int timeout) Deprecated.Sets the overall reconnection timeout value.voidFanOutConnectionConfig.setRecoveryBufferSize(int size) Deprecated.Set the recovery buffer size.voidReconnectConfig.setRecoveryBufferSize(int size) Set the maximum number of sent messages that can be recovered on reconnection.voidManagementConfig.setRegistryPort(int port) Sets the RMI registry port.voidConnectorConfig.setRequired(boolean required) Sets a boolean value to specify if the connector is required on startup.voidClientStatisticsConfig.setResetFrequency(long frequency) Sets the reset frequencyWebServerConfig.setRestServiceConfig()AddsRestServiceConfigfor this web server config.voidFanOutConnectionConfig.setRetryDelay(int delay) Deprecated.Specifies the number of milliseconds to wait after failing to connect or losing the connection to the primary server before trying to connect again.voidSocketConditioningConfig.setReuseAddress(boolean reuseAddress) Sets the reuse address option.voidConnectorConfig.setSelectorThreadPoolDefinition(String definitionName) Sets the thread pool definition.voidServerConfig.setServerName(String name) Sets the server name.voidJournalConfig.setSessionProperties(List<String> sessionProperties) Sets the session properties that should be logged with journal entries that relate to client sessions.voidRestServiceConfig.setSessionTokenTimeoutInMins(long sessionTokenTimeoutInMins) Sets the session token time out value in minutes.voidHooksConfig.setShutdownHook(String className) Sets the value of the shutdownHook property.voidMultiplexerConfig.setSize(int size) Sets the number of multiplexer threads.voidThreadPoolConfig.setSize(int size) Sets the pool size.voidConnectorConfig.setStartConditions(List<? extends ConnectorConfig.StartCondition> conditions) Sets the conditions that must be satisfied before the connector is automatically started.voidHooksConfig.setStartupHook(String className) Sets the start up hook.voidVirtualHostConfig.setStatic(boolean isStatic) Sets static option.voidSessionConfig.setSystemPingFrequency(long frequency) Sets the system ping frequency.voidConnectorConfig.setThreadPoolDefinition(String definitionName) Sets the thread pool definition.voidSets the associated mime type.voidQueueConfig.setUpperThreshold(int threshold) Sets the upper threshold.voidConnectorConfig.setValidationPolicyFile(String validationPolicyFile) Sets a validation policy file.voidConnectorConfig.setWebServer(String webServerName) Sets the Web Server.voidClientServiceConfig.setWebsocketOrigin(String origin) Sets the WebSocket origin patten.voidFanOutConnectionConfig.setWriteTimeout(int timeout) Deprecated.Sets the write timeout value.voidFileServiceConfig.setWriteTimeout(long timeout) Sets the write timeout.voidTimeoutsConfig.setWriteTimeout(long timeout) Sets the value of the write timeout for blocking write operations. -
Uses of ConfigException in com.pushtechnology.diffusion.api.server
Constructors in com.pushtechnology.diffusion.api.server that throw ConfigExceptionModifierConstructorDescriptionConstructor.DiffusionServer(String propertiesDirectory, boolean embedded) Constructor.DiffusionServer(Properties bootstrapProps) Constructor.DiffusionServer(Properties bootstrapProps, boolean embedded) Constructor.