(StormMetricsRegistry metricsRegistry, Map<String, Object> conf)
| 77 | private final IAuthorizer auth; |
| 78 | |
| 79 | public DRPC(StormMetricsRegistry metricsRegistry, Map<String, Object> conf) { |
| 80 | this(metricsRegistry, mkAuthorizationHandler((String) conf.get(DaemonConfig.DRPC_AUTHORIZER), conf), |
| 81 | ObjectReader.getInt(conf.get(DaemonConfig.DRPC_REQUEST_TIMEOUT_SECS), 600) * 1000); |
| 82 | } |
| 83 | |
| 84 | public DRPC(StormMetricsRegistry metricsRegistry, IAuthorizer auth, long timeoutMs) { |
| 85 | this.auth = auth; |
nothing calls this directly
no test coverage detected