public void sealStream ( String scope , String streamName , Duration latency ) { DYNAMIC_LOGGER . incCounterValue ( SEAL_STREAM , 1 ) ; DYNAMIC_LOGGER . reportGaugeValue ( OPEN_TRANSACTIONS , 0 , streamTags ( scope , streamName ) ) ; sealStreamLatency . reportSuccessValue ( latency . toMillis ( ) ) ; }
This method increments the global and Stream - specific counters of seal Stream operations set the number of open Transactions to 0 and reports the latency of the operation .