|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LocalConnector
An interface to local connectors.
| Method Summary | |
|---|---|
boolean |
isClientAuthNeeded()
Checks whether client authentication is needed. |
boolean |
isClientAuthWanted()
Checks whether client authentication is wanted. |
void |
setClientAuthNeeded(boolean flag)
Sets whether client authentication is needed. |
void |
setClientAuthWanted(boolean flag)
Sets whether client authentication is wanted. |
void |
setMaxIdleConnections(int count)
Sets the maximum number of idle connections to keep alive. |
| Methods inherited from interface org.norther.tammi.spray.connector.TCPConnector |
|---|
getReceiveBufferSize, getSendBufferSize, getServerBufferSize, getSoLinger, getSoTimeout, isTcpNoDelay, setReceiveBufferSize, setSendBufferSize, setServerBufferSize, setSoLinger, setSoTimeout, setTcpNoDelay |
| Methods inherited from interface org.norther.tammi.spray.connector.ExecutableConnector |
|---|
getConnectionCount, getRequestExecutorName, setRequestExecutorName |
| Methods inherited from interface org.norther.tammi.spray.connector.Connector |
|---|
getAddress, getConnectionTimeout, getFilterName, getKeyAlias, getLoggerName, getMaxIdleConnections, getName, getPort, getProvider, getRedirectPort, getRequestTimeout, isKeepConnection, isLoggingDisabled, isSecure, keepConnection, setConnectionTimeout, setFilterName, setKeyAlias, setKeyPassword, setLoggerName, setLoggingDisabled, setPort, setProvider, setRedirectPort, setRequestTimeout, setSecure |
| Methods inherited from interface org.norther.tammi.core.base.Startable |
|---|
isStarted, start, stop |
| Methods inherited from interface org.norther.tammi.core.thread.Executable |
|---|
getExecutorName, setExecutorName |
| Methods inherited from interface org.norther.tammi.core.base.Startable |
|---|
isStarted, start, stop |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Method Detail |
|---|
void setMaxIdleConnections(int count)
Note that the limit cannot exceed the number of threads available in the current request executor.
setMaxIdleConnections in interface Connectorcount - the max number of idle connections.boolean isClientAuthWanted()
void setClientAuthWanted(boolean flag)
flag - true for client authentication, false otherwise.boolean isClientAuthNeeded()
void setClientAuthNeeded(boolean flag)
flag - true for client authentication, false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||