Package cloudreports.models
Class SanStorageRegistry
java.lang.Object
cloudreports.models.SanStorageRegistry
- All Implemented Interfaces:
Serializable
A SAN registry stores basic information about a storage area network owned
by a datacenter.
- Since:
- 1.0
- Author:
- Thiago T. Sá
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandoubleGets the SAN's bandwidth.longGets the SAN's capacity.longgetId()Gets the SAN's id.getName()Gets the SAN's name.doubleGets the SAN's latency.inthashCode()voidsetBandwidth(double bandwidth) Sets the SAN's bandwidth.voidsetCapacity(long capacity) Sets the SAN's capacity.voidsetId(long id) Sets the SAN's id.voidSets the SAN's name.voidsetNetworkLatency(double networkLatency) Sets the SAN's latency.toString()
-
Constructor Details
-
SanStorageRegistry
public SanStorageRegistry()
-
-
Method Details
-
getId
public long getId()Gets the SAN's id.- Returns:
- the SAN's id.
-
setId
public void setId(long id) Sets the SAN's id.- Parameters:
id- the SAN's id.
-
getCapacity
public long getCapacity()Gets the SAN's capacity.- Returns:
- the SAN's capacity.
-
setCapacity
public void setCapacity(long capacity) Sets the SAN's capacity.- Parameters:
capacity- the SAN's capacity.
-
getBandwidth
public double getBandwidth()Gets the SAN's bandwidth.- Returns:
- the SAN's bandwidth.
-
setBandwidth
public void setBandwidth(double bandwidth) Sets the SAN's bandwidth.- Parameters:
bandwidth- the SAN's bandwidth.
-
getNetworkLatency
public double getNetworkLatency()Gets the SAN's latency.- Returns:
- the SAN's latency.
-
setNetworkLatency
public void setNetworkLatency(double networkLatency) Sets the SAN's latency.- Parameters:
networkLatency- the SAN's latency.
-
getName
Gets the SAN's name.- Returns:
- the SAN's name.
-
setName
Sets the SAN's name.- Parameters:
name- the SAN's name.
-
equals
-
hashCode
public int hashCode() -
toString
-