Kanzi  3.9.6
Java API
MemoryStrategy Enum Reference

Resource manager memory strategy. More...

Inheritance diagram for MemoryStrategy:
[legend]

Public Member Functions

 MemoryStrategy (int mValue)
 
 MemoryStrategy (MemoryStrategy enum_)
 
int getValue ()
 Returns the integer value of the enumeration constant. More...
 
final int swigValue ()
 

Static Public Member Functions

static MemoryStrategy swigToEnum (int swigValue)
 
static MemoryStrategy toEnum (int value)
 Converts an integer value to the matching enumeration constant. More...
 

Public Attributes

 KeepInMemory
 When a resource is no longer referenced, the resource manager keeps the resource in memory
until you call purge().
 

Detailed Description

Resource manager memory strategy.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ toEnum()

static MemoryStrategy toEnum ( int  value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.