public class BufferStats extends Object
Modifier and Type | Field and Description |
---|---|
static int |
INIT_VALUE |
Constructor and Description |
---|
BufferStats() |
Modifier and Type | Method and Description |
---|---|
int |
getLastBufferSize()
Size of the last buffer usage.
|
int |
getMaxBufferSize()
Size of the largest buffer usage.
|
int |
getMinBufferSize()
Size of the smallest buffer usage.
|
void |
reset()
Reset statistics.
|
void |
setLastBufferSize(int value)
Updates statistics by setting the last buffer usage size.
|
String |
toString() |
public static final int INIT_VALUE
public int getLastBufferSize()
public void setLastBufferSize(int value)
public int getMinBufferSize()
public int getMaxBufferSize()
public void reset()
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.