public class HostingNodeManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CPU_CPU_MHZ |
static String |
CPU_MODEL_B |
static String |
CPU_MODEL_NAME |
static String |
CPU_MODEL_NUMBER |
static String |
CPU_MODEL_T |
static String |
CPU_PROCESSOR |
static String |
CPU_VENDOR_ID |
static String |
JVM_MAX_MEMORY |
static String |
MEMORY_TYPE |
static String |
MEMORY_TYPE_JVM |
static String |
MEMORY_TYPE_RAM |
static String |
MESSAGE |
| Constructor and Description |
|---|
HostingNodeManager(org.gcube.smartgears.context.container.ContainerContext containerContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToContext(UUID contextUUID) |
void |
addToCurrentContext() |
org.gcube.resourcemanagement.model.reference.entities.resources.HostingNode |
createHostingNode() |
Map<UUID,String> |
getContextsUUID() |
static List<org.gcube.resourcemanagement.model.reference.entities.facets.CPUFacet> |
getCPUFacets() |
org.gcube.resourcemanagement.model.reference.entities.resources.HostingNode |
getHostingNode() |
static org.gcube.resourcemanagement.model.reference.entities.facets.SoftwareFacet |
getOperativeSystem() |
String |
getState() |
void |
removeFromContext(UUID contextUUID) |
void |
removeFromCurrentContext() |
org.gcube.resourcemanagement.model.reference.entities.resources.HostingNode |
updateFacets() |
public static final String MEMORY_TYPE
public static final String MEMORY_TYPE_RAM
public static final String MEMORY_TYPE_JVM
public static final String JVM_MAX_MEMORY
public static final String MESSAGE
public static final String CPU_PROCESSOR
public static final String CPU_VENDOR_ID
public static final String CPU_MODEL_NAME
public static final String CPU_CPU_MHZ
public static final String CPU_MODEL_T
public static final String CPU_MODEL_B
public static final String CPU_MODEL_NUMBER
public HostingNodeManager(org.gcube.smartgears.context.container.ContainerContext containerContext)
public org.gcube.resourcemanagement.model.reference.entities.resources.HostingNode getHostingNode()
public void addToCurrentContext()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entities.resource.ResourceNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.entities.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic void addToContext(UUID contextUUID) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entities.resource.ResourceNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.entities.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic void removeFromCurrentContext()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entities.resource.ResourceNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.entities.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic void removeFromContext(UUID contextUUID) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entities.resource.ResourceNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.entities.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic org.gcube.resourcemanagement.model.reference.entities.resources.HostingNode updateFacets()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic static org.gcube.resourcemanagement.model.reference.entities.facets.SoftwareFacet getOperativeSystem()
public org.gcube.resourcemanagement.model.reference.entities.resources.HostingNode createHostingNode()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String getState()
public static List<org.gcube.resourcemanagement.model.reference.entities.facets.CPUFacet> getCPUFacets()
Copyright © 2022. All Rights Reserved.