org.csource.fastdfs
类 StructStorageStat

java.lang.Object
  继承者 org.csource.fastdfs.StructBase
      继承者 org.csource.fastdfs.StructStorageStat

public class StructStorageStat
extends StructBase

C struct body decoder

版本:
Version 1.25
作者:
Happy Fish / YuQing

嵌套类摘要
 
从类 org.csource.fastdfs.StructBase 继承的嵌套类/接口
StructBase.FieldInfo
 
字段摘要
protected  int connectionAllocCount
           
protected  int connectionCurrentCount
           
protected  int connectionMaxCount
           
protected  int currentWritePath
           
protected  String domainName
           
protected static int FIELD_INDEX_CONNECTION_ALLOC_COUNT
           
protected static int FIELD_INDEX_CONNECTION_CURRENT_COUNT
           
protected static int FIELD_INDEX_CONNECTION_MAX_COUNT
           
protected static int FIELD_INDEX_CURRENT_WRITE_PATH
           
protected static int FIELD_INDEX_DOMAIN_NAME
           
protected static int FIELD_INDEX_FREE_MB
           
protected static int FIELD_INDEX_ID
           
protected static int FIELD_INDEX_IF_TRUNK_FILE
           
protected static int FIELD_INDEX_IP_ADDR
           
protected static int FIELD_INDEX_JOIN_TIME
           
protected static int FIELD_INDEX_LAST_HEART_BEAT_TIME
           
protected static int FIELD_INDEX_LAST_SOURCE_UPDATE
           
protected static int FIELD_INDEX_LAST_SYNC_UPDATE
           
protected static int FIELD_INDEX_LAST_SYNCED_TIMESTAMP
           
protected static int FIELD_INDEX_SRC_IP_ADDR
           
protected static int FIELD_INDEX_STATUS
           
protected static int FIELD_INDEX_STORAGE_HTTP_PORT
           
protected static int FIELD_INDEX_STORAGE_PORT
           
protected static int FIELD_INDEX_STORE_PATH_COUNT
           
protected static int FIELD_INDEX_SUBDIR_COUNT_PER_PATH
           
protected static int FIELD_INDEX_SUCCESS_APPEND_BYTES
           
protected static int FIELD_INDEX_SUCCESS_APPEND_COUNT
           
protected static int FIELD_INDEX_SUCCESS_CREATE_LINK_COUNT
           
protected static int FIELD_INDEX_SUCCESS_DELETE_COUNT
           
protected static int FIELD_INDEX_SUCCESS_DELETE_LINK_COUNT
           
protected static int FIELD_INDEX_SUCCESS_DOWNLOAD_BYTES
           
protected static int FIELD_INDEX_SUCCESS_DOWNLOAD_COUNT
           
protected static int FIELD_INDEX_SUCCESS_FILE_OPEN_COUNT
           
protected static int FIELD_INDEX_SUCCESS_FILE_READ_COUNT
           
protected static int FIELD_INDEX_SUCCESS_FILE_WRITE_COUNT
           
protected static int FIELD_INDEX_SUCCESS_GET_META_COUNT
           
protected static int FIELD_INDEX_SUCCESS_MODIFY_BYTES
           
protected static int FIELD_INDEX_SUCCESS_MODIFY_COUNT
           
protected static int FIELD_INDEX_SUCCESS_SET_META_COUNT
           
protected static int FIELD_INDEX_SUCCESS_SYNC_IN_BYTES
           
protected static int FIELD_INDEX_SUCCESS_SYNC_OUT_BYTES
           
protected static int FIELD_INDEX_SUCCESS_TRUNCATE_COUNT
           
protected static int FIELD_INDEX_SUCCESS_UPLOAD_BYTES
           
protected static int FIELD_INDEX_SUCCESS_UPLOAD_COUNT
           
protected static int FIELD_INDEX_TOTAL_APPEND_BYTES
           
protected static int FIELD_INDEX_TOTAL_APPEND_COUNT
           
protected static int FIELD_INDEX_TOTAL_CREATE_LINK_COUNT
           
