public class DataNodeStatistics extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CSIZE |
| Constructor and Description |
|---|
DataNodeStatistics() |
| Modifier and Type | Method and Description |
|---|---|
int |
getFreeBlockCount() |
long |
getServiceId() |
void |
setFreeBlockCount(int blockCount) |
void |
setServiceId(long serviceId) |
void |
setStatistics(DataNodeStatistics statistics) |
void |
update(ByteBuffer buffer) |
int |
write(ByteBuffer buffer) |
public static final int CSIZE
public int write(ByteBuffer buffer)
public void update(ByteBuffer buffer) throws UnknownHostException
UnknownHostExceptionpublic int getFreeBlockCount()
public void setFreeBlockCount(int blockCount)
public void setStatistics(DataNodeStatistics statistics)
public void setServiceId(long serviceId)
public long getServiceId()
Copyright © 2018 The Apache Software Foundation. All rights reserved.