> For the complete documentation index, see [llms.txt](https://trillo.gitbook.io/trillo-workbench-java-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trillo.gitbook.io/trillo-workbench-java-sdk/memory-cache/retrieve-apis.md).

# Retrieve APIs

## getMemoryCache

Get memory cache

```
CacheApi.getMemoryCache()
```

Parameters

```
no parameters
```

Returns

```
InMemoryCache
```

## get

Get cache by key

```
CacheApi.get(String cacheName, String key)
```

Parameters

```
cacheName
key
```

Returns

```
Object
```

## getNoLock

Get No Lock

```
Cache.getNoLock(String cacheName, String key)
```

Parameters

```
cacheName
key
```

Returns

```
Object
```
