类 GroupState
java.lang.Object
com.github.tobato.fastdfs.domain.fdfs.GroupState
fastdfs中group的状态信息
- 作者:
- yuqih, tobato
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明intintintlongintintintintintlonglongvoidsetActiveCount(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()
-
构造器详细资料
-
GroupState
public GroupState()
-
-
方法详细资料
-
getGroupName
- 返回:
- the groupName
-
setGroupName
- 参数:
groupName- the groupName 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
-
getTrunkFreeMB
public long getTrunkFreeMB()- 返回:
- the trunkFreeMB
-
setTrunkFreeMB
public void setTrunkFreeMB(long trunkFreeMB) - 参数:
trunkFreeMB- the trunkFreeMB to set
-
getStorageCount
public int getStorageCount()- 返回:
- the storageCount
-
setStorageCount
public void setStorageCount(int storageCount) - 参数:
storageCount- the storageCount 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
-
getActiveCount
public int getActiveCount()- 返回:
- the activeCount
-
setActiveCount
public void setActiveCount(int activeCount) - 参数:
activeCount- the activeCount to set
-
getCurrentWriteServer
public int getCurrentWriteServer()- 返回:
- the currentWriteServer
-
setCurrentWriteServer
public void setCurrentWriteServer(int currentWriteServer) - 参数:
currentWriteServer- the currentWriteServer 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
-
getCurrentTrunkFileId
public int getCurrentTrunkFileId()- 返回:
- the currentTrunkFileId
-
setCurrentTrunkFileId
public void setCurrentTrunkFileId(int currentTrunkFileId) - 参数:
currentTrunkFileId- the currentTrunkFileId to set
-
toString
-