org.csource.fastdfs
Class StructStorageStat

java.lang.Object
  extended by org.csource.fastdfs.StructBase
      extended by org.csource.fastdfs.StructStorageStat

public class StructStorageStat
extends StructBase

C struct body decoder

Version:
Version 1.20
Author:
Happy Fish / YuQing

Nested Class Summary
 
Nested classes/interfaces inherited from class org.csource.fastdfs.StructBase
StructBase.FieldInfo
 
Field Summary
protected  int currentWritePath
           
protected  java.lang.String domainName
           
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_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  boolean ifTrunkServer
           
protected  java.lang.String ipAddr
           
protected  java.util.Date joinTime
           
protected  java.util.Date lastHeartBeatTime
           
protected  java.util.Date lastSourceUpdate
           
protected  java.util.Date lastSyncedTimestamp
           
protected  java.util.Date lastSyncUpdate
           
protected  java.lang.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  java.util.Date upTime
           
protected  java.lang.String version
           
 
Constructor Summary
StructStorageStat()
           
 
Method Summary
 int getCurrentWritePath()
          get current write path index
 java.lang.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
 java.lang.String getIpAddr()
          get storage server ip address
 java.util.Date getJoinTime()
          get storage server join time
 java.util.Date getLastHeartBeatTime()
          get last heart beat timestamp
 java.util.Date getLastSourceUpdate()
          get last source update timestamp
 java.util.Date getLastSyncedTimestamp()
          get last synced timestamp
 java.util.Date getLastSyncUpdate()
          get last synced update timestamp
 java.lang.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
 java.util.Date getUpTime()
          get storage server up time
 java.lang.String getVersion()
          get storage version
 boolean isTrunkServer()
          if the trunk server
 void setFields(byte[] bs, int offset)
          set fields
 
Methods inherited from class org.csource.fastdfs.StructBase
booleanValue, byteValue, dateValue, intValue, longValue, stringValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD_INDEX_STATUS

protected static final int FIELD_INDEX_STATUS
See Also:
Constant Field Values

FIELD_INDEX_IP_ADDR

protected static final int FIELD_INDEX_IP_ADDR
See Also:
Constant Field Values

FIELD_INDEX_DOMAIN_NAME

protected static final int FIELD_INDEX_DOMAIN_NAME
See Also:
Constant Field Values

FIELD_INDEX_SRC_IP_ADDR

protected static final int FIELD_INDEX_SRC_IP_ADDR
See Also:
Constant Field Values

FIELD_INDEX_VERSION

protected static final int FIELD_INDEX_VERSION
See Also:
Constant Field Values

FIELD_INDEX_JOIN_TIME

protected static final int FIELD_INDEX_JOIN_TIME
See Also:
Constant Field Values

FIELD_INDEX_UP_TIME

protected static final int FIELD_INDEX_UP_TIME
See Also:
Constant Field Values

FIELD_INDEX_TOTAL_MB

protected static final int FIELD_INDEX_TOTAL_MB
See Also:
Constant Field Values

FIELD_INDEX_FREE_MB

protected static final int FIELD_INDEX_FREE_MB
See Also:
Constant Field Values

FIELD_INDEX_UPLOAD_PRIORITY

protected static final int FIELD_INDEX_UPLOAD_PRIORITY
See Also:
Constant Field Values

FIELD_INDEX_STORE_PATH_COUNT

protected static final int FIELD_INDEX_STORE_PATH_COUNT
See Also:
Constant Field Values

FIELD_INDEX_SUBDIR_COUNT_PER_PATH

protected static final int FIELD_INDEX_SUBDIR_COUNT_PER_PATH
See Also:
Constant Field Values

FIELD_INDEX_CURRENT_WRITE_PATH

protected static final int FIELD_INDEX_CURRENT_WRITE_PATH
See Also:
Constant Field Values

FIELD_INDEX_STORAGE_PORT

protected static final int FIELD_INDEX_STORAGE_PORT
See Also:
Constant Field Values

FIELD_INDEX_STORAGE_HTTP_PORT

