あなたはAbstractConnectionFactory
でこれを使用することができます。
/**
* Returns a list of (currently) open {@link TcpConnection} connection ids; allows,
* for example, broadcast operations to all open connections.
* @return the list of connection ids.
*/
public List<String> getOpenConnectionIds() {
return Collections.unmodifiableList(this.removeClosedConnectionsAndReturnOpenConnectionIds());
}
スレッドはあなたが経由して外部にThreadPoolTaskExecutor
設定され、そのAbstractConnectionFactory
に注入から取得することができます統計:
/**
* @param taskExecutor the taskExecutor to set
*/
public void setTaskExecutor(Executor taskExecutor) {
this.taskExecutor = taskExecutor;
}