protected static int FIELD_INDEX_TOTAL_DELETE_COUNT
           
protected static int FIELD_INDEX_TOTAL_DELETE_LINK_COUNT
           
protected static int FIELD_INDEX_TOTAL_DOWNLOAD_BYTES
           
protected static int FIELD_INDEX_TOTAL_DOWNLOAD_COUNT
           
protected static int FIELD_INDEX_TOTAL_FILE_OPEN_COUNT
           
protected static int FIELD_INDEX_TOTAL_FILE_READ_COUNT
           
protected static int FIELD_INDEX_TOTAL_FILE_WRITE_COUNT
           
protected static int FIELD_INDEX_TOTAL_GET_META_COUNT
           
protected static int FIELD_INDEX_TOTAL_MB
           
protected static int FIELD_INDEX_TOTAL_MODIFY_BYTES
           
protected static int FIELD_INDEX_TOTAL_MODIFY_COUNT
           
protected static int FIELD_INDEX_TOTAL_SET_META_COUNT
           
protected static int FIELD_INDEX_TOTAL_SYNC_IN_BYTES
           
protected static int FIELD_INDEX_TOTAL_SYNC_OUT_BYTES
           
protected static int FIELD_INDEX_TOTAL_TRUNCATE_COUNT
           
protected static int FIELD_INDEX_TOTAL_UPLOAD_BYTES
           
protected static int FIELD_INDEX_TOTAL_UPLOAD_COUNT
           
protected static int FIELD_INDEX_UP_TIME
           
protected static int FIELD_INDEX_UPLOAD_PRIORITY
           
protected static int FIELD_INDEX_VERSION
           
protected static StructBase.FieldInfo[] fieldsArray
           
protected static int fieldsTotalSize
           
protected  long freeMB
           
protected  String id
           
protected  boolean ifTrunkServer
           
protected  String ipAddr
           
protected  Date joinTime
           
protected  Date lastHeartBeatTime
           
protected  Date lastSourceUpdate
           
protected  Date lastSyncedTimestamp
           
protected  Date lastSyncUpdate
           
protected  String srcIpAddr
           
protected  byte status
           
protected  int storageHttpPort
           
protected  int storagePort
           
protected  int storePathCount
           
protected  int subdirCountPerPath
           
protected  long successAppendBytes
           
protected  long successAppendCount
           
protected  long successCreateLinkCount
           
protected  long successDeleteCount
           
protected  long successDeleteLinkCount
           
protected  long successDownloadCount
           
protected  long successDownloadloadBytes
           
protected  long successFileOpenCount
           
protected  long successFileReadCount
           
protected  long successFileWriteCount
           
protected  long successGetMetaCount
           
protected  long successModifyBytes
           
protected  long successModifyCount
           
protected  long successSetMetaCount
           
protected  long successSyncInBytes
           
protected  long successSyncOutBytes
           
protected  long successTruncateCount
           
protected  long successUploadBytes
           
protected  long successUploadCount
           
protected  long totalAppendBytes
           
protected  long totalAppendCount
           
protected  long totalCreateLinkCount
           
protected  long totalDeleteCount
           
protected  long totalDeleteLinkCount
           
protected  long totalDownloadCount
           
protected  long totalDownloadloadBytes
           
protected  long totalFileOpenCount
           
protected  long totalFileReadCount
           
protected  long totalFileWriteCount
           
protected  long totalGetMetaCount
           
protected  long totalMB
           
protected  long totalModifyBytes
           
protected  long totalModifyCount
           
protected  long totalSetMetaCount
           
protected  long totalSyncInBytes
           
protected  long totalSyncOutBytes
           
protected  long totalTruncateCount
           
protected  long totalUploadBytes
           
protected  long totalUploadCount
           
protected  int uploadPriority
           
protected  Date upTime
           
protected  String version
           
 
构造方法摘要
StructStorageStat()
           
 
方法摘要
 int getConnectionAllocCount()
          get connection alloc count
 int getConnectionCurrentCount()
          get connection current count
 int getConnectionMaxCount()
          get connection max count
 int getCurrentWritePath()
          get current write path index
 String getDomainName()
          get the domain name of the storage server
