public final class ReleaseResponse extends Object implements ToCopyableBuilder<ReleaseResponse.Builder,ReleaseResponse>
| Modifier and Type | Class and Description |
|---|---|
static class |
ReleaseResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ReleaseResponse.Builder |
builder()
Creates a new builder to build a
ReleaseResponse instance. |
int |
capacityReleased()
Returns the capacity released from the request.
|
int |
currentCapacity()
Returns the capacity of the token bucket after the release.
|
int |
maxCapacity()
Returns the max capacity for the token bucket.
|
ReleaseResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopypublic int capacityReleased()
public int currentCapacity()
public int maxCapacity()
public static ReleaseResponse.Builder builder()
ReleaseResponse instance.public ReleaseResponse.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ReleaseResponse.Builder,ReleaseResponse>Copyright © 2026. All rights reserved.