protected static final int FIELD_INDEX_STORAGE_HTTP_PORT
See Also:
Constant Field Values

FIELD_INDEX_TOTAL_UPLOAD_COUNT

protected static final int FIELD_INDEX_TOTAL_UPLOAD_COUNT
See Also:
Constant Field Values

FIELD_INDEX_SUCCESS_UPLOAD_COUNT

protected static final int FIELD_INDEX_SUCCESS_UPLOAD_COUNT
See Also:
Constant Field Values

FIELD_INDEX_TOTAL_APPEND_COUNT

protected static final int FIELD_INDEX_TOTAL_APPEND_COUNT
See Also:
Constant Field Values

FIELD_INDEX_SUCCESS_APPEND_COUNT

protected static final int FIELD_INDEX_SUCCESS_APPEND_COUNT
See Also:
Constant Field Values

FIELD_INDEX_TOTAL_MODIFY_COUNT

protected static final int FIELD_INDEX_TOTAL_MODIFY_COUNT
See Also:
Constant Field Values

FIELD_INDEX_SUCCESS_MODIFY_COUNT

protected static final int FIELD_INDEX_SUCCESS_MODIFY_COUNT
See Also:
Constant Field Values

FIELD_INDEX_TOTAL_TRUNCATE_COUNT

protected static final int FIELD_INDEX_TOTAL_TRUNCATE_COUNT
See Also:
Constant Field Values

FIELD_INDEX_SUCCESS_TRUNCATE_COUNT

protected static final int FIELD_INDEX_SUCCESS_TRUNCATE_COUNT
See Also:
Constant Field Values

FIELD_INDEX_TOTAL_SET_META_COUNT

protected static final int FIELD_INDEX_TOTAL_SET_META_COUNT
See Also:
Constant Field Values

FIELD_INDEX_SUCCESS_SET_META_COUNT

protected static final int FIELD_INDEX_SUCCESS_SET_META_COUNT
See Also:
Constant Field Values

FIELD_INDEX_TOTAL_DELETE_COUNT

protected static final int FIELD_INDEX_TOTAL_DELETE_COUNT
See Also:
Constant Field Values

FIELD_INDEX_SUCCESS_DELETE_COUNT

protected static final int FIELD_INDEX_SUCCESS_DELETE_COUNT
See Also:
Constant Field Values

FIELD_INDEX_TOTAL_DOWNLOAD_COUNT

protected static final int FIELD_INDEX_TOTAL_DOWNLOAD_COUNT
See Also:
Constant Field Values

FIELD_INDEX_SUCCESS_DOWNLOAD_COUNT

protected static final int FIELD_INDEX_SUCCESS_DOWNLOAD_COUNT
See Also:
Constant Field Values

FIELD_INDEX_TOTAL_GET_META_COUNT

protected static final int FIELD_INDEX_TOTAL_GET_META_COUNT
See Also:
Constant Field Values

FIELD_INDEX_SUCCESS_GET_META_COUNT

protected static final int FIELD_INDEX_SUCCESS_GET_META_COUNT
See Also:
Constant Field Values

FIELD_INDEX_TOTAL_CREATE_LINK_COUNT

protected static final int FIELD_INDEX_TOTAL_CREATE_LINK_COUNT
See Also:
Constant Field Values

FIELD_INDEX_SUCCESS_CREATE_LINK_COUNT

protected static final int FIELD_INDEX_SUCCESS_CREATE_LINK_COUNT
See Also:
Constant Field Values

FIELD_INDEX_TOTAL_DELETE_LINK_COUNT

protected static final int FIELD_INDEX_TOTAL_DELETE_LINK_COUNT
See Also:
Constant Field Values

FIELD_INDEX_SUCCESS_DELETE_LINK_COUNT

protected static final int FIELD_INDEX_SUCCESS_DELETE_LINK_COUNT
See Also:
Constant Field Values

FIELD_INDEX_TOTAL_UPLOAD_BYTES

