public class ServerLimit extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ServerLimit.Builder<T extends ServerLimit.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
ServerLimit(long held,
long maxHeld,
long barrier,
long limit,
long failCount) |
Modifier and Type | Method and Description |
---|---|
static ServerLimit.Builder<?> |
builder() |
boolean |
equals(Object obj) |
long |
getBarrier() |
long |
getFailCount() |
long |
getHeld() |
long |
getLimit() |
long |
getMaxHeld() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
ServerLimit.Builder<?> |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"held","maxHeld","barrier","limit","failCount"}) protected ServerLimit(long held, long maxHeld, long barrier, long limit, long failCount)
public static ServerLimit.Builder<?> builder()
public ServerLimit.Builder<?> toBuilder()
public long getHeld()
public long getMaxHeld()
public long getBarrier()
public long getLimit()
public long getFailCount()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.