static int getFieldsTotalSize()
          get fields total size
 long getFreeMB()
          get free disk space in MB
 String getId()
          get storage server id
 String getIpAddr()
          get storage server ip address
 Date getJoinTime()
          get storage server join time
 Date getLastHeartBeatTime()
          get last heart beat timestamp
 Date getLastSourceUpdate()
          get last source update timestamp
 Date getLastSyncedTimestamp()
          get last synced timestamp
 Date getLastSyncUpdate()
          get last synced update timestamp
 String getSrcIpAddr()
          get source storage ip address
 byte getStatus()
          get storage status
 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 getSuccessAppendBytes()
          get success append bytes
 long getSuccessAppendCount()
          get success append count
 long getSuccessCreateLinkCount()
          get success create linke count
 long getSuccessDeleteCount()
          get success delete file count
 long getSuccessDeleteLinkCount()
          get success delete link count
 long getSuccessDownloadCount()
          get success download file count
 long getSuccessDownloadloadBytes()
          get success download file bytes
 long getSuccessFileOpenCount()
          get success file opened count
 long getSuccessFileReadCount()
          get success file read count
 long getSuccessFileWriteCount()
          get success file write count
 long getSuccessGetMetaCount()
          get success get metadata count
 long getSuccessModifyBytes()
          get success modify bytes
 long getSuccessModifyCount()
          get success modify count
 long getSuccessSetMetaCount()
          get success set meta data count
 long getSuccessSyncInBytes()
          get success sync in bytes
 long getSuccessSyncOutBytes()
          get success sync out bytes
 long getSuccessTruncateCount()
          get success truncate count
 long getSuccessUploadBytes()
          get success upload file bytes
 long getSuccessUploadCount()
          get success upload file count
 long getTotalAppendBytes()
          get total append bytes
 long getTotalAppendCount()
          get total append count
 long getTotalCreateLinkCount()
          get total create linke count
 long getTotalDeleteCount()
          get total delete file count
 long getTotalDeleteLinkCount()
          get total delete link count
 long getTotalDownloadCount()
          get total download file count
 long getTotalDownloadloadBytes()
          get total download file bytes
 long getTotalFileOpenCount()
          get total file opened count
 long getTotalFileReadCount()
          get total file read count
 long getTotalFileWriteCount()
          get total file write count
 long getTotalGetMetaCount()
          get total get metadata count
 long getTotalMB()
          get total disk space in MB
 long getTotalModifyBytes()
          get total modify bytes
 long getTotalModifyCount()
          get total modify count
 long getTotalSetMetaCount()
          get total set meta data count
 long getTotalSyncInBytes()
          get total sync in bytes
 long getTotalSyncOutBytes()
          get total sync out bytes
 long getTotalTruncateCount()
          get total truncate count
 long getTotalUploadBytes()
          get total upload file bytes
 long getTotalUploadCount()
          get total upload file count
 int getUploadPriority()
          get storage server upload priority
 Date getUpTime()
          get storage server up time
 String getVersion()
          get storage version
 boolean isTrunkServer()
          if the trunk server
 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
 

字段详细信息

FIELD_INDEX_STATUS

protected static final int FIELD_INDEX_STATUS
另请参见:
常量字段值

FIELD_INDEX_ID

protected static final int FIELD_INDEX_ID
另请参见:
常量字段值

FIELD_INDEX_IP_ADDR

protected static final int FIELD_INDEX_IP_ADDR
另请参见:
常量字段值

FIELD_INDEX_DOMAIN_NAME

protected static final int FIELD_INDEX_DOMAIN_NAME
另请参见:
常量字段值

FIELD_INDEX_SRC_IP_ADDR

protected static final int FIELD_INDEX_SRC_IP_ADDR
另请参见:
常量字段值

FIELD_INDEX_VERSION

protected static final int FIELD_INDEX_VERSION
另请参见:
常量字段值

FIELD_INDEX_JOIN_TIME

