public static final class ClientPB.RegionLoadStats.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ClientPB.RegionLoadStats,ClientPB.RegionLoadStats.Builder> implements ClientPB.RegionLoadStatsOrBuilder
RegionLoadStats
Statistics about the current load on the region
Modifier and Type | Method and Description |
---|---|
ClientPB.RegionLoadStats |
build() |
ClientPB.RegionLoadStats |
buildPartial() |
ClientPB.RegionLoadStats.Builder |
clear() |
ClientPB.RegionLoadStats.Builder |
clearCompactionPressure()
optional int32 compactionPressure = 3 [default = 0]; |
ClientPB.RegionLoadStats.Builder |
clearHeapOccupancy()
optional int32 heapOccupancy = 2 [default = 0]; |
ClientPB.RegionLoadStats.Builder |
clearMemstoreLoad()
optional int32 memstoreLoad = 1 [default = 0]; |
ClientPB.RegionLoadStats.Builder |
clone() |
int |
getCompactionPressure()
optional int32 compactionPressure = 3 [default = 0]; |
ClientPB.RegionLoadStats |
getDefaultInstanceForType() |
int |
getHeapOccupancy()
optional int32 heapOccupancy = 2 [default = 0]; |
int |
getMemstoreLoad()
optional int32 memstoreLoad = 1 [default = 0]; |
boolean |
hasCompactionPressure()
optional int32 compactionPressure = 3 [default = 0]; |
boolean |
hasHeapOccupancy()
optional int32 heapOccupancy = 2 [default = 0]; |
boolean |
hasMemstoreLoad()
optional int32 memstoreLoad = 1 [default = 0]; |
boolean |
isInitialized() |
ClientPB.RegionLoadStats.Builder |
mergeFrom(ClientPB.RegionLoadStats other) |
ClientPB.RegionLoadStats.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClientPB.RegionLoadStats.Builder |
setCompactionPressure(int value)
optional int32 compactionPressure = 3 [default = 0]; |
ClientPB.RegionLoadStats.Builder |
setHeapOccupancy(int value)
optional int32 heapOccupancy = 2 [default = 0]; |
ClientPB.RegionLoadStats.Builder |
setMemstoreLoad(int value)
optional int32 memstoreLoad = 1 [default = 0]; |
public ClientPB.RegionLoadStats.Builder clear()
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageLite.Builder<ClientPB.RegionLoadStats,ClientPB.RegionLoadStats.Builder>
public ClientPB.RegionLoadStats.Builder clone()
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageLite.Builder<ClientPB.RegionLoadStats,ClientPB.RegionLoadStats.Builder>
public ClientPB.RegionLoadStats getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in class com.google.protobuf.GeneratedMessageLite.Builder<ClientPB.RegionLoadStats,ClientPB.RegionLoadStats.Builder>
public ClientPB.RegionLoadStats build()
build
in interface com.google.protobuf.MessageLite.Builder
public ClientPB.RegionLoadStats buildPartial()
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ClientPB.RegionLoadStats.Builder mergeFrom(ClientPB.RegionLoadStats other)
mergeFrom
in class com.google.protobuf.GeneratedMessageLite.Builder<ClientPB.RegionLoadStats,ClientPB.RegionLoadStats.Builder>
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public ClientPB.RegionLoadStats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessageLite.Builder<ClientPB.RegionLoadStats.Builder>
IOException
public boolean hasMemstoreLoad()
optional int32 memstoreLoad = 1 [default = 0];
Percent load on the memstore. Guaranteed to be positive, between 0 and 100.
hasMemstoreLoad
in interface ClientPB.RegionLoadStatsOrBuilder
public int getMemstoreLoad()
optional int32 memstoreLoad = 1 [default = 0];
Percent load on the memstore. Guaranteed to be positive, between 0 and 100.
getMemstoreLoad
in interface ClientPB.RegionLoadStatsOrBuilder
public ClientPB.RegionLoadStats.Builder setMemstoreLoad(int value)
optional int32 memstoreLoad = 1 [default = 0];
Percent load on the memstore. Guaranteed to be positive, between 0 and 100.
public ClientPB.RegionLoadStats.Builder clearMemstoreLoad()
optional int32 memstoreLoad = 1 [default = 0];
Percent load on the memstore. Guaranteed to be positive, between 0 and 100.
public boolean hasHeapOccupancy()
optional int32 heapOccupancy = 2 [default = 0];
Percent JVM heap occupancy. Guaranteed to be positive, between 0 and 100. We can move this to "ServerLoadStats" should we develop them.
hasHeapOccupancy
in interface ClientPB.RegionLoadStatsOrBuilder
public int getHeapOccupancy()
optional int32 heapOccupancy = 2 [default = 0];
Percent JVM heap occupancy. Guaranteed to be positive, between 0 and 100. We can move this to "ServerLoadStats" should we develop them.
getHeapOccupancy
in interface ClientPB.RegionLoadStatsOrBuilder
public ClientPB.RegionLoadStats.Builder setHeapOccupancy(int value)
optional int32 heapOccupancy = 2 [default = 0];
Percent JVM heap occupancy. Guaranteed to be positive, between 0 and 100. We can move this to "ServerLoadStats" should we develop them.
public ClientPB.RegionLoadStats.Builder clearHeapOccupancy()
optional int32 heapOccupancy = 2 [default = 0];
Percent JVM heap occupancy. Guaranteed to be positive, between 0 and 100. We can move this to "ServerLoadStats" should we develop them.
public boolean hasCompactionPressure()
optional int32 compactionPressure = 3 [default = 0];
Compaction pressure. Guaranteed to be positive, between 0 and 100.
hasCompactionPressure
in interface ClientPB.RegionLoadStatsOrBuilder
public int getCompactionPressure()
optional int32 compactionPressure = 3 [default = 0];
Compaction pressure. Guaranteed to be positive, between 0 and 100.
getCompactionPressure
in interface ClientPB.RegionLoadStatsOrBuilder
public ClientPB.RegionLoadStats.Builder setCompactionPressure(int value)
optional int32 compactionPressure = 3 [default = 0];
Compaction pressure. Guaranteed to be positive, between 0 and 100.
public ClientPB.RegionLoadStats.Builder clearCompactionPressure()
optional int32 compactionPressure = 3 [default = 0];
Compaction pressure. Guaranteed to be positive, between 0 and 100.
Copyright © 2010-2017, The Async HBase Authors