protected static final int FIELD_INDEX_TOTAL_UPLOAD_BYTES
See Also:
Constant Field Values

FIELD_INDEX_SUCCESS_UPLOAD_BYTES

protected static final int FIELD_INDEX_SUCCESS_UPLOAD_BYTES
See Also:
Constant Field Values

FIELD_INDEX_TOTAL_APPEND_BYTES

protected static final int FIELD_INDEX_TOTAL_APPEND_BYTES
See Also:
Constant Field Values

FIELD_INDEX_SUCCESS_APPEND_BYTES

protected static final int FIELD_INDEX_SUCCESS_APPEND_BYTES
See Also:
Constant Field Values

FIELD_INDEX_TOTAL_MODIFY_BYTES

protected static final int FIELD_INDEX_TOTAL_MODIFY_BYTES
See Also:
Constant Field Values

FIELD_INDEX_SUCCESS_MODIFY_BYTES

protected static final int FIELD_INDEX_SUCCESS_MODIFY_BYTES
See Also:
Constant Field Values

FIELD_INDEX_TOTAL_DOWNLOAD_BYTES

protected static final int FIELD_INDEX_TOTAL_DOWNLOAD_BYTES
See Also:
Constant Field Values

FIELD_INDEX_SUCCESS_DOWNLOAD_BYTES

protected static final int FIELD_INDEX_SUCCESS_DOWNLOAD_BYTES
See Also:
Constant Field Values

FIELD_INDEX_TOTAL_SYNC_IN_BYTES

protected static final int FIELD_INDEX_TOTAL_SYNC_IN_BYTES
See Also:
Constant Field Values

FIELD_INDEX_SUCCESS_SYNC_IN_BYTES

protected static final int FIELD_INDEX_SUCCESS_SYNC_IN_BYTES
See Also:
Constant Field Values

FIELD_INDEX_TOTAL_SYNC_OUT_BYTES

protected static final int FIELD_INDEX_TOTAL_SYNC_OUT_BYTES
See Also:
Constant Field Values

FIELD_INDEX_SUCCESS_SYNC_OUT_BYTES

protected static final int FIELD_INDEX_SUCCESS_SYNC_OUT_BYTES
See Also:
Constant Field Values

FIELD_INDEX_TOTAL_FILE_OPEN_COUNT

protected static final int FIELD_INDEX_TOTAL_FILE_OPEN_COUNT
See Also:
Constant Field Values

FIELD_INDEX_SUCCESS_FILE_OPEN_COUNT

protected static final int FIELD_INDEX_SUCCESS_FILE_OPEN_COUNT
See Also:
Constant Field Values

FIELD_INDEX_TOTAL_FILE_READ_COUNT

protected static final int FIELD_INDEX_TOTAL_FILE_READ_COUNT
See Also:
Constant Field Values

FIELD_INDEX_SUCCESS_FILE_READ_COUNT

protected static final int FIELD_INDEX_SUCCESS_FILE_READ_COUNT
See Also:
Constant Field Values

FIELD_INDEX_TOTAL_FILE_WRITE_COUNT

protected static final int FIELD_INDEX_TOTAL_FILE_WRITE_COUNT
See Also:
Constant Field Values

FIELD_INDEX_SUCCESS_FILE_WRITE_COUNT

protected static final int FIELD_INDEX_SUCCESS_FILE_WRITE_COUNT
See Also:
Constant Field Values

FIELD_INDEX_LAST_SOURCE_UPDATE

protected static final int FIELD_INDEX_LAST_SOURCE_UPDATE
See Also:
Constant Field Values

FIELD_INDEX_LAST_SYNC_UPDATE

protected static final int FIELD_INDEX_LAST_SYNC_UPDATE
See Also:
Constant Field Values

FIELD_INDEX_LAST_SYNCED_TIMESTAMP

protected static final int FIELD_INDEX_LAST_SYNCED_TIMESTAMP
See Also:
Constant Field Values

FIELD_INDEX_LAST_HEART_BEAT_TIME