protected static final int FIELD_INDEX_JOIN_TIME
另请参见:
常量字段值

FIELD_INDEX_UP_TIME

protected static final int FIELD_INDEX_UP_TIME
另请参见:
常量字段值

FIELD_INDEX_TOTAL_MB

protected static final int FIELD_INDEX_TOTAL_MB
另请参见:
常量字段值

FIELD_INDEX_FREE_MB

protected static final int FIELD_INDEX_FREE_MB
另请参见:
常量字段值

FIELD_INDEX_UPLOAD_PRIORITY

protected static final int FIELD_INDEX_UPLOAD_PRIORITY
另请参见:
常量字段值

FIELD_INDEX_STORE_PATH_COUNT

protected static final int FIELD_INDEX_STORE_PATH_COUNT
另请参见:
常量字段值

FIELD_INDEX_SUBDIR_COUNT_PER_PATH

protected static final int FIELD_INDEX_SUBDIR_COUNT_PER_PATH
另请参见:
常量字段值

FIELD_INDEX_CURRENT_WRITE_PATH

protected static final int FIELD_INDEX_CURRENT_WRITE_PATH
另请参见:
常量字段值

FIELD_INDEX_STORAGE_PORT

protected static final int FIELD_INDEX_STORAGE_PORT
另请参见:
常量字段值

FIELD_INDEX_STORAGE_HTTP_PORT

protected static final int FIELD_INDEX_STORAGE_HTTP_PORT
另请参见:
常量字段值

FIELD_INDEX_CONNECTION_ALLOC_COUNT

protected static final int FIELD_INDEX_CONNECTION_ALLOC_COUNT
另请参见:
常量字段值

FIELD_INDEX_CONNECTION_CURRENT_COUNT

protected static final int FIELD_INDEX_CONNECTION_CURRENT_COUNT
另请参见:
常量字段值

FIELD_INDEX_CONNECTION_MAX_COUNT

protected static final int FIELD_INDEX_CONNECTION_MAX_COUNT
另请参见:
常量字段值

FIELD_INDEX_TOTAL_UPLOAD_COUNT

protected static final int FIELD_INDEX_TOTAL_UPLOAD_COUNT
另请参见:
常量字段值

FIELD_INDEX_SUCCESS_UPLOAD_COUNT

protected static final int FIELD_INDEX_SUCCESS_UPLOAD_COUNT
另请参见:
常量字段值

FIELD_INDEX_TOTAL_APPEND_COUNT

protected static final int FIELD_INDEX_TOTAL_APPEND_COUNT
另请参见:
常量字段值

FIELD_INDEX_SUCCESS_APPEND_COUNT

protected static final int FIELD_INDEX_SUCCESS_APPEND_COUNT
另请参见:
常量字段值

FIELD_INDEX_TOTAL_MODIFY_COUNT

protected static final int FIELD_INDEX_TOTAL_MODIFY_COUNT
另请参见:
常量字段值

FIELD_INDEX_SUCCESS_MODIFY_COUNT

protected static final int FIELD_INDEX_SUCCESS_MODIFY_COUNT
另请参见:
常量字段值

FIELD_INDEX_TOTAL_TRUNCATE_COUNT

protected static final int FIELD_INDEX_TOTAL_TRUNCATE_COUNT
另请参见:
常量字段值

FIELD_INDEX_SUCCESS_TRUNCATE_COUNT

protected static final int FIELD_INDEX_SUCCESS_TRUNCATE_COUNT
另请参见:
常量字段值

FIELD_INDEX_TOTAL_SET_META_COUNT

protected static final int FIELD_INDEX_TOTAL_SET_META_COUNT
另请参见:
常量字段值

FIELD_INDEX_SUCCESS_SET_META_COUNT

protected static final int FIELD_INDEX_SUCCESS_SET_META_COUNT
另请参见:
常量字段值

FIELD_INDEX_TOTAL_DELETE_COUNT

protected static final int FIELD_INDEX_TOTAL_DELETE_COUNT
另请参见:
常量字段值

FIELD_INDEX_SUCCESS_DELETE_COUNT

