protected final Buckets createBuckets ( Stopwatch stopwatch , long min , long max , int bucketNb ) { Buckets buckets = bucketsType . createBuckets ( stopwatch , min , max , bucketNb ) ; buckets . setLogTemplate ( createLogTemplate ( stopwatch ) ) ; return buckets ; }
Factory method to create a Buckets object using given configuration .