void function ( TimeUnit arg0 , int arg1 ) { int loc0 = ( int ) MINIMAL_POLL_UNIT . convert ( arg1 , arg0 ) ; Preconditions . checkArgument ( loc0 >= MINIMAL_POLL_PERIOD , "srini_string" , arg1 , arg0 ) ; }
checks if the poll period is smaller that the minimal poll period which is 1 second . concode_field_sep TimeUnit MINIMAL_POLL_UNIT concode_elem_sep String SINK_REGEX concode_elem_sep String CLIENT_INSTANCE concode_elem_sep Logger LOG concode_elem_sep int MINIMAL_POLL_PERIOD concode_elem_sep String WORKER_INSTANCE concode_elem_sep List<Sink> sSinks concode_elem_sep MetricRegistry METRIC_REGISTRY concode_elem_sep String MASTER_INSTANCE concode_field_sep void stopSinks concode_elem_sep void startSinksFromConfig concode_elem_sep String getWorkerMetricName concode_elem_sep int getNumSinks concode_elem_sep String getClientMetricName concode_elem_sep Counter masterCounter concode_elem_sep void registerGaugeIfAbsent concode_elem_sep Timer masterTimer concode_elem_sep Timer workerTimer concode_elem_sep Counter workerCounter concode_elem_sep void startSinks concode_elem_sep String getMetricNameWithUniqueId concode_elem_sep Counter clientCounter concode_elem_sep String stripInstanceAndHost concode_elem_sep void resetAllCounters concode_elem_sep String getMasterMetricName concode_elem_sep Timer clientTimer