Skip to content

Commit

Permalink
CLIENT-2971 Make metrics classes public in javadoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianNichols committed May 28, 2024
1 parent 3657d79 commit b9831bf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
<include>com/aerospike/client/listener/*</include>
<include>com/aerospike/client/command/ParticleType.java</include>
<include>com/aerospike/client/exp/*</include>
<include>com/aerospike/client/metrics/*</include>
<include>com/aerospike/client/operation/*</include>
<include>com/aerospike/client/policy/*</include>
<include>com/aerospike/client/task/*</include>
Expand Down
4 changes: 2 additions & 2 deletions client/src/com/aerospike/client/metrics/LatencyBuckets.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2023 Aerospike, Inc.
* Copyright 2012-2024 Aerospike, Inc.
*
* Portions may be licensed to Aerospike, Inc. under one or more contributor
* license agreements WHICH ARE COMPATIBLE WITH THE APACHE LICENSE, VERSION 2.0.
Expand Down Expand Up @@ -33,7 +33,7 @@ public final class LatencyBuckets {
*
* @param latencyColumns number of latency buckets
* @param latencyShift power of 2 multiple between each range bucket in latency histograms starting at bucket 3.
* The first 2 buckets are "<=1ms" and ">1ms".
* The first 2 buckets are "&lt;=1ms" and "&gt;1ms".
*/
public LatencyBuckets(int latencyColumns, int latencyShift) {
this.latencyShift = latencyShift;
Expand Down
5 changes: 4 additions & 1 deletion client/src/com/aerospike/client/metrics/LatencyType.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2023 Aerospike, Inc.
* Copyright 2012-2024 Aerospike, Inc.
*
* Portions may be licensed to Aerospike, Inc. under one or more contributor
* license agreements WHICH ARE COMPATIBLE WITH THE APACHE LICENSE, VERSION 2.0.
Expand All @@ -16,6 +16,9 @@
*/
package com.aerospike.client.metrics;

/**
* Latency group type.
*/
public enum LatencyType {
CONN,
WRITE,
Expand Down
2 changes: 1 addition & 1 deletion client/src/com/aerospike/client/metrics/MetricsPolicy.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public final class MetricsPolicy {

/**
* Power of 2 multiple between each range bucket in latency histograms starting at column 3. The bucket units
* are in milliseconds. The first 2 buckets are "<=1ms" and ">1ms". Examples:
* are in milliseconds. The first 2 buckets are "&lt;=1ms" and "&gt;1ms". Examples:
* <pre>{@code
* // latencyColumns=7 latencyShift=1
* <=1ms >1ms >2ms >4ms >8ms >16ms >32ms
Expand Down

0 comments on commit b9831bf

Please sign in to comment.