public interface InterfaceDAO extends DAO
InterfaceDAO
defines a type for performing CRUD operations on instances of Interface
.Modifier and Type | Method and Description |
---|---|
List<VdsNetworkInterface> |
getAllInterfacesForVds(Guid id)
Retrieves all interfaces for the given VDS id.
|
void |
massUpdateStatisticsForVds(Collection<VdsNetworkStatistics> statistics)
Updates the given collection of vds network statistics using a more efficient method to update all of them at
once, rather than each at a time.
|
void |
removeInterfaceFromVds(Guid id)
Removes the VDS interface.
|
void |
removeStatisticsForVds(Guid id)
Removes the specified statistics.
|
void |
saveInterfaceForVds(VdsNetworkInterface iface)
Saves the specified VDS interface.
|
void |
saveStatisticsForVds(VdsNetworkStatistics stats)
Saves the specified statistics
|
void |
updateInterfaceForVds(VdsNetworkInterface iface)
Updates the specified VDS interface.
|
void |
updateStatisticsForVds(VdsNetworkStatistics stats)
Updates the statistics.
|
void saveStatisticsForVds(VdsNetworkStatistics stats)
stats
- the statisticsvoid saveInterfaceForVds(VdsNetworkInterface iface)
iface
- the interfacevoid updateStatisticsForVds(VdsNetworkStatistics stats)
stats
- the statisticsvoid massUpdateStatisticsForVds(Collection<VdsNetworkStatistics> statistics)
statistics
- The collection of statistics to update.void updateInterfaceForVds(VdsNetworkInterface iface)
iface
- the interfaceList<VdsNetworkInterface> getAllInterfacesForVds(Guid id)
id
- the VDS idvoid removeStatisticsForVds(Guid id)
id
- the statisticsvoid removeInterfaceFromVds(Guid id)
id
- the interfaceCopyright © 2012. All Rights Reserved.