
**Inheritance:** java.lang.Object, com.aspose.ms.System.Enum

Specifies the cache type to use.

## Enum Values

| Field | Description |
| --- | --- |
| [Auto](#Auto) | Specifies auto cache type. The auto cache scheme will try to cache in-memory first then on disk. |
| [CacheOnDiskOnly](#CacheOnDiskOnly) | The disk cache only. |
| [CacheInMemoryOnly](#CacheInMemoryOnly) | The in-memory cache only. |

### Auto {#Auto}
```java
public static final int Auto
```

Specifies auto cache type. The auto cache scheme will try to cache in-memory first then on disk.

**Returns:** int

### CacheOnDiskOnly {#CacheOnDiskOnly}
```java
public static final int CacheOnDiskOnly
```

The disk cache only.

**Returns:** int

### CacheInMemoryOnly {#CacheInMemoryOnly}
```java
public static final int CacheInMemoryOnly
```

The in-memory cache only.

**Returns:** int

