public class StorageSpace extends Object implements Serializable
以下の情報を取得することができます。
Constructor and Description |
---|
StorageSpace()
新規でStorageSpaceオブジェクトを構築します。
|
Modifier and Type | Method and Description |
---|---|
long |
getAccountUsed()
現在のアカウントの使用量(Byte)を取得します。
|
long |
getContractUsed()
契約中のストレージの総使用量(Byte)を取得します。
取得に失敗した場合は -1 を返します。
|
void |
setAccountUsed(long accountUsed)
内部使用のみ。
|
void |
setContractUsed(long contractUsed)
内部使用のみ。
|
String |
toString() |
public long getContractUsed()
public void setContractUsed(long contractUsed)
総使用量をセットします。
contractUsed
- 総使用量(Byte)public long getAccountUsed()
public void setAccountUsed(long accountUsed)
アカウントの使用量(Byte)をセットします。
accountUsed
- アカウントの使用量Copyright © 2018. All rights reserved.