to top
Datalogic APIs
public final enum

VirtualRAMSwapPolicy

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.datalogic.device.configuration.VirtualRAMSwapPolicy

Class Overview

Enum VirtualRAMSwapPolicy defines the swap size for Virtual RAM feature through the property VIRTUAL_RAM_SWAP_POLICY.

Summary

Enum Values
VirtualRAMSwapPolicy  SWAP_1GB  1GB of flash memory are reserved to swapping memory for Virtual RAM  
VirtualRAMSwapPolicy  SWAP_2GB  2GB of flash memory are reserved to swapping memory for Virtual RAM  
VirtualRAMSwapPolicy  SWAP_512MB  512MB of flash memory are reserved to swapping memory for Virtual RAM  
VirtualRAMSwapPolicy  SWAP_DISABLED  Virtual RAM swapping is disabled. 
Public Methods
static VirtualRAMSwapPolicy fromInt(int n)
Retrieves the corresponding VirtualRAMSwapPolicy value, from a valid integer.
int toInt()
Converts the VirtualRAMSwapPolicy enum to its integer representing value.
static VirtualRAMSwapPolicy valueOf(String name)
final static VirtualRAMSwapPolicy[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final VirtualRAMSwapPolicy SWAP_1GB

Added in revision 40

1GB of flash memory are reserved to swapping memory for Virtual RAM

public static final VirtualRAMSwapPolicy SWAP_2GB

Added in revision 40

2GB of flash memory are reserved to swapping memory for Virtual RAM

public static final VirtualRAMSwapPolicy SWAP_512MB

Added in revision 40

512MB of flash memory are reserved to swapping memory for Virtual RAM

public static final VirtualRAMSwapPolicy SWAP_DISABLED

Added in revision 40

Virtual RAM swapping is disabled.

Public Methods

public static VirtualRAMSwapPolicy fromInt (int n)

Added in revision 40

Retrieves the corresponding VirtualRAMSwapPolicy value, from a valid integer.

Parameters
n int
Returns
  • Type the corresponding one.

public int toInt ()

Added in revision 40

Converts the VirtualRAMSwapPolicy enum to its integer representing value.

Returns
  • int

public static VirtualRAMSwapPolicy valueOf (String name)

Added in revision 40

public static final VirtualRAMSwapPolicy[] values ()

Added in revision 40