Class HypervisorServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.compute.internal.BaseComputeServices
-
- org.openstack4j.openstack.compute.internal.ext.HypervisorServiceImpl
-
- All Implemented Interfaces:
HypervisorService,RestService
public class HypervisorServiceImpl extends BaseComputeServices implements HypervisorService
Implementation for the OSHypervisors.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
BaseOpenStackService.Invocation<R>
-
-
Constructor Summary
Constructors Constructor Description HypervisorServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Hypervisorget(String hypervisorId)Description:Get the specified Hypervisor by IDList<? extends Hypervisor>list()The Hypervisors for this OpenStack deployment.HypervisorStatisticsstatistics()The Hypervisor Statistics for this OpenStack Deployment-
Methods inherited from class org.openstack4j.openstack.compute.internal.BaseComputeServices
invokeAction, invokeActionWithResponse
-
Methods inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
delete, deleteWithResponse, get, getProvider, getServiceVersion, getWithResponse, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, putWithResponse, request, toList, uri
-
-
-
-
Method Detail
-
list
public List<? extends Hypervisor> list()
The Hypervisors for this OpenStack deployment.NOTE: This is an extension and not all deployments support os-hypervisors
- Specified by:
listin interfaceHypervisorService- Returns:
- the available hypervisors in detail
-
statistics
public HypervisorStatistics statistics()
The Hypervisor Statistics for this OpenStack DeploymentNOTE: This is an extension and not all deployments support os-hypervisors
- Specified by:
statisticsin interfaceHypervisorService- Returns:
- the hypervisor statistics
-
get
public Hypervisor get(String hypervisorId)
Description:Get the specified Hypervisor by ID
Author:Wang Ting/王婷
- Specified by:
getin interfaceHypervisorService- Parameters:
hypervisorId- the UUID of the hypervisor- Returns:
- the hypervisor
-
-