|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectorg.csource.fastdfs.StructBase
org.csource.fastdfs.StructGroupStat
public class StructGroupStat
C struct body decoder
嵌套类摘要 |
---|
从类 org.csource.fastdfs.StructBase 继承的嵌套类/接口 |
---|
StructBase.FieldInfo |
构造方法摘要 | |
---|---|
StructGroupStat()
|
方法摘要 | |
---|---|
int |
getActiveCount()
get active storage server count in this group |
int |
getCurrentTrunkFileId()
get current trunk file id |
int |
getCurrentWriteServer()
get current storage server index to upload file |
static int |
getFieldsTotalSize()
get fields total size |
long |
getFreeMB()
get free disk space in MB |
String |
getGroupName()
get group name |
int |
getStorageCount()
get storage server count in this group |
int |
getStorageHttpPort()
get storage server HTTP port |
int |
getStoragePort()
get storage server port |
int |
getStorePathCount()
get store base path count of each storage server |
int |
getSubdirCountPerPath()
get sub dir count per store path |
long |
getTotalMB()
get total disk space in MB |
long |
getTrunkFreeMB()
get trunk free space in MB |
void |
setFields(byte[] bs,
int offset)
set fields |
从类 org.csource.fastdfs.StructBase 继承的方法 |
---|
booleanValue, byteValue, dateValue, int32Value, intValue, longValue, stringValue |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
字段详细信息 |
---|
protected static final int FIELD_INDEX_GROUP_NAME
protected static final int FIELD_INDEX_TOTAL_MB
protected static final int FIELD_INDEX_FREE_MB
protected static final int FIELD_INDEX_TRUNK_FREE_MB
protected static final int FIELD_INDEX_STORAGE_COUNT
protected static final int FIELD_INDEX_STORAGE_PORT
protected static final int FIELD_INDEX_STORAGE_HTTP_PORT
protected static final int FIELD_INDEX_ACTIVE_COUNT
protected static final int FIELD_INDEX_CURRENT_WRITE_SERVER
protected static final int FIELD_INDEX_STORE_PATH_COUNT
protected static final int FIELD_INDEX_SUBDIR_COUNT_PER_PATH
protected static final int FIELD_INDEX_CURRENT_TRUNK_FILE_ID
protected static int fieldsTotalSize
protected static StructBase.FieldInfo[] fieldsArray
protected String groupName
protected long totalMB
protected long freeMB
protected long trunkFreeMB
protected int storageCount
protected int storagePort
protected int storageHttpPort
protected int activeCount
protected int currentWriteServer
protected int storePathCount
protected int subdirCountPerPath
protected int currentTrunkFileId
构造方法详细信息 |
---|
public StructGroupStat()
方法详细信息 |
---|
public static int getFieldsTotalSize()
public String getGroupName()
public long getTotalMB()
public long getFreeMB()
public long getTrunkFreeMB()
public int getStorageCount()
public int getActiveCount()
public int getStoragePort()
public int getStorageHttpPort()
public int getCurrentWriteServer()
public int getStorePathCount()
public int getSubdirCountPerPath()
public int getCurrentTrunkFileId()
public void setFields(byte[] bs, int offset)
StructBase
中的 setFields
bs
- byte arrayoffset
- start offset
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |