MCPcopy Create free account
hub / github.com/apache/storm / DRPC

Method DRPC

storm-server/src/main/java/org/apache/storm/daemon/drpc/DRPC.java:79–82  ·  view source on GitHub ↗
(StormMetricsRegistry metricsRegistry, Map<String, Object> conf)

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls 4

getIntMethod · 0.95
getMethod · 0.65
registerMeterMethod · 0.65

Tested by

no test coverage detected