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.Builderclear in class com.google.protobuf.GeneratedMessageLite.Builder<ClientPB.RegionLoadStats,ClientPB.RegionLoadStats.Builder>public ClientPB.RegionLoadStats.Builder clone()
clone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageLite.Builder<ClientPB.RegionLoadStats,ClientPB.RegionLoadStats.Builder>public ClientPB.RegionLoadStats getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in class com.google.protobuf.GeneratedMessageLite.Builder<ClientPB.RegionLoadStats,ClientPB.RegionLoadStats.Builder>public ClientPB.RegionLoadStats build()
build in interface com.google.protobuf.MessageLite.Builderpublic ClientPB.RegionLoadStats buildPartial()
buildPartial in interface com.google.protobuf.MessageLite.Builderpublic 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.MessageLiteOrBuilderpublic ClientPB.RegionLoadStats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessageLite.Builder<ClientPB.RegionLoadStats.Builder>IOExceptionpublic 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.RegionLoadStatsOrBuilderpublic 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.RegionLoadStatsOrBuilderpublic 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.RegionLoadStatsOrBuilderpublic 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.RegionLoadStatsOrBuilderpublic 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.RegionLoadStatsOrBuilderpublic int getCompactionPressure()
optional int32 compactionPressure = 3 [default = 0];
Compaction pressure. Guaranteed to be positive, between 0 and 100.
getCompactionPressure in interface ClientPB.RegionLoadStatsOrBuilderpublic 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