protected static final int FIELD_INDEX_LAST_HEART_BEAT_TIME
See Also:
Constant Field Values

FIELD_INDEX_IF_TRUNK_FILE

protected static final int FIELD_INDEX_IF_TRUNK_FILE
See Also:
Constant Field Values

fieldsTotalSize

protected static int fieldsTotalSize

fieldsArray

protected static StructBase.FieldInfo[] fieldsArray

status

protected byte status

ipAddr

protected java.lang.String ipAddr

srcIpAddr

protected java.lang.String srcIpAddr

domainName

protected java.lang.String domainName

version

protected java.lang.String version

totalMB

protected long totalMB

freeMB

protected long freeMB

uploadPriority

protected int uploadPriority

joinTime

protected java.util.Date joinTime

upTime

protected java.util.Date upTime

storePathCount

protected int storePathCount

subdirCountPerPath

protected int subdirCountPerPath

storagePort

protected int storagePort

storageHttpPort

protected int storageHttpPort

currentWritePath

protected int currentWritePath

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 java.util.Date lastSourceUpdate

lastSyncUpdate

protected java.util.Date lastSyncUpdate

lastSyncedTimestamp

protected java.util.Date lastSyncedTimestamp

lastHeartBeatTime

protected java.util.Date lastHeartBeatTime

ifTrunkServer

protected boolean ifTrunkServer
Constructor Detail

StructStorageStat

public StructStorageStat()
Method Detail

getStatus

public byte getStatus()
get storage status

Returns:
storage status

getIpAddr

public java.lang.String getIpAddr()
get storage server ip address

Returns:
storage server ip address

getSrcIpAddr

public java.lang.String getSrcIpAddr()
get source storage ip address

Returns:
source storage ip address

getDomainName

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

Returns:
the domain name of the storage server

getVersion

public java.lang.String getVersion()
get storage version

Returns:
storage version

getTotalMB

public long getTotalMB()
get total disk space in MB

Returns:
total disk space in MB

getFreeMB

public long getFreeMB()
get free disk space in MB

Returns:
free disk space in MB

getUploadPriority

public int getUploadPriority()
get storage server upload priority

Returns:
storage server upload priority

getJoinTime

public java.util.Date getJoinTime()
get storage server join time

Returns:
storage server join time

getUpTime

public java.util.Date getUpTime()
get storage server up time

Returns:
storage server up time

getStorePathCount

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

Returns:
store base path count of each storage server

getSubdirCountPerPath

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

Returns:
sub dir count per store path

getStoragePort

public int getStoragePort()
get storage server port

Returns:
storage server port

getStorageHttpPort

public int getStorageHttpPort()
get storage server HTTP port

Returns:
storage server HTTP port

getCurrentWritePath

public int getCurrentWritePath()
get current write path index

Returns:
current write path index

getTotalUploadCount

public long getTotalUploadCount()
get total upload file count

Returns:
total upload file count

getSuccessUploadCount

public long getSuccessUploadCount()
get success upload file count

Returns:
success upload file count

getTotalAppendCount

public long getTotalAppendCount()
get total append count

Returns:
total append count

getSuccessAppendCount

public long getSuccessAppendCount()
get success append count

Returns:
success append count

getTotalModifyCount

public long getTotalModifyCount()
get total modify count

Returns:
total modify count

getSuccessModifyCount

public long getSuccessModifyCount()
get success modify count

Returns:
success modify count

getTotalTruncateCount

public long getTotalTruncateCount()
get total truncate count

Returns:
total truncate count

getSuccessTruncateCount

public long getSuccessTruncateCount()
get success truncate count

Returns:
success truncate count

getTotalSetMetaCount

public long getTotalSetMetaCount()
get total set meta data count

Returns:
total set meta data count

getSuccessSetMetaCount

public long getSuccessSetMetaCount()
get success set meta data count

Returns:
success set meta data count

getTotalDeleteCount

public long getTotalDeleteCount()
get total delete file count

Returns:
total delete file count

getSuccessDeleteCount

public long getSuccessDeleteCount()
get success delete file count