protected static final int FIELD_INDEX_SUCCESS_DELETE_COUNT
另请参见:
常量字段值

FIELD_INDEX_TOTAL_DOWNLOAD_COUNT

protected static final int FIELD_INDEX_TOTAL_DOWNLOAD_COUNT
另请参见:
常量字段值

FIELD_INDEX_SUCCESS_DOWNLOAD_COUNT

protected static final int FIELD_INDEX_SUCCESS_DOWNLOAD_COUNT
另请参见:
常量字段值

FIELD_INDEX_TOTAL_GET_META_COUNT

protected static final int FIELD_INDEX_TOTAL_GET_META_COUNT
另请参见:
常量字段值

FIELD_INDEX_SUCCESS_GET_META_COUNT

protected static final int FIELD_INDEX_SUCCESS_GET_META_COUNT
另请参见:
常量字段值

FIELD_INDEX_TOTAL_CREATE_LINK_COUNT

protected static final int FIELD_INDEX_TOTAL_CREATE_LINK_COUNT
另请参见:
常量字段值

FIELD_INDEX_SUCCESS_CREATE_LINK_COUNT

protected static final int FIELD_INDEX_SUCCESS_CREATE_LINK_COUNT
另请参见:
常量字段值

FIELD_INDEX_TOTAL_DELETE_LINK_COUNT

protected static final int FIELD_INDEX_TOTAL_DELETE_LINK_COUNT
另请参见:
常量字段值

FIELD_INDEX_SUCCESS_DELETE_LINK_COUNT

protected static final int FIELD_INDEX_SUCCESS_DELETE_LINK_COUNT
另请参见:
常量字段值

FIELD_INDEX_TOTAL_UPLOAD_BYTES

protected static final int FIELD_INDEX_TOTAL_UPLOAD_BYTES
另请参见:
常量字段值

FIELD_INDEX_SUCCESS_UPLOAD_BYTES

protected static final int FIELD_INDEX_SUCCESS_UPLOAD_BYTES
另请参见:
常量字段值

FIELD_INDEX_TOTAL_APPEND_BYTES

protected static final int FIELD_INDEX_TOTAL_APPEND_BYTES
另请参见:
常量字段值

FIELD_INDEX_SUCCESS_APPEND_BYTES

protected static final int FIELD_INDEX_SUCCESS_APPEND_BYTES
另请参见:
常量字段值

FIELD_INDEX_TOTAL_MODIFY_BYTES

protected static final int FIELD_INDEX_TOTAL_MODIFY_BYTES
另请参见:
常量字段值

FIELD_INDEX_SUCCESS_MODIFY_BYTES

protected static final int FIELD_INDEX_SUCCESS_MODIFY_BYTES
另请参见:
常量字段值

FIELD_INDEX_TOTAL_DOWNLOAD_BYTES

protected static final int FIELD_INDEX_TOTAL_DOWNLOAD_BYTES
另请参见:
常量字段值

FIELD_INDEX_SUCCESS_DOWNLOAD_BYTES

protected static final int FIELD_INDEX_SUCCESS_DOWNLOAD_BYTES
另请参见:
常量字段值

FIELD_INDEX_TOTAL_SYNC_IN_BYTES

protected static final int FIELD_INDEX_TOTAL_SYNC_IN_BYTES
另请参见:
常量字段值

FIELD_INDEX_SUCCESS_SYNC_IN_BYTES

protected static final int FIELD_INDEX_SUCCESS_SYNC_IN_BYTES
另请参见:
常量字段值

FIELD_INDEX_TOTAL_SYNC_OUT_BYTES

protected static final int FIELD_INDEX_TOTAL_SYNC_OUT_BYTES
另请参见:
常量字段值

FIELD_INDEX_SUCCESS_SYNC_OUT_BYTES

protected static final int FIELD_INDEX_SUCCESS_SYNC_OUT_BYTES
另请参见:
常量字段值

FIELD_INDEX_TOTAL_FILE_OPEN_COUNT

protected static final int FIELD_INDEX_TOTAL_FILE_OPEN_COUNT
另请参见:
常量字段值

FIELD_INDEX_SUCCESS_FILE_OPEN_COUNT

protected static final int FIELD_INDEX_SUCCESS_FILE_OPEN_COUNT
另请参见:
常量字段值

FIELD_INDEX_TOTAL_FILE_READ_COUNT

protected static final int FIELD_INDEX_TOTAL_FILE_READ_COUNT
另请参见:
常量字段值

FIELD_INDEX_SUCCESS_FILE_READ_COUNT

protected static final int FIELD_INDEX_SUCCESS_FILE_READ_COUNT
另请参见:
常量字段值

FIELD_INDEX_TOTAL_FILE_WRITE_COUNT

protected static final int FIELD_INDEX_TOTAL_FILE_WRITE_COUNT
另请参见:
常量字段值

FIELD_INDEX_SUCCESS_FILE_WRITE_COUNT

protected static final int FIELD_INDEX_SUCCESS_FILE_WRITE_COUNT
另请参见:
常量字段值

FIELD_INDEX_LAST_SOURCE_UPDATE

protected static final int FIELD_INDEX_LAST_SOURCE_UPDATE
另请参见:
常量字段值

FIELD_INDEX_LAST_SYNC_UPDATE

protected static final int FIELD_INDEX_LAST_SYNC_UPDATE
另请参见:
常量字段值

FIELD_INDEX_LAST_SYNCED_TIMESTAMP

protected static final int FIELD_INDEX_LAST_SYNCED_TIMESTAMP
另请参见:
常量字段值

FIELD_INDEX_LAST_HEART_BEAT_TIME

protected static final int FIELD_INDEX_LAST_HEART_BEAT_TIME
另请参见:
常量字段值

FIELD_INDEX_IF_TRUNK_FILE

protected static final int FIELD_INDEX_IF_TRUNK_FILE
另请参见:
常量字段值

fieldsTotalSize

protected static int fieldsTotalSize

fieldsArray

protected static StructBase.FieldInfo[] fieldsArray

status

protected byte status

id

protected String id

ipAddr

protected String ipAddr

srcIpAddr

protected String srcIpAddr

domainName

protected String domainName

version

protected String version

totalMB

protected long totalMB

freeMB

protected long freeMB

uploadPriority

protected int uploadPriority

joinTime

protected Date joinTime

upTime

protected Date upTime

storePathCount

protected int storePathCount

subdirCountPerPath

protected int subdirCountPerPath

storagePort

protected int storagePort

storageHttpPort

protected int storageHttpPort

currentWritePath

protected int currentWritePath

connectionAllocCount

protected int connectionAllocCount

connectionCurrentCount

protected int connectionCurrentCount

connectionMaxCount

protected int connectionMaxCount

totalUploadCount

protected long totalUploadCount

successUploadCount

protected long successUploadCount

totalAppendCount

protected long totalAppendCount

successAppendCount

protected long successAppendCount

totalModifyCount

protected long totalModifyCount

successModifyCount

protected long successModifyCount

totalTruncateCount

protected long totalTruncateCount

successTruncateCount

protected long successTruncateCount

totalSetMetaCount

protected long totalSetMetaCount

successSetMetaCount

protected long successSetMetaCount

totalDeleteCount

protected long totalDeleteCount

successDeleteCount

protected long successDeleteCount

totalDownloadCount

protected long totalDownloadCount

successDownloadCount

protected long successDownloadCount

totalGetMetaCount

protected long totalGetMetaCount

successGetMetaCount

protected long successGetMetaCount

totalCreateLinkCount

protected long totalCreateLinkCount

successCreateLinkCount

protected long successCreateLinkCount

totalDeleteLinkCount

protected long totalDeleteLinkCount

successDeleteLinkCount

protected long successDeleteLinkCount

totalUploadBytes

protected long totalUploadBytes

successUploadBytes

protected long successUploadBytes

totalAppendBytes

protected long totalAppendBytes

successAppendBytes

protected long successAppendBytes

totalModifyBytes

protected long totalModifyBytes

successModifyBytes

protected long successModifyBytes

totalDownloadloadBytes

protected long totalDownloadloadBytes

successDownloadloadBytes

protected long successDownloadloadBytes

totalSyncInBytes

protected long totalSyncInBytes

successSyncInBytes

protected long successSyncInBytes

totalSyncOutBytes

protected long totalSyncOutBytes

successSyncOutBytes

protected long successSyncOutBytes

totalFileOpenCount

protected long totalFileOpenCount

successFileOpenCount

protected long successFileOpenCount

totalFileReadCount

protected long totalFileReadCount

successFileReadCount

protected long successFileReadCount

totalFileWriteCount

protected long totalFileWriteCount

successFileWriteCount

protected long successFileWriteCount

lastSourceUpdate

protected Date lastSourceUpdate

lastSyncUpdate

protected Date lastSyncUpdate

lastSyncedTimestamp

protected Date lastSyncedTimestamp

lastHeartBeatTime

protected Date lastHeartBeatTime

ifTrunkServer

protected boolean ifTrunkServer
构造方法详细信息

StructStorageStat

public StructStorageStat()
方法详细信息

getFieldsTotalSize

public static int getFieldsTotalSize()
get fields total size

返回:
fields total size

getStatus

public byte getStatus()
get storage status

返回:
storage status

getId

public String getId()
get storage server id

返回:
storage server id

getIpAddr

public String getIpAddr()
get storage server ip address

返回:
storage server ip address

getSrcIpAddr

public String getSrcIpAddr()
get source storage ip address

返回:
source storage ip address

getDomainName

public String getDomainName()
get the domain name of the storage server

返回:
the domain name of the storage server

getVersion

public String getVersion()
get storage version

返回:
storage version

getTotalMB

public long getTotalMB()
get total disk space in MB

返回:
total disk space in MB

getFreeMB

public long getFreeMB()
get free disk space in MB

返回:
free disk space in MB

getUploadPriority

public int getUploadPriority()
get storage server upload priority

返回:
storage server upload priority

getJoinTime

public Date getJoinTime()
get storage server join time

返回:
storage server join time

getUpTime

public Date getUpTime()
get storage server up time

返回:
storage server up time

getStorePathCount

public int getStorePathCount()
get store base path count of each storage server

返回:
store base path count of each storage server

getSubdirCountPerPath

public int getSubdirCountPerPath()
get sub dir count per store path

返回:
sub dir count per store path

getStoragePort

public int getStoragePort()
get storage server port

返回:
storage server port

getStorageHttpPort

public int getStorageHttpPort()
get storage server HTTP port

返回:
storage server HTTP port

getCurrentWritePath

public int getCurrentWritePath()
get current write path index

返回:
current write path index

getTotalUploadCount

public long getTotalUploadCount()
get total upload file count

返回:
total upload file count

getSuccessUploadCount

public long getSuccessUploadCount()
get success upload file count

返回:
success upload file count

getTotalAppendCount

public long getTotalAppendCount()
get total append count

返回:
total append count

getSuccessAppendCount

public long getSuccessAppendCount()
get success append count

返回:
success append count

getTotalModifyCount

public long getTotalModifyCount()
get total modify count

返回:
total modify count

getSuccessModifyCount

public long getSuccessModifyCount()
get success modify count

返回:
success modify count

getTotalTruncateCount

public long getTotalTruncateCount()
get total truncate count

返回:
total truncate count

getSuccessTruncateCount

public long getSuccessTruncateCount()
get success truncate count

返回:
success truncate count

getTotalSetMetaCount

public long getTotalSetMetaCount()
get total set meta data count

返回:
total set meta data count

getSuccessSetMetaCount

public long getSuccessSetMetaCount()
get success set meta data count

返回:
success set meta data count

getTotalDeleteCount

public long getTotalDeleteCount()
get total delete file count

返回:
total delete file count

getSuccessDeleteCount

public long getSuccessDeleteCount()
get success delete file count

返回:
success delete file count

getTotalDownloadCount

public long getTotalDownloadCount()
get total download file count

返回:
total download file count

