Klasse Virtualized
java.lang.Object
de.bytestore.hostinger.entity.hosting.Virtualized
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetArch()getCores()getId()getName()getOs()getOwner()io.jmix.core.FileRefgetSwap()getType()voidkill()Stops and terminates the current virtualized object by calling the kill method of the VirtualizationHandler class.voidpause()Pauses the virtualized object by calling the pause method of the VirtualizationHandler class.voidvoidreset()Resets the virtualized object to its initial state.voidresume()Resumes the virtualized object by calling the resume method of the VirtualizationHandler class.voidvoidsetAutostart(Boolean autostart) voidsetBwlimit(Integer bwlimit) voidvoidsetCpulimit(Integer cpulimit) voidsetCreatedBy(User createdBy) voidsetCreatedDate(OffsetDateTime createdDate) voidvoidvoidsetLastModifiedBy(String lastModifiedBy) voidsetLastModifiedDate(OffsetDateTime lastModifiedDate) voidsetMachine(Machines machine) voidvoidsetMemoryUnit(MemoryUnit memoryUnit) voidvoidsetNameserver(String nameserver) voidsetNetwork(List<NetworkConfig> network) voidvoidvoidsetPassword(String password) voidsetPublicKeys(String publicKeys) voidsetSearchdomain(String searchdomain) voidsetSshKey(io.jmix.core.FileRef publicKey) voidsetStorage(String storage) voidvoidsetSwapUnit(SwapUnit swapUnit) voidsetTimezone(String timezone) voidsetType(VirtualizedType type) voidstart()Starts the virtualization process.stats()Retrieves the statistics of the virtualized object.status()Retrieves the current status of the virtualized object.voidstop()Stops the virtualized object by calling the stop method of the VirtualizationHandler class.vnc()Connects to a VNC session using the specified configuration.
-
Konstruktordetails
-
Virtualized
public Virtualized()
-
-
Methodendetails
-
getPublicKeys
-
setPublicKeys
-
setSshKey
public void setSshKey(io.jmix.core.FileRef publicKey) -
getSshKey
public io.jmix.core.FileRef getSshKey() -
getName
-
setName
-
getNetwork
-
setNetwork
-
getPassword
-
setPassword
-
getCpulimit
-
setCpulimit
-
getNameserver
-
setNameserver
-
getSearchdomain
-
setSearchdomain
-
getTimezone
-
setTimezone
-
getBwlimit
-
setBwlimit
-
getStorage
-
setStorage
-
getOwner
-
setOwner
-
getArch
-
setArch
-
getCustom
-
setCustom
-
getOs
-
setOs
-
getType
-
setType
-
getMachine
-
setMachine
-
getCreatedBy
-
setCreatedBy
-
setSwapUnit
-
getSwapUnit
-
setMemoryUnit
-
getMemoryUnit
-
getLastModifiedDate
-
setLastModifiedDate
-
getLastModifiedBy
-
setLastModifiedBy
-
getCreatedDate
-
setCreatedDate
-
getId
-
setId
-
getCores
-
setCores
-
getSwap
-
setSwap
-
getMemory
-
setMemory
-
getAutostart
-
setAutostart
-
postConstruct
@PostConstruct public void postConstruct() -
vnc
Connects to a VNC session using the specified configuration.- Gibt zurück:
- The VNCSession object representing the connected session.
-
reset
public void reset()Resets the virtualized object to its initial state. This method calls the 'reset' method of the VirtualizationHandler class, passing the current object as a parameter. -
stop
public void stop()Stops the virtualized object by calling the stop method of the VirtualizationHandler class. -
status
Retrieves the current status of the virtualized object.- Gibt zurück:
- The ProcessStatus enum value representing the current status.
-
start
public void start()Starts the virtualization process. This method invokes the start method of the VirtualizationHandler class. -
resume
public void resume()Resumes the virtualized object by calling the resume method of the VirtualizationHandler class. This method should be called to resume a paused virtualized object. -
kill
public void kill()Stops and terminates the current virtualized object by calling the kill method of the VirtualizationHandler class. This method should be called to forcefully stop and terminate a running virtualized object. After calling this method, the virtualized object can no longer be restarted or resumed. -
pause
public void pause()Pauses the virtualized object by calling the pause method of the VirtualizationHandler class. This method should be called to pause a running virtualized object. -
stats
Retrieves the statistics of the virtualized object.- Gibt zurück:
- The ProcessStats object representing the statistics of the virtualized object.
-