|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExecutableConnector
An interface to executable connectors.
Method Summary | |
---|---|
int |
getConnectionCount()
Gets a snapshot of the number of active and idle connections. |
ObjectName |
getRequestExecutorName()
Gets the executor for requests. |
void |
setRequestExecutorName(ObjectName executor)
Sets the executor for requests. |
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, setMaxIdleConnections, setPort, setProvider, setRedirectPort, setRequestTimeout, setSecure |
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 |
---|
int getConnectionCount()
The count is the number of active threads in the current request executor. If the same executor is shared by several connectors, the count is the sum of connections of these connectors.
getConnectionCount
in interface Connector
ObjectName getRequestExecutorName()
void setRequestExecutorName(ObjectName executor)
executor
- the name of the executor or a query.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |