Class VpgsProtectionInfoResponse
java.lang.Object
com.iland.core.web.rest.response.vpg.VpgsProtectionInfoResponse
- All Implemented Interfaces:
Serializable
VPGs Protection Info Response.
- Author:
- Julien Anguenot
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionVpgsProtectionInfoResponse(long totalReplicatedVms, long totalUnreplicatedVms) -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the total number of VMs replicated from the source sites.longReturns the total number of VMs non-replicated from the source sites.
-
Constructor Details
-
VpgsProtectionInfoResponse
public VpgsProtectionInfoResponse(long totalReplicatedVms, long totalUnreplicatedVms)
-
-
Method Details
-
getTotalReplicatedVms
public long getTotalReplicatedVms()Returns the total number of VMs replicated from the source sites.- Returns:
- the total number of VMs replicated from the source sites.
-
getTotalUnreplicatedVms
public long getTotalUnreplicatedVms()Returns the total number of VMs non-replicated from the source sites.- Returns:
- the total number of VMs non-replicated from the source sites or -1 if we cannot determine that number.
-