Class TableStatisticsImpl
- java.lang.Object
-
- org.apache.accumulo.core.manager.balancer.TableStatisticsImpl
-
- All Implemented Interfaces:
Comparable<TableStatistics>
,TableStatistics
public class TableStatisticsImpl extends Object implements TableStatistics
-
-
Constructor Summary
Constructors Constructor Description TableStatisticsImpl(TableStatisticsImpl other)
TableStatisticsImpl(TableInfo thriftInfo)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(TableStatistics o)
boolean
equals(Object o)
static TableStatisticsImpl
fromThrift(TableInfo tableInfo)
double
getIngestByteRate()
double
getIngestRate()
int
getOnlineTabletCount()
double
getQueryByteRate()
double
getQueryRate()
long
getRecords()
long
getRecordsInMemory()
double
getScanRate()
int
getTabletCount()
int
hashCode()
void
setOnlineTabletCount(int onlineTabletCount)
String
toString()
-
-
-
Constructor Detail
-
TableStatisticsImpl
public TableStatisticsImpl(TableInfo thriftInfo)
-
TableStatisticsImpl
public TableStatisticsImpl(TableStatisticsImpl other)
-
-
Method Detail
-
fromThrift
public static TableStatisticsImpl fromThrift(TableInfo tableInfo)
-
getRecords
public long getRecords()
- Specified by:
getRecords
in interfaceTableStatistics
-
getRecordsInMemory
public long getRecordsInMemory()
- Specified by:
getRecordsInMemory
in interfaceTableStatistics
-
getTabletCount
public int getTabletCount()
- Specified by:
getTabletCount
in interfaceTableStatistics
-
getOnlineTabletCount
public int getOnlineTabletCount()
- Specified by:
getOnlineTabletCount
in interfaceTableStatistics
-
setOnlineTabletCount
public void setOnlineTabletCount(int onlineTabletCount)
-
getIngestRate
public double getIngestRate()
- Specified by:
getIngestRate
in interfaceTableStatistics
-
getIngestByteRate
public double getIngestByteRate()
- Specified by:
getIngestByteRate
in interfaceTableStatistics
-
getQueryRate
public double getQueryRate()
- Specified by:
getQueryRate
in interfaceTableStatistics
-
getQueryByteRate
public double getQueryByteRate()
- Specified by:
getQueryByteRate
in interfaceTableStatistics
-
getScanRate
public double getScanRate()
- Specified by:
getScanRate
in interfaceTableStatistics
-
compareTo
public int compareTo(TableStatistics o)
- Specified by:
compareTo
in interfaceComparable<TableStatistics>
-
-