Modifier and Type | Class and Description |
---|---|
class |
HeartbeatService
Configures the heartbeat system.
|
class |
HttpPingThread
Deprecated.
|
class |
LogService |
class |
PingMailer
Deprecated.
|
class |
StatService |
Modifier and Type | Method and Description |
---|---|
void |
StatService.addJmx(StatSystem.JmxItem item) |
void |
StatService.addJmxDelta(StatSystem.JmxItem item) |
void |
LogService.setEnable(boolean isEnable)
Deprecated.
|
void |
LogService.setExpireTimeout(Period period)
Sets the length of time the log entries will be saved before being
removed.
|
void |
HttpPingThread.setFreezeTimeout(Period freezeTimeout)
Deprecated.
use HealthSystemHealthCheck.setFreezeTimeout
|
void |
HeartbeatService.setHeartbeatPeriod(Period period)
How often a heartbeat should be sent.
|
void |
HeartbeatService.setHeartbeatTimeout(Period period)
Timeout for a valid heartbeat.
|
void |
HttpPingThread.setInitialSleepTime(Period initialSleepTime)
Deprecated.
use HealthSystem.setDelay
|
void |
LogService.setLevel(java.lang.String level)
Sets the level of records to capture, default is "info".
|
void |
PingMailer.setMailFrom(java.lang.String mailFrom)
Deprecated.
|
void |
PingMailer.setMailSubject(java.lang.String subject)
Deprecated.
|
void |
PingMailer.setMailTo(java.lang.String mailTo)
Deprecated.
|
void |
LogService.setPath(java.lang.String path)
Deprecated.
|
void |
HttpPingThread.setRetryTime(Period retryTime)
Deprecated.
use HealthSystem.setRetryPeriod
|
void |
HttpPingThread.setSleepTime(Period sleepTime)
Deprecated.
use HealthSystem.setPeriod
|
void |
HttpPingThread.setTryCount(int tryCount)
Deprecated.
use HealthSystem.setRecheckMax
|
Modifier and Type | Method and Description |
---|---|
void |
OpenPort.setAddress(java.lang.String address)
Sets the address
|
void |
BootResinConfig.setElasticDns(boolean isElasticDns) |
void |
BootResinConfig.setElasticServer(java.lang.String servers) |
void |
BootResinConfig.setElasticServerPort(int port) |
void |
BootResinConfig.setHomeCluster(java.lang.String homeCluster) |
void |
BootResinConfig.setHomeServer(java.lang.String homeServer) |
void |
BootClusterConfig.setId(java.lang.String id) |
void |
BootResinConfig.setJoinCluster(java.lang.String joinCluster) |
Modifier and Type | Class and Description |
---|---|
class |
LoadBalanceBackend |
Modifier and Type | Method and Description |
---|---|
void |
LoadBalanceBackend.setAddress(java.lang.String address) |
void |
LoadBalanceBackend.setBusyRecoverTime(Period recoverTime) |
void |
LoadBalanceBackend.setBusyRecoverTimeMs(long recoverTime) |
void |
LoadBalanceBackend.setConnectionMin(int connectionMin) |
void |
LoadBalanceBackend.setConnectTimeout(Period connectTimeout) |
void |
LoadBalanceBackend.setConnectTimeoutMs(long connectTimeout) |
void |
LoadBalanceBackend.setIdleTime(Period idleTime) |
void |
LoadBalanceBackend.setIdleTimeMs(long idleTime) |
void |
LoadBalanceBackend.setRecoverTime(Period recoverTime) |
void |
LoadBalanceBackend.setRecoverTimeMs(long recoverTime) |
void |
LoadBalanceBackend.setSocketTimeout(Period socketTimeout) |
void |
LoadBalanceBackend.setSocketTimeoutMs(long socketTimeout) |
void |
LoadBalanceBackend.setWarmupTime(Period warmupTime) |
void |
LoadBalanceBackend.setWarmupTimeMs(long warmupTime) |
void |
LoadBalanceBackend.setWeight(int weight) |
Modifier and Type | Method and Description |
---|---|
void |
NetworkServerConfig.add(ProtocolPort protocolPort) |
void |
ClusterServer.add(ProtocolPort protocolPort) |
void |
NetworkServerConfig.addContentProgram(ConfigProgram builder) |
void |
ClusterServer.addContentProgram(ConfigProgram program)
Adds a program.
|
void |
NetworkServerConfig.addListenDefault(ConfigProgram program)
Adds a listen-default
|
void |
ClusterServer.addListenDefault(ConfigProgram program)
Adds a listen-default
|
void |
NetworkServerConfig.addPortDefault(ContainerProgram program)
Adds a port-default
|
void |
ClusterServer.addPortDefault(ContainerProgram program)
Adds a port-default
|
TcpPort |
NetworkServerConfig.createClusterPort() |
TcpPort |
NetworkServerConfig.createHttp() |
TcpPort |
ClusterServer.createHttp() |
TcpPort |
NetworkServerConfig.createListen() |
TcpPort |
ClusterServer.createListen() |
TcpPort |
NetworkServerConfig.createProtocol() |
TcpPort |
ClusterServer.createProtocol() |
void |
NetworkServerConfig.setBindPortsAfterStart(boolean bindAtEnd)
If true, ports are bound at end.
|
void |
NetworkServerConfig.setClusterIdleTime(Period period) |
void |
NetworkServerConfig.setClusterSocketTimeout(Period period) |
void |
ClusterServer.setClusterSocketTimeout(Period period) |
void |
NetworkServerConfig.setKeepaliveSelectEnable(boolean isEnable) |
void |
ClusterServer.setLoadBalanceConnectionMin(int min)
The minimum number of load balance connections for green load balancing.
|
Modifier and Type | Class and Description |
---|---|
class |
ClusterLock
Distributed lock.
|
class |
ClusterVoteManager
Distributed vote manager.
|
Modifier and Type | Method and Description |
---|---|
void |
ClusterVoteManager.setName(java.lang.String name)
Assigns the name of the lock.
|
void |
AbstractLock.setName(java.lang.String name)
Assigns the name of the lock.
|
Modifier and Type | Method and Description |
---|---|
void |
DataSourceRef.addProperty(com.caucho.config.types.DataSourceRef.Property prop) |
void |
DataSourceRef.setClassName(java.lang.Class<?> cl) |
void |
DataSourceRef.setDatabaseName(java.lang.String value) |
void |
DataSourceRef.setName(java.lang.String name) |
void |
DataSourceRef.setPassword(java.lang.String password) |
void |
DataSourceRef.setPortNumber(int value) |
void |
DataSourceRef.setServerName(java.lang.String value) |
void |
DataSourceRef.setUrl(java.lang.String url) |
void |
DataSourceRef.setUser(java.lang.String userName) |
Modifier and Type | Class and Description |
---|---|
class |
ClusterCache
Cache which stores consistent copies on the cluster segment.
|
class |
HttpRestCache
Cache that stores state in a HTTP REST backing.
|
class |
JdbcCache
Cache that stores state in a jdbc database.
|
class |
LocalCache
Cache which stores consistent copies on the cluster segment.
|
class |
TieredCache
Cache that stores state in a second level cache.
|
class |
TransientCache
Cache with no persistence.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractCache.setAccessedExpireTimeout(Period period)
The maximum idle time for an item, which is typically used for
temporary data like sessions.
|
void |
AbstractCache.setAccessedExpireTimeoutMillis(long timeout)
Sets the idle timeout in milliseconds
|
void |
AbstractCache.setCacheLoader(CacheLoader loader)
Sets the CacheLoader that the Cache can then use to populate
cache misses from a reference store (database).
|
void |
AbstractCache.setCacheReaderWriter(CacheLoader loader)
Sets the CacheLoader and CacheWriter which the Cache can then use
to populate cache misses from a reference store (database).
|
void |
AbstractCache.setCacheWriter(CacheWriter writer)
Sets the CacheWrite that the Cache can then use to save
cache misses from a reference store (database).
|
void |
AbstractCache.setExpireTimeout(Period expireTimeout)
Backwards compat.
|
void |
AbstractCache.setIdleTimeout(Period period) |
void |
AbstractCache.setLeaseExpireTimeout(Period period)
The lease timeout is the time a server can use the local version
if it owns it, before a timeout.
|
void |
AbstractCache.setLeaseExpireTimeoutMillis(long timeout)
The lease timeout is the time a server can use the local version
if it owns it, before a timeout.
|
void |
AbstractCache.setLeaseTimeout(Period period) |
void |
AbstractCache.setLocalExpireTimeout(Period period)
The local read timeout sets how long a local copy of
a cache item can be reused before checking with the master copy.
|
void |
AbstractCache.setLocalExpireTimeoutMillis(long period)
The local read timeout sets how long a local copy of
a cache item can be reused before checking with the master copy.
|
void |
AbstractCache.setLocalReadTimeout(Period period)
Backwards compat.
|
void |
AbstractCache.setManagerName(java.lang.String managerName) |
void |
AbstractCache.setMemorySizeMin(Bytes size)
Sets the minimum memory size for the internal byte buffer cache.
|
void |
AbstractCache.setModifiedExpireTimeout(Period expireTimeout)
The maximum valid time for a cached item before it expires.
|
void |
AbstractCache.setModifiedExpireTimeoutMillis(long expireTimeout)
The maximum valid time for an item.
|
void |
AbstractCache.setName(java.lang.String name)
Assigns the name of the cache.
|
void |
AbstractCache.setReadThrough(boolean isReadThrough) |
void |
AbstractCache.setReadThroughExpireTimeout(Period timeout) |
void |
AbstractCache.setSerializer(CacheSerializer serializer)
Assign the serializer used on values.
|
void |
AbstractCache.setWriteThrough(boolean isWriteThrough) |
Modifier and Type | Class and Description |
---|---|
class |
JmsActivationConfig
Configuration for a JMS/JNDI based MessageDrivenBean.
|
Modifier and Type | Method and Description |
---|---|
void |
EjbBean.addConcurrentMethod(ConcurrentMethod<X> concurrentMethod)
Adds a new concurrent-method
|
void |
EjbBean.addRemoveMethod(RemoveMethod<X> removeMethod)
Adds a new remove-method
|
void |
JmsActivationConfig.setConnectionFactoryJndiName(java.lang.String jndiName)
The JNDI name of a configured ConnectionFactory.
|
void |
JmsActivationConfig.setConnectionFactoryName(java.lang.String name)
The CDI @Named value for a configured ConnectionFactory.
|
void |
JmsActivationConfig.setDestinationJndiName(java.lang.String jndiName) |
void |
JmsActivationConfig.setDestinationName(java.lang.String jndiName) |
void |
JmsActivationConfig.setDestinationType(java.lang.Class<?> type)
javax.jms.Queue or javax.jms.Topic
|
void |
EjbSingletonBean.setInitOnStartup(boolean isInit) |
void |
JmsActivationConfig.setMaxPoolSize(int poolSize)
Configures the maximum pool of listeners.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractEjbBeanManager.setBusinessLocal(java.lang.Class<?> local) |
Modifier and Type | Method and Description |
---|---|
void |
ExpandDeployGenerator.addExpandCleanupFileset(FileSetType include) |
void |
ExpandDeployController.addExpandCleanupFileSet(PathPatternType include)
Sets the archive auto-remove file set.
|
void |
ExpandDeployGenerator.addExpandPreserveFileset(FileSetType exclude) |
void |
ExpandDeployController.addExpandPreserveFileset(PathPatternType exclude)
Sets the archive auto-remove file set.
|
void |
DeployGenerator.setStartupMode(DeployMode mode)
Sets the startup mode.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpStatusHealthCheckImpl.addUrl(java.lang.String url) |
void |
HttpStatusHealthCheckImpl.addUrlList(java.lang.String urlList) |
Modifier and Type | Method and Description |
---|---|
void |
JmxExpr.JmxDelta.setOptional(boolean optional) |
Modifier and Type | Method and Description |
---|---|
void |
CsrfFilter.addAllow(java.lang.String entry)
Adds an allowed URL, without the check
|
Modifier and Type | Class and Description |
---|---|
class |
HealthSystem
Configures the check frequency and recheck rules of the health checking system.
|
Modifier and Type | Method and Description |
---|---|
void |
HealthSystem.setCheckTimeout(Period period)
Sets the check timeout.
|
void |
HealthSystem.setDelay(Period delay)
Set the time after startup before actions are triggered
|
void |
HealthSystem.setEnabled(boolean enabled)
Set all health checking enabled or disabled
|
void |
HealthSystem.setPeriod(Period period)
Sets the time between checks
|
void |
HealthSystem.setRecheckMax(int recheckMax)
Sets the number of rechecks before returning to the normal checking period
|
void |
HealthSystem.setRecheckPeriod(Period recheckPeriod)
Sets the time between rechecks
|
void |
HealthSystem.setStartupDelay(Period delay)
Set the time after startup before actions are triggered
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractHealthAction |
class |
ActionSequence
Sequence of health actions.
|
class |
CallJmxOperation
Health action to call a JMX MBean operation.
|
class |
DumpHealth
Health action to create a dump of all health cehcks.
|
class |
DumpHeap
Health action to create a heap dump.
|
class |
DumpHprofHeap
Health action to create a HPROF format heap dump.
|
class |
DumpJmx
Health action to create a dump of all JMX attributes and values.
|
class |
DumpThreads
Health action to create a thread dump.
|
class |
ExecCommand
Health action to execute a shell command.
|
static class |
ExecCommand.HealthEnv |
class |
FailSafeRestart
Health action to trigger a timed restart of Resin, normally used in
conjunction with an ActionSequence to gather shutdown information.
|
class |
PdfReport
Health action to generate a PDF report from a PHP script.
|
class |
PhpAction
Health action to execute a PHP script.
|
class |
Restart
Health action to trigger a restart of Resin.
|
class |
ScoreboardReport
Health action to create a thread scoreboard report.
|
class |
SendMail
Health action to send an email containing the results of the health check.
|
class |
SetJmxAttribute
Health action to set a JMX MBean attribute value.
|
class |
SetLogLevel
Health action to change a log level, optionally temporarily.
|
class |
Snapshot
A specific sequence of health actions: thread dump, heap dump, jmx dump,
and pdf report.
|
class |
StartProfiler
Health action to start a profiler session.
|
class |
WarnWatchdog
Health action to send health status to the Resin watchdog.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractHealthAction.add(HealthPredicate predicate) |
void |
ExecCommand.addEnv(ExecCommand.HealthEnv env)
Add a custom env variable, system variable are available by default
|
void |
SetLogLevel.addLogger(java.lang.String logger) |
void |
CallJmxOperation.addParam(java.lang.String param) |
void |
SendMail.addTo(java.lang.String to)
Add a "TO:" address; a mail recipient
|
void |
StartProfiler.setActiveTime(Period activeTime) |
void |
StartProfiler.setActiveTimeMillis(long activeTime) |
void |
DumpJmx.setAsync(boolean isAsync)
If set, spawn a thread to dump the jmx.
|
void |
SetJmxAttribute.setAttribute(java.lang.String attribute) |
void |
ExecCommand.setCommand(java.lang.String command)
Set the command line to execute
|
void |
DumpJmx.setDelay(Period delay) |
void |
DumpJmx.setDelayMillis(long delay) |
void |
DumpThreads.setDepth(int depth)
Sets the maximum depth of a thread dump.
|
void |
StartProfiler.setDepth(int depth) |
void |
ExecCommand.setDir(java.io.File dir)
Set the directory to execute from
|
void |
SendMail.setFrom(java.lang.String from)
Set the "FROM:" address, defaults to "resin@localhost"
|
void |
ScoreboardReport.setGreedy(boolean greedy)
If true threads can not be in more than one scoreboard
|
void |
DumpHeap.setHprof(boolean isHprof)
Generate an HPROF heap dump instead of human readable heap dump.
|
void |
DumpHeap.setHprofDir(Path hprofPath)
Deprecated.
|
void |
DumpHeap.setHprofPath(Path hprofPath)
Output path for the hprof dump file.
|
void |
SetLogLevel.setLevel(java.util.logging.Level level) |
void |
SetLogLevel.setLevel(java.lang.String level) |
void |
DumpJmx.setLog(boolean isLog)
Output to server log in addition to internal database (default false).
|
void |
ScoreboardReport.setLog(boolean isLog)
Output to server log in addition to internal database (default false).
|
void |
DumpHeap.setLog(boolean isLog)
Output to server log in addition to internal database (default true).
|
void |
DumpHealth.setLog(boolean isLog)
Output to server log in addition to internal database (default false).
|
void |
DumpThreads.setLog(boolean isLog)
Output to server log in addition to internal database (default true).
|
void |
PdfReport.setLogDirectory(java.lang.String logDirectory)
PDF output directory (defaults to resin log directory)
|
void |
Snapshot.setLogDirectory(java.lang.String logDirectory)
PDF output directory (defaults to resin log directory)
|
void |
SetLogLevel.setLoggers(java.util.List<java.lang.String> loggers) |
void |
PdfReport.setMail(Session session)
Mail from address
|
void |
SendMail.setMail(Session session)
Set the javax.mail.Session to send; configure using a <mail> resource
|
void |
PdfReport.setMailFrom(java.lang.String mailFrom)
Mail from address
|
void |
PdfReport.setMailTo(java.lang.String mailTo)
Mail address
|
void |
ExecCommand.HealthEnv.setName(java.lang.String name) |
void |
CallJmxOperation.setObjectName(java.lang.String objectName) |
void |
SetJmxAttribute.setObjectName(java.lang.String objectName) |
void |
DumpThreads.setOnlyActive(boolean onlyActive)
Set dump to include only active threads
|
void |
CallJmxOperation.setOperation(java.lang.String operation) |
void |
CallJmxOperation.setOperationIndex(int operationIndex) |
void |
PhpAction.setPath(Path path) |
void |
PdfReport.setPath(java.lang.String path)
path to a PDF generating .php file
(defaults to ${resin.home}/doc/admin/pdf-gen.php)
|
void |
Snapshot.setPath(java.lang.String path)
path to a PDF generating .php file
(defaults to ${resin.home}/doc/admin/pdf-gen.php)
|
void |
PdfReport.setPeriod(Period period)
specifies look back period of time.
|
void |
Snapshot.setPeriod(Period period)
specifies look back period of time.
|
void |
PdfReport.setProfileTick(Period period)
Set the length of time for the cpu profile tick
|
void |
PdfReport.setProfileTime(Period period)
Set the length of time for the report snapshot cpu profile
|
void |
DumpHeap.setRaw(boolean raw)
Deprecated.
|
void |
PdfReport.setReport(java.lang.String report)
report type key (default Summary)
|
void |
Snapshot.setReport(java.lang.String report)
report type key (default Summary)
|
void |
StartProfiler.setSamplingRate(Period samplingRate) |
void |
StartProfiler.setSamplingRateMillis(long samplingRate) |
void |
PdfReport.setSnapshot(boolean isSnapshot)
Set true if the report should take a snapshot first.
|
void |
PdfReport.setSnapshotHeapDump(boolean isHeapDump)
Set true to enable/disable heapdump snapshot
|
void |
PdfReport.setSnapshotJmx(boolean isJmx)
Set true to enable/disable heapdump jmx
|
void |
Snapshot.setThreadDump(boolean isEnable)
Enable a thread dump for the snapshot.
|
void |
SetLogLevel.setTime(Period time) |
void |
SetLogLevel.setTimeMillis(long time) |
void |
FailSafeRestart.setTimeout(Period timeout)
Time to force a restart if one has not yet occurred
|
void |
ExecCommand.setTimeout(Period timeout)
Set the timeout on execution of the command, after which it will be killed
|
void |
FailSafeRestart.setTimeoutMillis(long timeout)
Time to force a restart if one has not yet occurred
|
void |
ExecCommand.setTimeoutMillis(long timeout) |
void |
ScoreboardReport.setType(java.lang.String type)
Report type name
(ie "resin" for Resin thread overview, "database" for database threads)
|
void |
SetJmxAttribute.setValue(java.lang.String value) |
void |
ExecCommand.HealthEnv.setValue(java.lang.String value) |
void |
PdfReport.setWatchdog(boolean isWatchdog)
Sets watchdog (postmortem)
|
Modifier and Type | Method and Description |
---|---|
double |
AnomalyAnalyzer.getMaxThreshold() |
double |
AnomalyAnalyzer.getMinThreshold() |
void |
AnomalyAnalyzer.setHealthEvent(java.lang.String name) |
void |
AnomalyAnalyzer.setMaxThreshold(double value) |
void |
AnomalyAnalyzer.setMaxValue(double value) |
void |
AnomalyAnalyzer.setMeter(java.lang.String name) |
void |
AnomalyAnalyzer.setMeterBean(Meter meter) |
void |
AnomalyAnalyzer.setMeterName(java.lang.String name) |
void |
AnomalyAnalyzer.setMinSamples(long minSamples) |
void |
AnomalyAnalyzer.setMinThreshold(double value) |
void |
AnomalyAnalyzer.setMinValue(double value) |
void |
AnomalyAnalyzer.setSigmaThreshold(double sigmaThreshold) |
Modifier and Type | Class and Description |
---|---|
class |
ConnectionPoolHealthCheck
Monitors the health of Resin database connection pools (<database>).
|
class |
CpuHealthCheck
Monitors CPU usage.
|
class |
ExprHealthCheck
Evaluates user supplied JSP EL expressions as a boolean.
|
class |
HealthSystemHealthCheck
Monitors the health system itself by using a separate thread to determine
if health checking is frozen or taking too long.
|
class |
HeartbeatHealthCheck
Monitors for heartbeats from other members of the cluster.
|
class |
HttpStatusHealthCheck
Monitors one or more URLs on the current Resin instance by making an HTTP
GET request and comparing the returned HTTP status code to a pattern.
|
class |
JvmDeadlockHealthCheck
Monitors for deadlocked threads, as determined by the JVM.
|
class |
LicenseHealthCheck
Checks for expiring Resin Pro license.
|
class |
MemoryPermGenHealthCheck
Monitors the amount of free memory in the PermGen pool.
|
class |
MemoryTenuredHealthCheck
Monitors the amount of free memory in the Tenured pool.
|
class |
ResinHealthCheck
This check aggregates all the other health checks, resulting in the current
overall health.
|
class |
TransactionHealthCheck
Monitors the transaction manager for commit failures.
|
Modifier and Type | Method and Description |
---|---|
void |
ExprHealthCheck.addCriticalTest(Expr test)
Add JSP-EL expression that will result in CRITICAL health status
|
void |
ExprHealthCheck.addFatalTest(Expr test)
Add JSP-EL expression that will result in FATAL health status
|
void |
HttpStatusHealthCheck.addUrl(java.lang.String url)
Adds a new URL to be tested.
|
void |
HttpStatusHealthCheck.addUrlList(java.lang.String url)
Adds a new URL to be tested.
|
void |
ExprHealthCheck.addWarningTest(Expr test)
Add JSP-EL expression that will result in WARNING health status
|
void |
CpuHealthCheck.setCriticalThreshold(int criticalThreshold)
Set CPU usage critical threshold (0-100, default 200 (disabled))
|
void |
AbstractHealthCheck.setEnabled(boolean isEnabled) |
void |
MemoryTenuredHealthCheck.setFreeWarning(double pFree)
Set the warning threshold percentage (default 0.01)
|
void |
MemoryPermGenHealthCheck.setFreeWarning(double pFree)
Set the warning threshold percentage (default 0.01)
|
void |
HealthSystemHealthCheck.setFreezeTimeout(Period freezeTimeout)
Set the max time for no health checks to occur to determine the
health system is frozen (default 15 minutes)
|
void |
AbstractHealthCheck.setLogPeriod(Period period) |
void |
HttpStatusHealthCheck.setLogPeriod(Period period) |
void |
MemoryTenuredHealthCheck.setMemoryFreeMin(Bytes memoryMin)
Set minimum amount of free memory (default 1m)
|
void |
MemoryPermGenHealthCheck.setMemoryFreeMin(Bytes memoryMin)
Set minimum amount of free memory (default 1m)
|
void |
AbstractHealthCheck.setName(java.lang.String name) |
void |
MemoryTenuredHealthCheck.setObjectName(java.lang.String objectName)
Explicitly set the MBean name to query for memory stats
|
void |
MemoryPermGenHealthCheck.setObjectName(java.lang.String objectName)
Explicitly set the MBean name to query for memory stats
|
void |
HttpStatusHealthCheck.setPingHost(java.lang.String pingHost)
Sets the server's ping host
|
void |
HttpStatusHealthCheck.setPingPort(int pingPort)
Sets the server's ping port (default 80)
|
void |
HttpStatusHealthCheck.setRegexp(java.util.regex.Pattern regexp)
Set the HTTP status regular expression (default "200")
|
void |
HttpStatusHealthCheck.setSocketTimeout(Period period)
Sets the socket connection timeout (default 10 seconds)
|
void |
HealthSystemHealthCheck.setThreadCheckPeriod(Period threadCheckPeriod)
Set the polling frequency of the independent thread (default 1 minute)
|
void |
LicenseHealthCheck.setWarningPeriod(Period period)
Set license check warning period (default 30D)
|
void |
CpuHealthCheck.setWarningThreshold(int warningThreshold)
Set CPU usage warning threshold (0-100, default 95)
|
void |
AbstractHealthCheck.silenceFor(Period period) |
Modifier and Type | Class and Description |
---|---|
class |
JmxCalculationMeter |
class |
JmxDeltaMeter |
class |
JmxMeter |
class |
MeterGraph |
class |
MeterGraphPage |
class |
MeterGraphSection |
Modifier and Type | Method and Description |
---|---|
void |
MeterGraphPage.add(MeterGraph graph) |
void |
MeterGraphSection.add(MeterGraph graph) |
void |
MeterGraphPage.add(MeterGraphSection section) |
void |
MeterGraphPage.addGraph(MeterGraph graph) |
void |
MeterGraphSection.addGraph(MeterGraph graph) |
void |
MeterGraph.addMeter(java.lang.String name) |
void |
MeterGraphPage.addSection(MeterGraphSection section) |
void |
JmxMeter.setAttribute(java.lang.String attribute) |
void |
MeterGraphPage.setHeapDump(boolean isEnable) |
void |
MeterGraphPage.setJmxDump(boolean isEnable) |
void |
MeterGraphPage.setLog(boolean isEnable) |
void |
MeterGraph.setName(java.lang.String name) |
void |
JmxMeter.setName(java.lang.String name) |
void |
MeterGraphPage.setName(java.lang.String name) |
void |
MeterGraphSection.setName(java.lang.String name) |
void |
JmxCalculationMeter.setName(java.lang.String name) |
void |
JmxMeter.setObjectName(java.lang.String objectName) |
void |
JmxMeter.setOptional(boolean optional) |
void |
JmxCalculationMeter.setOptional(boolean optional) |
void |
MeterGraphPage.setProfile(boolean isEnable) |
void |
MeterGraphPage.setSummary(boolean isEnable) |
void |
MeterGraphPage.setThreadDump(boolean isEnable) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCombiningPredicate |
class |
AbstractHealthCheckPredicate |
class |
And
Matches if all of the child predicates match.
|
class |
EventPredicate |
class |
IfCriticalRechecked
Qualifies an action to match only after the required number of rechecks
have been performed.
|
class |
IfCron
Matches if the current time is in an active range configured by
cron-style times.
|
class |
IfExpr
Qualifies an action to execute based on the evaluation of an JSP EL
expression.
|
class |
IfFlapping
Qualifies an action to match only when the health check status is flapping.
|
class |
IfHealthCritical
Qualifies an action to match critical health status.
|
class |
IfHealthEvent
Qualifies an action to match only on a health event.
|
class |
IfHealthFatal
Qualifies an action to match critical health status.
|
class |
IfHealthOk
Qualifies an action to match OK health status.
|
class |
IfHealthStatus |
class |
IfHealthUnknown
Qualifies an action to match unknown results.
|
class |
IfHealthWarning
Qualifies an action to match warning health status.
|
class |
IfMessage
Qualifies an action to match health result message to a regular expression.
|
class |
IfNotRecent
Qualifies an action to match at most an amount of time after the last execution.
|
class |
IfRechecked
Qualifies an action to match only after the required number of rechecks
have been performed.
|
class |
IfRecovered
Qualifies an action to match upon recovery of Resin health.
|
class |
IfUptime
Qualifies an action to match an amount of time after startup.
|
class |
LifecyclePredicate |
class |
Nand
Matches if all of the child predicates fail.
|
class |
Nor
Matches if none of the child predicates match.
|
class |
Not
Matches if the child predicate is false.
|
class |
OnAbnormalStop
Qualifies an action to match only when Resin is stopping with an non-OK
exit code.
|
class |
OnRestart
Qualifies an action to match only when Resin is restarted by the watchdog.
|
class |
OnStart
Qualifies an action to match only when Resin is starting.
|
class |
OnStop
Qualifies an action to match only when Resin is stopping.
|
class |
Or
Matches if any of the child predicates match.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractCombiningPredicate.add(HealthPredicate predicate) |
void |
OnAbnormalStop.addNormalExitCode(ExitCode exitCode) |
void |
IfUptime.setAfter(Period period) |
void |
IfCron.setDisableAt(CronType disableAt)
Sets the cron disable times.
|
void |
IfCron.setEnableAt(CronType enableAt)
Sets the cron enable times.
|
void |
AbstractHealthCheckPredicate.setHealthCheck(HealthCheck healthCheck)
Set health check - optional, if not present summary status will be used
|
void |
IfFlapping.setHighWeight(double highWeight)
Newer state changes can be weighted more than older changes.
|
void |
IfFlapping.setLowWeight(double lowWeight)
Older state changes can be weighted less than more recent changes.
|
void |
IfMessage.setRegexp(java.util.regex.Pattern regexp)
Set health message match regular expression
|
void |
IfFlapping.setSampleSize(int sampleSize)
The minimum number of samples required before attempting to detect
flapping.
|
void |
IfHealthStatus.setStatus(HealthStatus status) |
void |
IfExpr.setTest(Expr test)
Sets the JSP-EL expression value
|
void |
IfFlapping.setThreshold(double threshold)
Flapping is detected when the calculated weighted percent change exceeds
this threshold,
|
void |
IfNotRecent.setTime(Period time)
The time before the action can execute again.
|
void |
IfHealthStatus.setTime(Period recheckTime) |
void |
IfCron.setValue(CronType enableAt) |
Modifier and Type | Class and Description |
---|---|
class |
ClusterQueue<X extends java.io.Serializable>
ClusterQueue provides reliable point to point transfer of messages.
|
class |
ClusterTopic<X extends java.io.Serializable>
ClusterTopic provides reliable Publish/Subscribe message model
communication between the nodes in the Resin cluster.
Following example shows how to make two nodes in resin cluster
communicate between each other using cluster topic.
|
class |
FileQueue<X extends java.io.Serializable>
A JMS queue backed by a file-based database.
|
class |
FileTopic<E>
A JMS topic backed by a file-based database.
|
class |
MemoryQueue<X>
A JMS queue stored in memory.
|
class |
MemoryTopic
A JMS topic stored in memory.
|
Modifier and Type | Method and Description |
---|---|
void |
ClusterQueueImpl.setBackup(boolean isBackup)
Set true if messages should be backed up.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractDestination.setName(java.lang.String name)
Sets the name of the destination
|
Modifier and Type | Class and Description |
---|---|
class |
LibraryLoader
Class loader which checks for changes in class files and automatically
picks up new jars.
|
class |
SimpleLoader
Class loader which checks for changes in class files and automatically
picks up new jars.
|
class |
TreeLoader
Class loader which checks for changes in class files and automatically
picks up new jars.
|
Modifier and Type | Class and Description |
---|---|
class |
LogHandlerConfig
Configuration for the
|
class |
PathHandler
Configures a log handler
|
Modifier and Type | Method and Description |
---|---|
void |
LogHandlerConfig.add(java.util.logging.Handler handler) |
Modifier and Type | Method and Description |
---|---|
void |
MemcachedClient.setModifiedExpireTimeout(Period timeout) |
Modifier and Type | Class and Description |
---|---|
class |
TcpPort
Represents a protocol connection.
|
class |
Throttle
Throttles connections
|
Modifier and Type | Method and Description |
---|---|
void |
TcpPort.addContentProgram(ConfigProgram program)
Ignore unknown tags.
|
SSLFactory |
TcpPort.createOpenssl()
Sets the SSL factory
|
void |
TcpPort.setAcceptListenBacklog(int listen)
Sets the operating system listen backlog
|
void |
TcpPort.setAcceptThreadIdleTimeout(Period timeout)
Sets the minimum spare idle timeout.
|
void |
TcpPort.setAcceptThreadMax(int maxSpare)
Sets the minimum spare listen.
|
void |
TcpPort.setAcceptThreadMin(int minSpare)
Sets the minimum spare listen.
|
void |
TcpPort.setAddress(java.lang.String address)
Sets the address
|
void |
TcpPort.setConnectionMax(int max)
Sets the connection max.
|
void |
TcpPort.setPort(int port)
Sets the port.
|
void |
TcpPort.setPortThreadMax(int max) |
void |
TcpPort.setSecure(boolean isSecure)
Sets true for secure
|
void |
TcpPort.setSocketTimeout(Period period)
Sets the read/write timeout for the accepted sockets.
|
void |
TcpPort.setTcpCork(boolean tcpCork)
Sets the tcp-no-delay property
|
void |
TcpPort.setTcpKeepalive(boolean tcpKeepalive)
Sets the tcp-keepalive property
|
void |
TcpPort.setTcpNoDelay(boolean tcpNoDelay)
Sets the tcp-no-delay property
|
void |
TcpPort.setThrottleConcurrentMax(int max)
Configures the throttle.
|
void |
TcpPort.setVirtualHost(java.lang.String host)
Sets the virtual host for IP-based virtual host.
|
Modifier and Type | Class and Description |
---|---|
class |
ScheduledTask
The cron resources starts application Work tasks at cron-specified
intervals.
|
Modifier and Type | Method and Description |
---|---|
void |
ScheduledTask.add(java.lang.Runnable task) |
void |
ScheduledTask.setCron(java.lang.String cron)
Sets the cron interval.
|
void |
ScheduledTask.setDelay(Period delay)
Sets the delay
|
void |
ScheduledTaskConfig.setDelay(Period delay)
Deprecated.
Sets the delay
|
void |
ScheduledTask.setMethod(MethodExpression method)
Sets the method expression as a task
|
void |
ScheduledTask.setPeriod(Period period)
Sets the period
|
void |
ScheduledTaskConfig.setPeriod(Period period)
Deprecated.
Sets the period
|
void |
ScheduledTask.setTask(java.lang.Runnable task)
Sets the task.
|
void |
ScheduledTaskConfig.setTask(java.lang.Runnable task)
Deprecated.
Sets the task.
|
void |
ScheduledTask.setUrl(java.lang.String url)
Sets the url expression as a task
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTargetDispatchRule |
class |
AddHeader
Sets a response header in a rewrite rule or as a top-level filter.
|
class |
And
Matches if all of the child predicates match.
|
class |
Dispatch
Dispatch the request using the standard servlet and filter processing.
|
class |
FastCgiProxy
Dispatches a request to a backend server using FastCGI as the proxy
protocol.
|
class |
Forbidden
Sends a HTTP Forbidden response using response.sendError(SC_FORBIDDEN).
|
class |
Forward
Forwards a requests using the servlet RequestDispatcher.forward call
protocol.
|
class |
HttpMessageProxy
Dispatches a request to a backend server using HTTP as the proxy
protocol.
|
class |
HttpProxy
Dispatches a request to a backend server using HTTP as the proxy
protocol.
|
class |
IfAuthType
Matches if the auth-type is equal to the specified value.
|
class |
IfCookie
Passes if the named HTTP cookie exists and has a value
that matches a regular expression.
|
class |
IfCron
Match if the request occurs during enabled times.
|
class |
IfFileExists
Match if the file specified by getRealPath() exists in the filesystem.
|
class |
IfHeader
Passes if the named header exists and has a value
that matches a regular expression.
|
class |
IfLocale
Match if the request's locale matches an expression.
|
class |
IfLocalPort
Matches if request.getLocalPort() matches the 'value' attribute.
|
class |
IfMBeanEnabled
Matches if the MBean is enabled and does not match if it's not enabled.
|
class |
IfMethod
Match if the HTTP method matches the value.
|
class |
IfNetwork
Match if the remote IP address matches one of the pattern networks.
|
class |
IfQueryParam
Passes if the named parameter exists and has a value
that matches a regular expression.
|
class |
IfRemoteAddr |
class |
IfRemoteUser
A rewrite condition that passes if the client has been authenticated
and the remote user has the specified name, as determined by
HttpServletRequest.getRemoteUser() . |
class |
IfSecure
Match if the request is secure, i.e.
|
class |
IfServerName
A rewrite condition that passes if the server name matches.
|
class |
IfUserInRole
Match if the user is in any of the given roles,
i.e.
|
class |
LoadBalance
Dispatches a request to the load balancer.
|
class |
Location
Filter container which matches URLs and conditions and contains child
actions.
|
class |
MovedPermanently
Sends a HTTP moved-permanently response
|
class |
Not
True if the child predicate is false.
|
class |
NotFound
Sends a HTTP 404 Not Found response
|
class |
NotOr
Matches if none of the child predicates match.
|
class |
Or
Matches if any of the child predicates match.
|
class |
Redirect |
class |
RedirectSecure |
class |
Rewrite |
class |
SendError
Sends a HTTP error response using response.sendError(code)
|
class |
SetHeader
Sets a response header in a rewrite rule or as a top-level filter.
|
class |
SetRequestCharacterEncoding
Sets the request character encoding in a rewrite rule or as a top-level filter.
|
class |
SetRequestSecure |
class |
SetVary
Sets a response Vary header to control caching based on input headers,
e.g.
|
class |
WelcomeFile
Manages the welcome-file as a rewrite-dispatch.
|
Modifier and Type | Method and Description |
---|---|
void |
And.add(RequestPredicate predicate)
Add a child predicate.
|
void |
NotAnd.add(RequestPredicate predicate)
Add a child predicate.
|
void |
NotOr.add(RequestPredicate predicate)
Add a child predicate.
|
void |
Not.add(RequestPredicate predicate)
Add a child predicate.
|
void |
LoadBalance.add(StickyRequestHashGenerator gen) |
void |
HttpProxy.addAddress(java.lang.String address)
Adds a backend HTTP server address like "127.0.0.1:8081"
|
void |
FastCgiProxy.addAddress(java.lang.String address)
Adds a backend FastCGI server address like "127.0.0.1:8081"
|
void |
HttpProxy.addBackend(LoadBalanceBackend backend) |
void |
HttpProxy.addHost(java.lang.String host) |
void |
IfUserInRole.addRole(java.lang.String role)
Adds a role to check.
|
void |
IfNetwork.addValue(java.lang.String network)
Add an ip network to allow.
|
LoadBalanceBackend |
HttpProxy.createBackend() |
void |
Forward.setAbsoluteTarget(java.lang.String target) |
void |
HttpProxy.setAddresses(java.lang.String addresses) |
void |
IfNetwork.setCacheSize(int cacheSize)
Size of the cache used to hold whether or not to allow a certain IP
address, default is 256.
|
void |
LoadBalance.setCluster(java.lang.String cluster)
Sets the target cluster for the load balancer
|
void |
HttpProxy.setConnectionMin(int connectionMin) |
void |
HttpProxy.setConnectTimeout(Period connectTimeout) |
void |
IfCron.setDisableAt(CronType disableAt)
Sets the cron disable times.
|
void |
IfCron.setEnableAt(CronType enableAt)
Sets the cron enable times.
|
void |
IfMBeanEnabled.setEnabled(boolean isEnabled)
Sets true if the default is to enable.
|
void |
FastCgiProxy.setFailRecoverTime(Period period)
Sets the timeout to recover from a failed connection to the backend.
|
void |
HttpMessageProxy.setGroup(java.lang.String name)
Adds a backend HTTP server address like "127.0.0.1:8081"
|
void |
HttpProxy.setIdleTime(Period idleTime) |
void |
IfMethod.setMethod(java.lang.String value)
Sets the HTTP method value to test: GET, POST, etc..
|
void |
IfCookie.setName(java.lang.String name)
Sets the HTTP cookie name to test.
|
void |
IfHeader.setName(java.lang.String name)
Sets the HTTP header name to test.
|
void |
AddHeader.setName(java.lang.String name)
Sets the HTTP header name
|
void |
IfQueryParam.setName(java.lang.String name)
Sets the name of the query parameter to test.
|
void |
IfMBeanEnabled.setName(java.lang.String name)
Sets the MBean name.
|
void |
SetHeader.setName(java.lang.String name)
Sets the HTTP header name
|
void |
HttpProxy.setRecoverTime(Period recoverTime) |
void |
IfCookie.setRegexp(java.util.regex.Pattern regexp)
Sets a regexp to compare against the cookie value.
|
void |
IfHeader.setRegexp(java.util.regex.Pattern regexp)
Sets the HTTP header regexp to compare against.
|
void |
IfQueryParam.setRegexp(java.util.regex.Pattern regexp)
Sets the regular expression to compare against the query parameter.
|
void |
LoadBalance.setSessionCookie(java.lang.String sessionId) |
void |
HttpProxy.setSocketTimeout(Period socketTimeout) |
void |
LoadBalance.setStickySessions(boolean isSticky) |
void |
LoadBalance.setStrategy(java.lang.String strategy)
Sets the strategy for the load balancer
|
void |
HttpProxy.setStrategy(java.lang.String strategy)
Sets the strategy for the load balancer
|
void |
Forward.setTarget(java.lang.String target) |
void |
Forward.setTargetHost(java.lang.String target) |
void |
SetRequestSecure.setValue(boolean isSecure) |
void |
IfSecure.setValue(boolean value)
Sets the secure value to test against.
|
void |
IfLocalPort.setValue(int value)
Sets the local port to compare
|
void |
IfLocale.setValue(java.util.regex.Pattern regexp)
The locale value to test against
|
void |
IfMethod.setValue(java.lang.String value)
Sets the HTTP method value to test.
|
void |
IfAuthType.setValue(java.lang.String authType)
Sets the auth-type value to match against.
|
void |
HttpProxy.setWarmupTime(Period warmupTime) |
Modifier and Type | Class and Description |
---|---|
class |
Management
Configuration for management.
|
Modifier and Type | Class and Description |
---|---|
class |
ServerConfig
ServletContainer configration from the
|
class |
ServletContainerConfig
Configuration for the
|
Modifier and Type | Method and Description |
---|---|
void |
ServletContainerConfig.add(DispatchRule rewrite) |
void |
ServletContainerConfig.addEarDefault(EarConfig earConfig)
Adds an EarDefault
|
void |
ServletContainerConfig.addHost(HostConfig host)
Adds the host.
|
void |
ServletContainerConfig.addHostDefault(HostConfig hostConfig)
Adds a HostDefault.
|
void |
ServletContainerConfig.addHostDeploy(HostExpandDeployGenerator deploy)
Adds a HostDeploy.
|
void |
ServletContainerConfig.addJavaExe(java.lang.String args)
Arguments on boot
|
void |
ServletContainerConfig.addJvmArg(java.lang.String args)
Arguments on boot
|
void |
ServletContainerConfig.addJvmArgLine(java.lang.String args)
Arguments on boot
|
void |
ServletContainerConfig.addJvmClasspath(java.lang.String args)
Arguments on boot
|
void |
ServletContainerConfig.addWatchdogArg(java.lang.String args)
Arguments on boot
|
void |
ServletContainerConfig.addWatchdogJvmArg(java.lang.String args)
Arguments on boot
|
void |
ServletContainerConfig.addWatchdogLog(ConfigProgram args)
Arguments on boot
|
void |
ServletContainerConfig.addWatchdogPassword(java.lang.String args)
Arguments on boot
|
void |
ServletContainerConfig.addWatchdogPort(int port)
Arguments on boot
|
void |
ServletContainerConfig.addWebAppDefault(WebAppConfig webAppConfig)
Adds a WebAppDefault.
|
AbstractProxyCache |
ServletContainerConfig.createCache()
backward compatibility for proxy cache
|
HostExpandDeployGenerator |
ServletContainerConfig.createHostDeploy()
Adds a HostDeploy.
|
java.lang.Object |
ServletContainerConfig.createJdbcStore() |
Management |
ServletContainerConfig.createManagement() |
PersistentStoreConfig |
ServletContainerConfig.createPersistentStore()
Creates a persistent store instance.
|
AbstractProxyCache |
ServletContainerConfig.createProxyCache()
Creates the proxy cache.
|
RewriteDispatch |
ServletContainerConfig.createRewriteDispatch()
Adds rewrite-dispatch.
|
void |
ServletContainerConfig.setAccessLog(AccessLog accessLog)
Sets the access log.
|
void |
ServletContainerConfig.setAccessLogBufferSize(Bytes bufferSize)
Sets the access log.
|
void |
ServletContainerConfig.setAlternateSessionUrlPrefix(java.lang.String urlPrefix)
Sets the alternate session url prefix.
|
void |
ServletContainerConfig.setConnectionErrorPage(java.lang.String errorPage)
Sets the connection error page.
|
void |
ServletContainerConfig.setDevelopmentModeErrorPage(boolean isEnable)
Development mode error pages.
|
void |
ServletContainerConfig.setDynamicServerEnable(boolean isEnable) |
void |
ServletContainerConfig.setErrorPageServerId(boolean isEnable)
Development mode error pages.
|
void |
ServletContainerConfig.setHeaderCountMax(int max)
Sets the header-count-max
|
void |
ServletContainerConfig.setHeaderSizeMax(int max)
Sets the header-size-max
|
void |
ServletContainerConfig.setIgnoreClientDisconnect(boolean isIgnore) |
void |
ServletContainerConfig.setInvocationCacheSize(int count) |
void |
ServletContainerConfig.setMaxUriLength(int max)
Sets the url-length-max
|
void |
ServletContainerConfig.setMemoryFreeMin(Bytes min)
Sets the minimum free memory after a GC
|
void |
ServerConfig.setMemoryFreeMin(Bytes min)
Sets the minimum free memory after a GC
|
void |
ServletContainerConfig.setPermGenFreeMin(Bytes min)
Sets the minimum free memory after a GC
|
void |
ServerConfig.setPermGenFreeMin(Bytes min)
Sets the minimum free memory after a GC
|
void |
ServletContainerConfig.setRedeployMode(java.lang.String redeployMode)
Sets the redeploy mode
|
void |
ServletContainerConfig.setRootDir(Path path)
Sets the root directory.
|
void |
ServletContainerConfig.setRootDirectory(Path path)
Sets the root directory.
|
void |
ServletContainerConfig.setSendfileEnable(boolean isEnable) |
void |
ServerConfig.setSendfileEnable(boolean isEnable) |
void |
ServletContainerConfig.setSendfileMinLength(Bytes bytes) |
void |
ServerConfig.setSendfileMinLength(Bytes bytes) |
void |
ServletContainerConfig.setServerHeader(java.lang.String serverHeader)
Sets the server header.
|
void |
ServletContainerConfig.setSessionCookie(java.lang.String sessionCookie)
Sets the session cookie
|
void |
ServletContainerConfig.setSessionUrlPrefix(java.lang.String urlPrefix)
Sets the session url prefix.
|
void |
ServletContainerConfig.setShutdownWaitMax(Period waitTime)
Sets the max wait time for shutdown.
|
void |
ServerConfig.setShutdownWaitMax(Period waitTime)
Sets the max wait time for shutdown.
|
void |
ServletContainerConfig.setSSLSessionCookie(java.lang.String cookie)
Sets the ssl session cookie
|
void |
ServletContainerConfig.setStage(java.lang.String stage)
Sets the stage id
|
void |
ServletContainerConfig.setSystemClassLoader(java.lang.String loader)
The Resin system classloader
|
void |
ServletContainerConfig.setThreadExecutorTaskMax(int max)
Sets the maximum executor (background) thread.
|
void |
ServerConfig.setThreadExecutorTaskMax(int max)
Sets the maximum executor (background) thread.
|
void |
ServletContainerConfig.setThreadIdleMax(int max)
Sets the maximum number of idle threads in the thread pool.
|
void |
ServletContainerConfig.setThreadIdleMin(int min)
Sets the minimum number of idle threads in the thread pool.
|
void |
ServletContainerConfig.setThreadIdleTimeout(Period timeout) |
void |
ServletContainerConfig.setThreadMax(int max)
Sets the maximum thread-based keepalive
|
void |
ServerConfig.setThreadMax(int max)
Sets the maximum thread-based keepalive
|
void |
ServletContainerConfig.setUrlCharacterEncoding(java.lang.String encoding)
Sets URL encoding.
|
void |
ServletContainerConfig.setUrlLengthMax(int max)
Sets the url-length-max
|
Modifier and Type | Method and Description |
---|---|
void |
ServletConfigImpl.setBean(Bean<?> bean)
Set the bean
|
void |
ServletConfigImpl.setServletClass(java.lang.String servletClassName)
Sets the servlet class.
|
Modifier and Type | Method and Description |
---|---|
void |
CacheConfig.setModifiedExpireTimeout(long expireTimeout)
The maximum valid time for an item.
|
void |
CacheConfig.setModifiedExpireTimeoutWindow(long expireTimeoutWindow)
Provides the opportunity to control the expire check window,
i.e.
|
Modifier and Type | Method and Description |
---|---|
void |
Host.addEarDefault(EarConfig config) |
void |
Host.addEarDeploy(EarDeployGenerator earDeploy)
Adds the ear-expansion
|
void |
Host.addErrorPage(ErrorPage errorPage) |
void |
Host.addHostAliasRegexp(java.lang.String name)
Adds an alias.
|
void |
Host.addWarDeploy(WebAppExpandDeployGenerator webAppDeploy)
Sets the war-expansion
|
void |
Host.addWebApp(WebAppConfig config) |
void |
Host.addWebAppDefault(WebAppConfig config) |
EarDeployGenerator |
Host.createEarDeploy()
Sets the ear-expansion
|
WebAppExpandDeployGenerator |
Host.createWarDeploy()
Sets the war-expansion
|
WebAppExpandDeployGenerator |
Host.createWebAppDeploy()
Sets the war-expansion
|
void |
Host.setAccessLog(AccessLog log) |
void |
Host.setHostName(java.lang.String name)
Sets the canonical host name.
|
void |
HostConfig.setId(RawString id)
Sets the id.
|
void |
Host.setWarDir(Path warDir)
Sets the war-dir for backwards compatibility.
|
Modifier and Type | Method and Description |
---|---|
void |
ProxyCache.setEnableMmap(boolean isEnable) |
Modifier and Type | Method and Description |
---|---|
void |
HttpMessageProxyClient.setCluster(java.lang.String cluster) |
void |
HttpMessageProxyClient.setGroup(java.lang.String group) |
Modifier and Type | Method and Description |
---|---|
void |
AccessLog.addExclude(java.util.regex.Pattern pattern)
Adds an exclusion pattern.
|
void |
AccessLog.setArchiveFormat(java.lang.String format)
Sets the archive name format
|
void |
AccessLog.setAutoFlush(boolean isAutoFlush)
Sets the auto-flush attribute.
|
void |
AccessLog.setBufferSize(Bytes bytes)
Sets the log buffer size.
|
void |
AccessLog.setPathFormat(java.lang.String pathFormat)
Sets the formatted path.
|
void |
AccessLog.setRolloverCheckTime(Period period)
Sets how often the log rollover will be checked.
|
void |
AccessLog.setRolloverCount(int count)
Sets the maximum number of rolled logs.
|
void |
AccessLog.setRolloverCron(CronType cron)
Sets the log rollover cron
|
void |
AccessLog.setRolloverPeriod(Period period)
Sets the log rollover period, rounded up to the nearest hour.
|
void |
AccessLog.setRolloverSize(Bytes bytes)
Sets the log rollover size, rounded up to the megabyte.
|
Modifier and Type | Method and Description |
---|---|
void |
BootResinConfig.addCluster(BootClusterProxy clusterProxy) |
void |
BootResinConfig.addClusterDefault(ContainerProgram program)
Adds a
|
void |
AbstractResinConfig.addLog(LogConfig log)
Overrides standard
|
void |
AbstractResinConfig.addLogger(LoggerConfig logger)
Overrides standard
|
void |
AbstractResinConfig.addLogHandler(LogHandlerConfig logHandler)
Overrides standard
|
void |
BootClusterConfig.addPod(BootPodConfig pod) |
void |
BootPodConfig.addServer(BootServerConfig server) |
void |
BootClusterConfig.addServer(BootServerConfig server) |
void |
BootPodConfig.addServerDefault(ContainerProgram program)
Adds a
|
void |
BootClusterConfig.addServerDefault(ContainerProgram program)
Adds a
|
void |
AbstractResinConfig.addStdoutLog(StdoutLog log)
Overrides standard
|
LogConfig |
AbstractResinConfig.createLog() |
LoggerConfig |
AbstractResinConfig.createLogger() |
LogHandlerConfig |
AbstractResinConfig.createLogHandler()
Overrides standard
|
BootPodConfig |
BootClusterConfig.createPod() |
com.caucho.server.resin.ResinConfig.SecurityManagerConfig |
ResinConfig.createSecurityManager() |
BootServerConfig |
BootPodConfig.createServer() |
BootServerConfig |
BootClusterConfig.createServer() |
StdoutLog |
AbstractResinConfig.createStdoutLog() |
ThreadPoolConfig |
ResinConfig.createThreadPool()
Configures the thread pool
|
boolean |
BootServerConfig.isAllowExternalAddress() |
boolean |
BootServerConfig.isExternalAddress() |
boolean |
BootServerConfig.isRequireExplicitId() |
void |
BootServerConfig.setAddress(java.lang.String address) |
void |
BootServerMultiConfig.setAddressList(java.lang.String addresses) |
void |
ResinConfig.setAdminPath(Path path)
Deprecated.
|
void |
BootServerConfig.setAllowNonReservedIp(boolean isExternal) |
void |
BootServerMultiConfig.setClusterPort(ConfigProgram program) |
void |
ResinConfig.setClusterSystemKey(java.lang.String key)
Sets the resin system key
|
void |
BootResinConfig.setClusterSystemKey(java.lang.String key) |
void |
ResinConfig.setElasticDns(boolean isElasticServer) |
void |
ResinConfig.setElasticServer(boolean isElasticServer)
Sets the shutdown time
|
void |
ResinConfig.setEnvironmentSystemProperties(boolean isEnable)
Set true if the server should enable environment-based
system properties.
|
void |
BootServerConfig.setExternalAddress(boolean isExternal) |
void |
ResinConfig.setGlobalSystemProperties(boolean isGlobal)
Set true if system properties are global.
|
void |
ResinConfig.setGroupName(java.lang.String groupName)
Sets the group name for setuid.
|
void |
ResinConfig.setHomeCluster(java.lang.String homeCluster) |
void |
ResinConfig.setHomeServer(java.lang.String homeServer) |
void |
BootPodConfig.setId(java.lang.String id)
Sets the pod's id
|
void |
BootClusterConfig.setId(java.lang.String id)
Sets the cluster's id
|
void |
BootClusterProxy.setId(java.lang.String id)
Sets the cluster's id
|
void |
BootServerConfig.setId(java.lang.String id)
Sets the cluster's id
|
void |
BootServerMultiConfig.setIdPrefix(java.lang.String id)
Sets the cluster's id
|
void |
ResinConfig.setIgnoreLock(boolean isIgnore) |
void |
ResinConfig.setJoinCluster(java.lang.String joinCluster) |
void |
ResinConfig.setMinFreeMemory(Bytes minFreeMemory)
Sets the minimum free memory allowed.
|
void |
BootServerConfig.setPort(int port) |
void |
BootServerMultiConfig.setPort(int port) |
void |
BootServerConfig.setRequireExplicitId(boolean isRequire) |
void |
ResinConfig.setResinDataDirectory(Path path)
Deprecated.
|
void |
ResinConfig.setResinSystemAuthKey(java.lang.String key)
Obsolete version of ClusterSystemKey
|
void |
BootResinConfig.setResinSystemAuthKey(java.lang.String key)
Obsolete
|
void |
ResinConfig.setRootDirectory(Path root) |
void |
ResinConfig.setUserName(java.lang.String userName)
Sets the user name for setuid.
|
void |
ResinConfig.setWatchdogManager(ConfigProgram program) |
Modifier and Type | Method and Description |
---|---|
SessionCookieConfig |
SessionManager.createCookieConfig() |
Modifier and Type | Class and Description |
---|---|
class |
ListenerConfig<T>
Configuration for the listener
|
class |
UnknownWebApp
Resin's webApp implementation.
|
class |
WebApp
Resin's webApp implementation.
|
Modifier and Type | Method and Description |
---|---|
void |
WebApp.add(AbstractAccessLog log)
Allow custom access log
|
void |
WebApp.addContextParam(InitParam initParam)
Sets the context param
|
void |
WebApp.addErrorPage(ErrorPage errorPage)
Adds an error page
|
void |
WebApp.addFilter(FilterConfigImpl config)
Adds a filter configuration.
|
void |
WebApp.addFilterMapping(FilterMapping filterMapping)
Adds a filter-mapping configuration.
|
void |
ServletContextImpl.addListener(ListenerConfig config) |
void |
WebApp.addListener(ListenerConfig listener) |
void |
WebApp.addMimeMapping(MimeMapping mimeMapping)
Adds a mime-mapping
|
void |
Ordering.addName(java.lang.String name) |
void |
Ordering.addOthers(Ordering others) |
void |
WebApp.addServlet(ServletConfigImpl config)
Adds a servlet configuration.
|
void |
WebApp.addServletMapping(ServletMapping servletMapping)
Adds a servlet-mapping configuration.
|
void |
WebApp.addServletRegexp(ServletRegexp servletRegexp)
Adds a servlet-regexp configuration.
|
void |
WebApp.addSessionConfig(SessionManager manager)
Adds the session manager.
|
void |
WebApp.addTaglib(JspTaglib taglib)
taglib configuration
|
void |
WebApp.addWebApp(WebAppConfig config)
Adds a sub web-app
|
void |
WebApp.addWebAppDefault(WebAppConfig config)
Adds a web-app default
|
void |
WebApp.addWebAppDeploy(WebAppExpandDeployGenerator deploy)
Adds a war generator
|
void |
WebApp.addWelcomeFileList(WelcomeFileList list)
Adds a welcome file list to the webApp.
|
Ordering |
Ordering.createAfter() |
Ordering |
Ordering.createBefore() |
JspPropertyGroup |
WebApp.createJsp()
jsp configuration
|
LocaleEncodingMappingList |
WebApp.createLocaleEncodingMappingList()
Configures the locale encoding.
|
MultipartForm |
WebApp.createMultipartForm()
Multipart form config.
|
Ordering |
WebApp.createOrdering() |
boolean |
WebApp.isAllowForwardAfterFlush() |
void |
WebApp.setAccessLog(AbstractAccessLog log)
Sets the access log.
|
void |
WebApp.setActiveWaitErrorPage(java.lang.String location)
Sets the error page waiting for a restart
|
void |
WebApp.setActiveWaitTime(Period wait)
Sets the delay time waiting for a restart
|
void |
WebApp.setAllowServletEL(boolean allow)
Sets the servlet init-param EL enabling.
|
void |
WebApp.setCookieHttpOnly(boolean isHttpOnly)
Sets the cookie-http-only
|
void |
WebApp.setDescription(java.lang.String description)
A user description of the web-app
|
void |
WebApp.setDisableCrossContext(boolean isDisable)
If true, disables getContext().
|
void |
WebApp.setDispatchWrapsFilters(boolean wrap)
Set true if includes wrap filters.
|
void |
WebApp.setDistributable(boolean isDistributable) |
void |
WebApp.setFormParameterMax(int max)
Sets the maximum number of form parameters
|
void |
WebApp.setIcon(Icon icon)
Sets the icon
|
void |
WebApp.setIdleTime(Period idle)
Sets the delay time waiting for requests to end.
|
void |
WebApp.setLazyServletValidate(boolean isLazy)
Lazy servlet validation.
|
void |
WebAppFragmentConfig.setMetadataComplete(boolean metadataComplete) |
void |
WebAppFragmentConfig.setMetaDataComplete(boolean metadataComplete) |
void |
WebAppFragmentConfig.setName(WebAppFragmentConfig.NameConfig nameConfig) |
void |
WebApp.setRedeployMode(DeployMode mode)
Sets the redeploy-mode of the controller
|
void |
WebApp.setRootDirectory(Path appDir)
Sets the root directory (app-dir).
|
void |
WebApp.setSecure(boolean isSecure)
Sets the secure requirement.
|
void |
WebApp.setShutdownWaitMax(Period wait)
Sets the delay time waiting for requests to end.
|
void |
WebApp.setStatisticsEnable(boolean isEnable)
Enables detailed statistics
|
void |
WebApp.setStrictMapping(boolean isStrict)
Set true if strict mapping.
|
void |
WebApp.setVersion(java.lang.String version)
Sets the servlet version.
|