public final class TargetCapacityInformations extends Object
This class encapsulates the informations about the capacity of an iSCSI Target.
| Constructor and Description |
|---|
TargetCapacityInformations()
Default constructor to create a new, empty
TargetCapacityInformations object. |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(ByteBuffer buf)
This method deserializes from
buf the capacity informations of the iSCSI Target. |
long |
getBlockSize()
Returns the block size (in bytes).
|
long |
getSize()
Returns the number of blocks of the connected target.
|
String |
toString() |
public TargetCapacityInformations()
TargetCapacityInformations object.public final long getSize()
public final long getBlockSize()
public final void deserialize(ByteBuffer buf)
buf the capacity informations of the iSCSI Target.buf - The input buffer to read from.Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.