Commit bc359823 authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

rpc: expose internal thread count through OncRpcSvc interface

Acked-By: Gerd
parent 56d2d99f
......@@ -169,4 +169,19 @@ public class OncRpcSvc {
_programs.remove(prog);
}
/**
* Get number of maximal concurrent threads.
* @return thread number
*/
public int getThreadCount() {
return _controller.getReadThreadsCount();
}
/**
* Set the maximal number of concurrent threads.
* @param count
*/
public void setThreadCount(int count) {
_controller.setReadThreadsCount(count);
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment