public static class AvailabilityBucketPoint.Builder extends Object
| Constructor and Description |
|---|
Builder(long start,
long end)
Creates a builder for an initially empty instance, configurable with the builder setters.
|
| Modifier and Type | Method and Description |
|---|---|
AvailabilityBucketPoint |
build() |
AvailabilityBucketPoint.Builder |
setDowntimeCount(long downtimeCount) |
AvailabilityBucketPoint.Builder |
setDowntimeDuration(long downtimeDuration) |
AvailabilityBucketPoint.Builder |
setLastDowntime(long lastDowntime) |
AvailabilityBucketPoint.Builder |
setUptimeRatio(double uptimeRatio) |
public Builder(long start,
long end)
start - the start timestamp of this bucket pointend - the end timestamp of this bucket pointpublic AvailabilityBucketPoint.Builder setDowntimeDuration(long downtimeDuration)
public AvailabilityBucketPoint.Builder setLastDowntime(long lastDowntime)
public AvailabilityBucketPoint.Builder setUptimeRatio(double uptimeRatio)
public AvailabilityBucketPoint.Builder setDowntimeCount(long downtimeCount)
public AvailabilityBucketPoint build()
Copyright © 2014–2016 Red Hat, Inc.. All rights reserved.