类 StorageState
java.lang.Object
com.github.tobato.fastdfs.domain.fdfs.StorageState
fastdfs中storage节点的状态信息
- 作者:
- yuqih
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明intintintintlonggetId()byteintintintintlonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongintbooleanvoidsetConnectionAllocCount(int connectionAllocCount) voidsetConnectionCurrentCount(int connectionCurrentCount) voidsetConnectionMaxCount(int connectionMaxCount) voidsetCurrentWritePath(int currentWritePath) voidsetDomainName(String domainName) voidsetFreeMB(long freeMB) voidvoidvoidsetJoinTime(Date joinTime) voidsetLastHeartBeatTime(Date lastHeartBeatTime) voidsetLastSourceUpdate(Date lastSourceUpdate) voidsetLastSyncedTimestamp(Date lastSyncedTimestamp) voidsetLastSyncUpdate(Date lastSyncUpdate) voidsetSrcIpAddr(String srcIpAddr) voidsetStatus(byte status) voidsetStorageHttpPort(int storageHttpPort) voidsetStoragePort(int storagePort) voidsetStorePathCount(int storePathCount) voidsetSubdirCountPerPath(int subdirCountPerPath) voidsetSuccessAppendBytes(long successAppendBytes) voidsetSuccessAppendCount(long successAppendCount) voidsetSuccessCreateLinkCount(long successCreateLinkCount) voidsetSuccessDeleteCount(long successDeleteCount) voidsetSuccessDeleteLinkCount(long successDeleteLinkCount) voidsetSuccessDownloadCount(long successDownloadCount) voidsetSuccessDownloadloadBytes(long successDownloadloadBytes) voidsetSuccessFileOpenCount(long successFileOpenCount) voidsetSuccessFileReadCount(long successFileReadCount) voidsetSuccessFileWriteCount(long successFileWriteCount) voidsetSuccessGetMetaCount(long successGetMetaCount) voidsetSuccessModifyBytes(long successModifyBytes) voidsetSuccessModifyCount(long successModifyCount) voidsetSuccessSetMetaCount(long successSetMetaCount) voidsetSuccessSyncInBytes(long successSyncInBytes) voidsetSuccessSyncOutBytes(long successSyncOutBytes) voidsetSuccessTruncateCount(long successTruncateCount) voidsetSuccessUploadBytes(long successUploadBytes) voidsetSuccessUploadCount(long successUploadCount) voidsetTotalAppendBytes(long totalAppendBytes) voidsetTotalAppendCount(long totalAppendCount) voidsetTotalCreateLinkCount(long totalCreateLinkCount) voidsetTotalDeleteCount(long totalDeleteCount) voidsetTotalDeleteLinkCount(long totalDeleteLinkCount) voidsetTotalDownloadCount(long totalDownloadCount) voidsetTotalDownloadloadBytes(long totalDownloadloadBytes) voidsetTotalFileOpenCount(long totalFileOpenCount) voidsetTotalFileReadCount(long totalFileReadCount) voidsetTotalFileWriteCount(long totalFileWriteCount) voidsetTotalGetMetaCount(long totalGetMetaCount) voidsetTotalMB(long totalMB) voidsetTotalModifyBytes(long totalModifyBytes) voidsetTotalModifyCount(long totalModifyCount) voidsetTotalSetMetaCount(long totalSetMetaCount) voidsetTotalSyncInBytes(long totalSyncInBytes) voidsetTotalSyncOutBytes(long totalSyncOutBytes) voidsetTotalTruncateCount(long totalTruncateCount) voidsetTotalUploadBytes(long totalUploadBytes) voidsetTotalUploadCount(long totalUploadCount) voidsetTrunkServer(boolean isTrunkServer) voidsetUploadPriority(int uploadPriority) voidvoidsetVersion(String version) toString()
-
构造器详细资料
-
StorageState
public StorageState()
-
-
方法详细资料
-
getStatus
public byte getStatus()- 返回:
- the status
-
setStatus
public void setStatus(byte status) - 参数:
status- the status to set
-
getId
- 返回:
- the id
-
setId
- 参数:
id- the id to set
-
getIpAddr
- 返回:
- the ipAddr
-
setIpAddr
- 参数:
ipAddr- the ipAddr to set
-
getSrcIpAddr
- 返回:
- the srcIpAddr
-
setSrcIpAddr
- 参数:
srcIpAddr- the srcIpAddr to set
-
getDomainName
- 返回:
- the domainName
-
setDomainName
- 参数:
domainName- the domainName to set
-
getVersion
- 返回:
- the version
-
setVersion
- 参数:
version- the version to set
-
getTotalMB
public long getTotalMB()- 返回:
- the totalMB
-
setTotalMB
public void setTotalMB(long totalMB) - 参数:
totalMB- the totalMB to set
-
getFreeMB
public long getFreeMB()- 返回:
- the freeMB
-
setFreeMB
public void setFreeMB(long freeMB) - 参数:
freeMB- the freeMB to set
-
getUploadPriority
public int getUploadPriority()- 返回:
- the uploadPriority
-
setUploadPriority
public void setUploadPriority(int uploadPriority) - 参数:
uploadPriority- the uploadPriority to set
-
getJoinTime
- 返回:
- the joinTime
-
setJoinTime
- 参数:
joinTime- the joinTime to set
-
getUpTime
- 返回:
- the upTime
-
setUpTime
- 参数:
upTime- the upTime to set
-
getStorePathCount
public int getStorePathCount()- 返回:
- the storePathCount
-
setStorePathCount
public void setStorePathCount(int storePathCount) - 参数:
storePathCount- the storePathCount to set
-
getSubdirCountPerPath
public int getSubdirCountPerPath()- 返回:
- the subdirCountPerPath
-
setSubdirCountPerPath
public void setSubdirCountPerPath(int subdirCountPerPath) - 参数:
subdirCountPerPath- the subdirCountPerPath to set
-
getStoragePort
public int getStoragePort()- 返回:
- the storagePort
-
setStoragePort
public void setStoragePort(int storagePort) - 参数:
storagePort- the storagePort to set
-
getStorageHttpPort
public int getStorageHttpPort()- 返回:
- the storageHttpPort
-
setStorageHttpPort
public void setStorageHttpPort(int storageHttpPort) - 参数:
storageHttpPort- the storageHttpPort to set
-
getCurrentWritePath
public int getCurrentWritePath()- 返回:
- the currentWritePath
-
setCurrentWritePath
public void setCurrentWritePath(int currentWritePath) - 参数:
currentWritePath- the currentWritePath to set
-
getTotalUploadCount
public long getTotalUploadCount()- 返回:
- the totalUploadCount
-
setTotalUploadCount
public void setTotalUploadCount(long totalUploadCount) - 参数:
totalUploadCount- the totalUploadCount to set
-
getSuccessUploadCount
public long getSuccessUploadCount()- 返回:
- the successUploadCount
-
setSuccessUploadCount
public void setSuccessUploadCount(long successUploadCount) - 参数:
successUploadCount- the successUploadCount to set
-
getTotalAppendCount
public long getTotalAppendCount()- 返回:
- the totalAppendCount
-
setTotalAppendCount
public void setTotalAppendCount(long totalAppendCount) - 参数:
totalAppendCount- the totalAppendCount to set
-
getSuccessAppendCount
public long getSuccessAppendCount()- 返回:
- the successAppendCount
-
setSuccessAppendCount
public void setSuccessAppendCount(long successAppendCount) - 参数:
successAppendCount- the successAppendCount to set
-
getTotalModifyCount
public long getTotalModifyCount()- 返回:
- the totalModifyCount
-
setTotalModifyCount
public void setTotalModifyCount(long totalModifyCount) - 参数:
totalModifyCount- the totalModifyCount to set
-
getSuccessModifyCount
public long getSuccessModifyCount()- 返回:
- the successModifyCount
-
setSuccessModifyCount
public void setSuccessModifyCount(long successModifyCount) - 参数:
successModifyCount- the successModifyCount to set
-
getTotalTruncateCount
public long getTotalTruncateCount()- 返回:
- the totalTruncateCount
-
setTotalTruncateCount
public void setTotalTruncateCount(long totalTruncateCount) - 参数:
totalTruncateCount- the totalTruncateCount to set
-
getSuccessTruncateCount
public long getSuccessTruncateCount()- 返回:
- the successTruncateCount
-
setSuccessTruncateCount
public void setSuccessTruncateCount(long successTruncateCount) - 参数:
successTruncateCount- the successTruncateCount to set
-
getTotalSetMetaCount
public long getTotalSetMetaCount()- 返回:
- the totalSetMetaCount
-
setTotalSetMetaCount
public void setTotalSetMetaCount(long totalSetMetaCount) - 参数:
totalSetMetaCount- the totalSetMetaCount to set
-
getSuccessSetMetaCount
public long getSuccessSetMetaCount()- 返回:
- the successSetMetaCount
-
setSuccessSetMetaCount
public void setSuccessSetMetaCount(long successSetMetaCount) - 参数:
successSetMetaCount- the successSetMetaCount to set
-
getTotalDeleteCount
public long getTotalDeleteCount()- 返回:
- the totalDeleteCount
-
setTotalDeleteCount
public void setTotalDeleteCount(long totalDeleteCount) - 参数:
totalDeleteCount- the totalDeleteCount to set
-
getSuccessDeleteCount
public long getSuccessDeleteCount()- 返回:
- the successDeleteCount
-
setSuccessDeleteCount
public void setSuccessDeleteCount(long successDeleteCount) - 参数:
successDeleteCount- the successDeleteCount to set
-
getTotalDownloadCount
public long getTotalDownloadCount()- 返回:
- the totalDownloadCount
-
setTotalDownloadCount
public void setTotalDownloadCount(long totalDownloadCount) - 参数:
totalDownloadCount- the totalDownloadCount to set
-
getSuccessDownloadCount
public long getSuccessDownloadCount()- 返回:
- the successDownloadCount
-
setSuccessDownloadCount
public void setSuccessDownloadCount(long successDownloadCount) - 参数:
successDownloadCount- the successDownloadCount to set
-
getTotalGetMetaCount
public long getTotalGetMetaCount()- 返回:
- the totalGetMetaCount
-
setTotalGetMetaCount
public void setTotalGetMetaCount(long totalGetMetaCount) - 参数:
totalGetMetaCount- the totalGetMetaCount to set
-
getSuccessGetMetaCount
public long getSuccessGetMetaCount()- 返回:
- the successGetMetaCount
-
setSuccessGetMetaCount
public void setSuccessGetMetaCount(long successGetMetaCount) - 参数:
successGetMetaCount- the successGetMetaCount to set
-
getTotalCreateLinkCount
public long getTotalCreateLinkCount()- 返回:
- the totalCreateLinkCount
-
setTotalCreateLinkCount
public void setTotalCreateLinkCount(long totalCreateLinkCount) - 参数:
totalCreateLinkCount- the totalCreateLinkCount to set
-
getSuccessCreateLinkCount
public long getSuccessCreateLinkCount()- 返回:
- the successCreateLinkCount
-
setSuccessCreateLinkCount
public void setSuccessCreateLinkCount(long successCreateLinkCount) - 参数:
successCreateLinkCount- the successCreateLinkCount to set
-
getTotalDeleteLinkCount
public long getTotalDeleteLinkCount()- 返回:
- the totalDeleteLinkCount
-
setTotalDeleteLinkCount
public void setTotalDeleteLinkCount(long totalDeleteLinkCount) - 参数:
totalDeleteLinkCount- the totalDeleteLinkCount to set
-
getSuccessDeleteLinkCount
public long getSuccessDeleteLinkCount()- 返回:
- the successDeleteLinkCount
-
setSuccessDeleteLinkCount
public void setSuccessDeleteLinkCount(long successDeleteLinkCount) - 参数:
successDeleteLinkCount- the successDeleteLinkCount to set
-
getTotalUploadBytes
public long getTotalUploadBytes()- 返回:
- the totalUploadBytes
-
setTotalUploadBytes
public void setTotalUploadBytes(long totalUploadBytes) - 参数:
totalUploadBytes- the totalUploadBytes to set
-
getSuccessUploadBytes
public long getSuccessUploadBytes()- 返回:
- the successUploadBytes
-
setSuccessUploadBytes
public void setSuccessUploadBytes(long successUploadBytes) - 参数:
successUploadBytes- the successUploadBytes to set
-
getTotalAppendBytes
public long getTotalAppendBytes()- 返回:
- the totalAppendBytes
-
setTotalAppendBytes
public void setTotalAppendBytes(long totalAppendBytes) - 参数:
totalAppendBytes- the totalAppendBytes to set
-
getSuccessAppendBytes
public long getSuccessAppendBytes()- 返回:
- the successAppendBytes
-
setSuccessAppendBytes
public void setSuccessAppendBytes(long successAppendBytes) - 参数:
successAppendBytes- the successAppendBytes to set
-
getTotalModifyBytes
public long getTotalModifyBytes()- 返回:
- the totalModifyBytes
-
setTotalModifyBytes
public void setTotalModifyBytes(long totalModifyBytes) - 参数:
totalModifyBytes- the totalModifyBytes to set
-
getSuccessModifyBytes
public long getSuccessModifyBytes()- 返回:
- the successModifyBytes
-
setSuccessModifyBytes
public void setSuccessModifyBytes(long successModifyBytes) - 参数:
successModifyBytes- the successModifyBytes to set
-
getTotalDownloadloadBytes
public long getTotalDownloadloadBytes()- 返回:
- the totalDownloadloadBytes
-
setTotalDownloadloadBytes
public void setTotalDownloadloadBytes(long totalDownloadloadBytes) - 参数:
totalDownloadloadBytes- the totalDownloadloadBytes to set
-
getSuccessDownloadloadBytes
public long getSuccessDownloadloadBytes()- 返回:
- the successDownloadloadBytes
-
setSuccessDownloadloadBytes
public void setSuccessDownloadloadBytes(long successDownloadloadBytes) - 参数:
successDownloadloadBytes- the successDownloadloadBytes to set
-
getTotalSyncInBytes
public long getTotalSyncInBytes()- 返回:
- the totalSyncInBytes
-
setTotalSyncInBytes
public void setTotalSyncInBytes(long totalSyncInBytes) - 参数:
totalSyncInBytes- the totalSyncInBytes to set
-
getSuccessSyncInBytes
public long getSuccessSyncInBytes()- 返回:
- the successSyncInBytes
-
setSuccessSyncInBytes
public void setSuccessSyncInBytes(long successSyncInBytes) - 参数:
successSyncInBytes- the successSyncInBytes to set
-
getTotalSyncOutBytes
public long getTotalSyncOutBytes()- 返回:
- the totalSyncOutBytes
-
setTotalSyncOutBytes
public void setTotalSyncOutBytes(long totalSyncOutBytes) - 参数:
totalSyncOutBytes- the totalSyncOutBytes to set
-
getSuccessSyncOutBytes
public long getSuccessSyncOutBytes()- 返回:
- the successSyncOutBytes
-
setSuccessSyncOutBytes
public void setSuccessSyncOutBytes(long successSyncOutBytes) - 参数:
successSyncOutBytes- the successSyncOutBytes to set
-
getTotalFileOpenCount
public long getTotalFileOpenCount()- 返回:
- the totalFileOpenCount
-
setTotalFileOpenCount
public void setTotalFileOpenCount(long totalFileOpenCount) - 参数:
totalFileOpenCount- the totalFileOpenCount to set
-
getSuccessFileOpenCount
public long getSuccessFileOpenCount()- 返回:
- the successFileOpenCount
-
setSuccessFileOpenCount
public void setSuccessFileOpenCount(long successFileOpenCount) - 参数:
successFileOpenCount- the successFileOpenCount to set
-
getTotalFileReadCount
public long getTotalFileReadCount()- 返回:
- the totalFileReadCount
-
setTotalFileReadCount
public void setTotalFileReadCount(long totalFileReadCount) - 参数:
totalFileReadCount- the totalFileReadCount to set
-
getSuccessFileReadCount
public long getSuccessFileReadCount()- 返回:
- the successFileReadCount
-
setSuccessFileReadCount
public void setSuccessFileReadCount(long successFileReadCount) - 参数:
successFileReadCount- the successFileReadCount to set
-
getTotalFileWriteCount
public long getTotalFileWriteCount()- 返回:
- the totalFileWriteCount
-
setTotalFileWriteCount
public void setTotalFileWriteCount(long totalFileWriteCount) - 参数:
totalFileWriteCount- the totalFileWriteCount to set
-
getSuccessFileWriteCount
public long getSuccessFileWriteCount()- 返回:
- the successFileWriteCount
-
setSuccessFileWriteCount
public void setSuccessFileWriteCount(long successFileWriteCount) - 参数:
successFileWriteCount- the successFileWriteCount to set
-
getLastSourceUpdate
- 返回:
- the lastSourceUpdate
-
setLastSourceUpdate
- 参数:
lastSourceUpdate- the lastSourceUpdate to set
-
getLastSyncUpdate
- 返回:
- the lastSyncUpdate
-
setLastSyncUpdate
- 参数:
lastSyncUpdate- the lastSyncUpdate to set
-
getLastSyncedTimestamp
- 返回:
- the lastSyncedTimestamp
-
setLastSyncedTimestamp
- 参数:
lastSyncedTimestamp- the lastSyncedTimestamp to set
-
getLastHeartBeatTime
- 返回:
- the lastHeartBeatTime
-
setLastHeartBeatTime
- 参数:
lastHeartBeatTime- the lastHeartBeatTime to set
-
isTrunkServer
public boolean isTrunkServer()- 返回:
- the isTrunkServer
-
setTrunkServer
public void setTrunkServer(boolean isTrunkServer) - 参数:
isTrunkServer- the isTrunkServer to set
-
getConnectionAllocCount
public int getConnectionAllocCount() -
setConnectionAllocCount
public void setConnectionAllocCount(int connectionAllocCount) -
getConnectionCurrentCount
public int getConnectionCurrentCount() -
setConnectionCurrentCount
public void setConnectionCurrentCount(int connectionCurrentCount) -
getConnectionMaxCount
public int getConnectionMaxCount() -
setConnectionMaxCount
public void setConnectionMaxCount(int connectionMaxCount) -
toString
-