Class GroupState
java.lang.Object
com.github.tobato.fastdfs.domain.fdfs.GroupState
fastdfs中group的状态信息
- Author:
- yuqih, tobato
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintlongintintintintintlonglongvoidsetActiveCount(int activeCount) voidsetCurrentTrunkFileId(int currentTrunkFileId) voidsetCurrentWriteServer(int currentWriteServer) voidsetFreeMB(long freeMB) voidsetGroupName(String groupName) voidsetStorageCount(int storageCount) voidsetStorageHttpPort(int storageHttpPort) voidsetStoragePort(int storagePort) voidsetStorePathCount(int storePathCount) voidsetSubdirCountPerPath(int subdirCountPerPath) voidsetTotalMB(long totalMB) voidsetTrunkFreeMB(long trunkFreeMB) toString()
-
Constructor Details
-
GroupState
public GroupState()
-
-
Method Details
-
getGroupName
- Returns:
- the groupName
-
setGroupName
- Parameters:
groupName- the groupName to set
-
getTotalMB
public long getTotalMB()- Returns:
- the totalMB
-
setTotalMB
public void setTotalMB(long totalMB) - Parameters:
totalMB- the totalMB to set
-
getFreeMB
public long getFreeMB()- Returns:
- the freeMB
-
setFreeMB
public void setFreeMB(long freeMB) - Parameters:
freeMB- the freeMB to set
-
getTrunkFreeMB
public long getTrunkFreeMB()- Returns:
- the trunkFreeMB
-
setTrunkFreeMB
public void setTrunkFreeMB(long trunkFreeMB) - Parameters:
trunkFreeMB- the trunkFreeMB to set
-
getStorageCount
public int getStorageCount()- Returns:
- the storageCount
-
setStorageCount
public void setStorageCount(int storageCount) - Parameters:
storageCount- the storageCount to set
-
getStoragePort
public int getStoragePort()- Returns:
- the storagePort
-
setStoragePort
public void setStoragePort(int storagePort) - Parameters:
storagePort- the storagePort to set
-
getStorageHttpPort
public int getStorageHttpPort()- Returns:
- the storageHttpPort
-
setStorageHttpPort
public void setStorageHttpPort(int storageHttpPort) - Parameters:
storageHttpPort- the storageHttpPort to set
-
getActiveCount
public int getActiveCount()- Returns:
- the activeCount
-
setActiveCount
public void setActiveCount(int activeCount) - Parameters:
activeCount- the activeCount to set
-
getCurrentWriteServer
public int getCurrentWriteServer()- Returns:
- the currentWriteServer
-
setCurrentWriteServer
public void setCurrentWriteServer(int currentWriteServer) - Parameters:
currentWriteServer- the currentWriteServer to set
-
getStorePathCount
public int getStorePathCount()- Returns:
- the storePathCount
-
setStorePathCount
public void setStorePathCount(int storePathCount) - Parameters:
storePathCount- the storePathCount to set
-
getSubdirCountPerPath
public int getSubdirCountPerPath()- Returns:
- the subdirCountPerPath
-
setSubdirCountPerPath
public void setSubdirCountPerPath(int subdirCountPerPath) - Parameters:
subdirCountPerPath- the subdirCountPerPath to set
-
getCurrentTrunkFileId
public int getCurrentTrunkFileId()- Returns:
- the currentTrunkFileId
-
setCurrentTrunkFileId
public void setCurrentTrunkFileId(int currentTrunkFileId) - Parameters:
currentTrunkFileId- the currentTrunkFileId to set
-
toString
-