Returns:
success delete file count

getTotalDownloadCount

public long getTotalDownloadCount()
get total download file count

Returns:
total download file count

getSuccessDownloadCount

public long getSuccessDownloadCount()
get success download file count

Returns:
success download file count

getTotalGetMetaCount

public long getTotalGetMetaCount()
get total get metadata count

Returns:
total get metadata count

getSuccessGetMetaCount

public long getSuccessGetMetaCount()
get success get metadata count

Returns:
success get metadata count

getTotalCreateLinkCount

public long getTotalCreateLinkCount()
get total create linke count

Returns:
total create linke count

getSuccessCreateLinkCount

public long getSuccessCreateLinkCount()
get success create linke count

Returns:
success create linke count

getTotalDeleteLinkCount

public long getTotalDeleteLinkCount()
get total delete link count

Returns:
total delete link count

getSuccessDeleteLinkCount

public long getSuccessDeleteLinkCount()
get success delete link count

Returns:
success delete link count

getTotalUploadBytes

public long getTotalUploadBytes()
get total upload file bytes

Returns:
total upload file bytes

getSuccessUploadBytes

public long getSuccessUploadBytes()
get success upload file bytes

Returns:
success upload file bytes

getTotalAppendBytes

public long getTotalAppendBytes()
get total append bytes

Returns:
total append bytes

getSuccessAppendBytes

public long getSuccessAppendBytes()
get success append bytes

Returns:
success append bytes

getTotalModifyBytes

public long getTotalModifyBytes()
get total modify bytes

Returns:
total modify bytes

getSuccessModifyBytes

public long getSuccessModifyBytes()
get success modify bytes

Returns:
success modify bytes

getTotalDownloadloadBytes

public long getTotalDownloadloadBytes()
get total download file bytes

Returns:
total download file bytes

getSuccessDownloadloadBytes

public long getSuccessDownloadloadBytes()
get success download file bytes

Returns:
success download file bytes

getTotalSyncInBytes

public long getTotalSyncInBytes()
get total sync in bytes

Returns:
total sync in bytes

getSuccessSyncInBytes

public long getSuccessSyncInBytes()
get success sync in bytes

Returns:
success sync in bytes

getTotalSyncOutBytes

public long getTotalSyncOutBytes()
get total sync out bytes

Returns:
total sync out bytes

getSuccessSyncOutBytes

public long getSuccessSyncOutBytes()
get success sync out bytes

Returns:
success sync out bytes

getTotalFileOpenCount

public long getTotalFileOpenCount()
get total file opened count

Returns:
total file opened bytes

getSuccessFileOpenCount

public long getSuccessFileOpenCount()
get success file opened count

Returns:
success file opened count

getTotalFileReadCount

public long getTotalFileReadCount()
get total file read count

Returns:
total file read bytes

getSuccessFileReadCount

public long getSuccessFileReadCount()
get success file read count

Returns:
success file read count

getTotalFileWriteCount

public long getTotalFileWriteCount()
get total file write count

Returns:
total file write bytes

getSuccessFileWriteCount

public long getSuccessFileWriteCount()
get success file write count

Returns:
success file write count

getLastSourceUpdate

public java.util.Date getLastSourceUpdate()
get last source update timestamp

Returns:
last source update timestamp

getLastSyncUpdate

public java.util.Date getLastSyncUpdate()
get last synced update timestamp

Returns:
last synced update timestamp

getLastSyncedTimestamp

public java.util.Date getLastSyncedTimestamp()
get last synced timestamp

Returns:
last synced timestamp

getLastHeartBeatTime

public java.util.Date getLastHeartBeatTime()
get last heart beat timestamp

Returns:
last heart beat timestamp

isTrunkServer

public boolean isTrunkServer()
if the trunk server

Returns:
true for the trunk server, otherwise false

setFields

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

Specified by:
setFields in class StructBase
Parameters:
bs - byte array
offset - start offset

getFieldsTotalSize

public static int getFieldsTotalSize()
get fields total size

Returns:
fields total size