getSuccessDownloadCount

public long getSuccessDownloadCount()
get success download file count

返回:
success download file count

getTotalGetMetaCount

public long getTotalGetMetaCount()
get total get metadata count

返回:
total get metadata count

getSuccessGetMetaCount

public long getSuccessGetMetaCount()
get success get metadata count

返回:
success get metadata count

getTotalCreateLinkCount

public long getTotalCreateLinkCount()
get total create linke count

返回:
total create linke count

getSuccessCreateLinkCount

public long getSuccessCreateLinkCount()
get success create linke count

返回:
success create linke count

getTotalDeleteLinkCount

public long getTotalDeleteLinkCount()
get total delete link count

返回:
total delete link count

getSuccessDeleteLinkCount

public long getSuccessDeleteLinkCount()
get success delete link count

返回:
success delete link count

getTotalUploadBytes

public long getTotalUploadBytes()
get total upload file bytes

返回:
total upload file bytes

getSuccessUploadBytes

public long getSuccessUploadBytes()
get success upload file bytes

返回:
success upload file bytes

getTotalAppendBytes

public long getTotalAppendBytes()
get total append bytes

返回:
total append bytes

getSuccessAppendBytes

public long getSuccessAppendBytes()
get success append bytes

返回:
success append bytes

getTotalModifyBytes

public long getTotalModifyBytes()
get total modify bytes

返回:
total modify bytes

getSuccessModifyBytes

public long getSuccessModifyBytes()
get success modify bytes

返回:
success modify bytes

getTotalDownloadloadBytes

public long getTotalDownloadloadBytes()
get total download file bytes

返回:
total download file bytes

getSuccessDownloadloadBytes

public long getSuccessDownloadloadBytes()
get success download file bytes

返回:
success download file bytes

getTotalSyncInBytes

public long getTotalSyncInBytes()
get total sync in bytes

返回:
total sync in bytes

getSuccessSyncInBytes

public long getSuccessSyncInBytes()
get success sync in bytes

返回:
success sync in bytes

getTotalSyncOutBytes

public long getTotalSyncOutBytes()
get total sync out bytes

返回:
total sync out bytes

getSuccessSyncOutBytes

public long getSuccessSyncOutBytes()
get success sync out bytes

返回:
success sync out bytes

getTotalFileOpenCount

public long getTotalFileOpenCount()
get total file opened count

返回:
total file opened bytes

getSuccessFileOpenCount

public long getSuccessFileOpenCount()
get success file opened count

返回:
success file opened count

getTotalFileReadCount

public long getTotalFileReadCount()
get total file read count

返回:
total file read bytes

getSuccessFileReadCount

public long getSuccessFileReadCount()
get success file read count

返回:
success file read count

getTotalFileWriteCount

public long getTotalFileWriteCount()
get total file write count

返回:
total file write bytes

getSuccessFileWriteCount

public long getSuccessFileWriteCount()
get success file write count

返回:
success file write count

getLastSourceUpdate

public Date getLastSourceUpdate()
get last source update timestamp

返回:
last source update timestamp

getLastSyncUpdate

public Date getLastSyncUpdate()
get last synced update timestamp

返回:
last synced update timestamp

getLastSyncedTimestamp

public Date getLastSyncedTimestamp()
get last synced timestamp

返回:
last synced timestamp

getLastHeartBeatTime

public Date getLastHeartBeatTime()
get last heart beat timestamp

返回:
last heart beat timestamp

isTrunkServer

public boolean isTrunkServer()
if the trunk server

返回:
true for the trunk server, otherwise false

getConnectionAllocCount

public int getConnectionAllocCount()
get connection alloc count

返回:
connection alloc count

getConnectionCurrentCount

public int getConnectionCurrentCount()
get connection current count

返回:
connection current count

getConnectionMaxCount

public int getConnectionMaxCount()
get connection max count

返回:
connection max count

setFields

public void setFields(byte[] bs,
                      int offset)
set fields

指定者:
StructBase 中的 setFields
参数:
bs - byte array
offset - start offset


Copyright © 2017. All rights reserved.