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.void
UserLibrariesConfig.addDirectory
(String directory) Add a user directory.WebServerConfig.addHTTPService
(String name, String className, String urlPattern) Add an HTTP Service.void
ConnectorConfig.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.RestApiConfig
ofRestServiceConfig.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.void
RestServiceConfig.removeRestApiConfig
(RestServiceConfig.RestApiType restApiType) RemovesRestServiceConfig.RestApiConfig
of supplied type.void
WebServerConfig.removeRestServiceConfig()
Removes instance ofRestServiceConfig
.VirtualHostRealmConfig.removeUser
(String name) Remove a realm user.FileServiceConfig.removeVirtualHost
(String name) Remove virtual host.void
VirtualHostConfig.setAliasFile
(String aliasFile) Sets the alias file.void
SecurityConfig.setAuthenticationHandlers
(List<? extends AuthenticationHandlerConfig> handlers) Authentication handlers, in order of decreasing precedence.void
ThreadsConfig.setBackgroundPoolSize
(int size) Sets the number of threads to use for the background thread pool.void
ConnectorConfig.setBacklog
(int backlog) Sets the backlog.void
VirtualHostCacheConfig.setCacheSizeLimit
(int limit) Sets the cache size limit.WebServerConfig.setClientService
(String name) Add a client service.void
SessionConfig.setCompressionSchemes
(Set<SessionConfig.CompressionScheme> schemes) Set the compression schemes supported by this connector.void
VirtualHostConfig.setCompressionThreshold
(int threshold) Sets the compression threshold.void
JournalConfig.setConfigDirectory
(String directory) Sets the path of the directory holding the journal configuration file.void
JournalConfig.setConfigFile
(String fileName) Sets the name of the configuration file within the indicated configuration directory.void
QueueConfig.setConflates
(boolean conflates) Sets whether the queue has conflation enabled by default.void
ManagementConfig.setConnectionPort
(int port) Sets the JMX service port.void
ConnectorConfig.setConnectionTimeout
(long timeout) Sets the connection timeout for inbound connections.void
FanOutConnectionConfig.setConnectionTimeout
(int timeout) Deprecated.Sets the connection timeout.void
TimeoutsConfig.setConnectionTimeout
(long timeout) Sets the connection timeout.void
LoggingConfig.setConsoleMonitoredLog
(String path) Deprecated.since 6.9void
ServerConfig.setConsoleMonitoredLog
(String path) Sets the console monitored log path.void
ClientServiceConfig.setCookieDisabled
(boolean disabled) Sets the session cookie as enabled/disabled.void
ClientServiceConfig.setCORSOrigin
(String origin) Sets the CORS origin.void
VirtualHostCacheConfig.setDebug
(boolean debug) Sets debug option.void
VirtualHostConfig.setDebug
(boolean debug) Sets debug option.void
LoggingConfig.setDefaultLogDirectory
(String directory) Deprecated.since 6.9void
ServerConfig.setDefaultLogDirectory
(String directory) Sets the default log directory path.void
QueuesConfig.setDefaultQueue
(String queueDefinition) Sets the name of the default queue definition.void
SelectorThreadPoolsConfig.setDefaultSelectorThreadPool
(String defaultPoolName) Sets the thread pool definition to use as default selector thread pool.void
GeoIpConfig.setEnabled
(boolean enabled) Sets enabled flag.void
JournalConfig.setEnabled
(boolean enabled) Enable or disable the journal service.void
ManagementConfig.setEnabled
(boolean enabled) Sets whether or not a remote JMX Connector is enabled or not.void
PersistenceConfig.setEnabled
(boolean enabled) Enable or disable the persistence service.void
VirtualHostConfig.setErrorPage
(String errorPage) Sets the error page.void
TopicReplicationConfig.setExcludedPaths
(Set<String> excludedPaths) Deprecated.since 6.11void
ReplicationConfig.setExternalHost
(String host) Optionally override the host name that peer servers should use to connect to this server.void
ReplicationConfig.setExternalPort
(Integer port) Optionally override the port that peer servers should use to connect to this server.void
Sets the file path of the KeyStore.void
VirtualHostCacheConfig.setFileLifeTime
(long lifeTime) Sets the file lifetime.void
GeoIpConfig.setFileName
(String fileName) Sets the name of the Maxmind GeoCityIP city file.WebServerConfig.setFileService
(String name) Add a file service.void
VirtualHostCacheConfig.setFileSizeLimit
(int limit) Sets the file size limit.void
Sets the host address to bind to.void
Set the host.void
ThreadsConfig.setInboundPool
(String poolDefinition) Sets the thread pool definition to use for the inbound thread pool.void
TopicReplicationConfig.setIncludedPaths
(Set<String> includedPaths) Deprecated.since 6.11void
FanOutConnectionConfig.setInputBufferSize
(int size) Deprecated.Sets the input buffer size for the connection.void
SocketConditioningConfig.setInputBufferSize
(int size) Sets the input buffer size.void
ReconnectConfig.setKeepAlive
(long keepAlive) Sets the keep alive value.void
SocketConditioningConfig.setKeepAlive
(boolean keepAlive) Sets the TCP keep alive option.void
ManagementConfig.setKeystoreConfig
(KeyStoreConfig keystoreConfig) Sets the keystore configuration.void
MultiplexerConfig.setLatencyWarning
(long latencyValue) Sets the latency warning threshold.void
Deprecated.since 6.8void
QueueConfig.setLowerThreshold
(int threshold) Sets the lower threshold.void
KeyStoreConfig.setMandatory
(boolean mandatory) Sets if keyStore is mandatory.void
QueueConfig.setMaximumBytes
(long maximumBytes) Sets the maximum size of the outbound message queue in bytes.void
QueueConfig.setMaximumDepth
(int maximumDepth) Sets the maximum depth of the queue.void
MultiplexerConfig.setMaximumEventQueueSize
(int size) Sets the maximum event queue size.void
ClientServiceConfig.setMaximumInboundRequestSize
(int maxSize) Sets the maximum inbound request size.void
HTTPServiceConfig.setMaximumInboundRequestSize
(int maxSize) Sets maximum inbound request size.void
RestServiceConfig.RestApiConfig.setMaximumInboundRequestSize
(int maximumInboundRequestSize) Sets maximum inbound request size for associated HTTP service config.void
ServerConfig.setMaximumMessageSize
(int maxMessageSize) Sets the maximum message size.void
SessionConfig.setMaximumQueuedBytes
(long maximumQueuedBytes) Sets the maximum number of bytes that can be used by all outbound message queues of sessions using this connector.void
ReconnectConfig.setMaximumQueueDepth
(int maxDepth) Sets the maximum queue depth value.void
FanOutConnectionConfig.setMaximumQueueSize
(int queueSize) Deprecated.Sets the maximum queue size for messages queued to be sent to the primary server.void
ClientServiceConfig.setMessageSequenceTimeout
(long timeout) Sets the message sequence timeout.void
VirtualHostConfig.setMinify
(boolean minify) Sets minify option.void
MultiplexerConfig.setMonitorPeriod
(long period) Sets the multiplexer progress monitoring period.void
SocketConditioningConfig.setNoDelay
(boolean noDelay) Sets the no delay option.void
FanOutConnectionConfig.setOutputBufferSize
(int size) Deprecated.Sets the output buffer size.void
SocketConditioningConfig.setOutputBufferSize
(int size) Sets the output buffer size.void
ClientStatisticsConfig.setOutputFrequency
(long frequency) Sets the output frequency for statistics reports to the log.void
FanOutConnectionConfig.setPassword
(String password) Deprecated.Sets a password to be used when authenticating with the primary server.void
KeyStoreConfig.setPassword
(String password) Sets the keyStore password.void
ServerConfig.setPersistenceDirectory
(String path) Sets the name of a directory under which persistent files will be maintained.void
ConnectorConfig.setPort
(int port) Sets the port that the connector binds to.void
FanOutConnectionConfig.setPrincipal
(String principal) Deprecated.Sets the security principal to use when authenticating with the primary server.void
ConnectorConfig.setProtocols
(Set<ConnectorConfig.Protocol> protocols) Sets the client protocols supported by this connector.void
ConnectorConfig.setProxyProtocol
(ConnectorConfig.ProxyProtocol protocol) Sets the proxy protocol required for connection.void
SessionConfig.setQueueDefinition
(String queueDefinition) Sets the queue definition.void
ThreadPoolConfig.setQueueSize
(int size) Sets the queue size.void
ReplicationConfig.setQuorum
(int quorum) Sets the quorum size.void
FanOutConnectionConfig.setReconnectTimeout
(int timeout) Deprecated.Sets the overall reconnection timeout value.void
FanOutConnectionConfig.setRecoveryBufferSize
(int size) Deprecated.Set the recovery buffer size.void
ReconnectConfig.setRecoveryBufferSize
(int size) Set the maximum number of sent messages that can be recovered on reconnection.void
ManagementConfig.setRegistryPort
(int port) Sets the RMI registry port.void
ConnectorConfig.setRequired
(boolean required) Sets a boolean value to specify if the connector is required on startup.void
ClientStatisticsConfig.setResetFrequency
(long frequency) Sets the reset frequencyWebServerConfig.setRestServiceConfig()
AddsRestServiceConfig
for this web server config.void
FanOutConnectionConfig.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.void
SocketConditioningConfig.setReuseAddress
(boolean reuseAddress) Sets the reuse address option.void
ConnectorConfig.setSelectorThreadPoolDefinition
(String definitionName) Sets the thread pool definition.void
ServerConfig.setServerName
(String name) Sets the server name.void
JournalConfig.setSessionProperties
(List<String> sessionProperties) Sets the session properties that should be logged with journal entries that relate to client sessions.void
RestServiceConfig.setSessionTokenTimeoutInMins
(long sessionTokenTimeoutInMins) Sets the session token time out value in minutes.void
HooksConfig.setShutdownHook
(String className) Sets the value of the shutdownHook property.void
MultiplexerConfig.setSize
(int size) Sets the number of multiplexer threads.void
ThreadPoolConfig.setSize
(int size) Sets the pool size.void
ConnectorConfig.setStartConditions
(List<? extends ConnectorConfig.StartCondition> conditions) Sets the conditions that must be satisfied before the connector is automatically started.void
HooksConfig.setStartupHook
(String className) Sets the start up hook.void
VirtualHostConfig.setStatic
(boolean isStatic) Sets static option.void
SessionConfig.setSystemPingFrequency
(long frequency) Sets the system ping frequency.void
ConnectorConfig.setThreadPoolDefinition
(String definitionName) Sets the thread pool definition.void
Sets the associated mime type.void
QueueConfig.setUpperThreshold
(int threshold) Sets the upper threshold.void
ConnectorConfig.setValidationPolicyFile
(String validationPolicyFile) Sets a validation policy file.void
ConnectorConfig.setWebServer
(String webServerName) Sets the Web Server.void
ClientServiceConfig.setWebsocketOrigin
(String origin) Sets the WebSocket origin patten.void
FanOutConnectionConfig.setWriteTimeout
(int timeout) Deprecated.Sets the write timeout value.void
FileServiceConfig.setWriteTimeout
(long timeout) Sets the write timeout.void
TimeoutsConfig.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.