|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.servo.monitor.BucketConfig
public final class BucketConfig
Configuration options for a BucketTimer
By default we publish count (number of times the timer was executed), totalTime, and the counts and times for the following buckets: 0ms, 100ms, 200ms, 500ms 1000ms 2000ms, 3000ms, 5000ms
| Nested Class Summary | |
|---|---|
static class |
BucketConfig.Builder
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
long[] |
getBuckets()
Get a copy of the array that holds the bucket values. |
java.util.concurrent.TimeUnit |
getTimeUnit()
Get the TimeUnit of the buckets. |
java.lang.String |
getTimeUnitAbbreviation()
Returns an abbreviation for the Bucket's TimeUnit. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.util.concurrent.TimeUnit getTimeUnit()
public java.lang.String getTimeUnitAbbreviation()
public long[] getBuckets()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||