类 StorageState

java.lang.Object
com.github.tobato.fastdfs.domain.fdfs.StorageState

public class StorageState extends Object
fastdfs中storage节点的状态信息
作者:
yuqih
  • 构造器详细资料

    • StorageState

      public StorageState()
  • 方法详细资料

    • getStatus

      public byte getStatus()
      返回:
      the status
    • setStatus

      public void setStatus(byte status)
      参数:
      status - the status to set
    • getId

      public String getId()
      返回:
      the id
    • setId

      public void setId(String id)
      参数:
      id - the id to set
    • getIpAddr

      public String getIpAddr()
      返回:
      the ipAddr
    • setIpAddr

      public void setIpAddr(String ipAddr)
      参数:
      ipAddr - the ipAddr to set
    • getSrcIpAddr

      public String getSrcIpAddr()
      返回:
      the srcIpAddr
    • setSrcIpAddr

      public void setSrcIpAddr(String srcIpAddr)
      参数:
      srcIpAddr - the srcIpAddr to set
    • getDomainName

      public String getDomainName()
      返回:
      the domainName
    • setDomainName

      public void setDomainName(String domainName)
      参数:
      domainName - the domainName to set
    • getVersion

      public String getVersion()
      返回:
      the version
    • setVersion

      public void setVersion(String version)
      参数:
      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

      public Date getJoinTime()
      返回:
      the joinTime
    • setJoinTime

      public void setJoinTime(Date joinTime)
      参数:
      joinTime - the joinTime to set
    • getUpTime

      public Date getUpTime()
      返回:
      the upTime
    • setUpTime

      public void setUpTime(Date upTime)
      参数:
      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

      public Date getLastSourceUpdate()
      返回:
      the lastSourceUpdate
    • setLastSourceUpdate

      public void setLastSourceUpdate(Date lastSourceUpdate)
      参数:
      lastSourceUpdate - the lastSourceUpdate to set
    • getLastSyncUpdate

      public Date getLastSyncUpdate()
      返回:
      the lastSyncUpdate
    • setLastSyncUpdate

      public void setLastSyncUpdate(Date lastSyncUpdate)
      参数:
      lastSyncUpdate - the lastSyncUpdate to set
    • getLastSyncedTimestamp

      public Date getLastSyncedTimestamp()
      返回:
      the lastSyncedTimestamp
    • setLastSyncedTimestamp

      public void setLastSyncedTimestamp(Date lastSyncedTimestamp)
      参数:
      lastSyncedTimestamp - the lastSyncedTimestamp to set
    • getLastHeartBeatTime

      public Date getLastHeartBeatTime()
      返回:
      the lastHeartBeatTime
    • setLastHeartBeatTime

      public void setLastHeartBeatTime(Date lastHeartBeatTime)
      参数:
      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

      public String toString()
      覆盖:
      toString 在类中 Object