# Touched Timestamp, Null-Safe Variant

{% hint style="warning" %}
**This is the manual for older MicroStream versions (Version < 5.0).**

**The new documentation (Version >= 5.0) is located at:**

[https://docs.microstream.one/](https://docs.microstream.one/manual)
{% endhint %}

### Null-safe Lazy Reference Access

For convenience MicroStream provides Null-safe static access methods for lazy references.

These are&#x20;

* `Lazy.get(Lazy)`\
  Gets the lazy referenced object, loads it if required.\
  \
  return value:\
  `null` if the lazy reference itself is `null` otherwise the referenced object<br>
* `Lazy.peek(Lazy)`\
  Get the lazy referenced object if it is loaded, no lazy loading is done. If the object has been unloaded before peek will return `null`.\
  \
  return value:\
  `null` if the lazy reference itself is `null` otherwise the current reference without on-demand loading<br>
* `Lazy.clear(Lazy)`\
  Clears the lazy reference if it is not `null`.

### Touched Timestamp

All lazy references track the time of their last access (creation or querying) as a timestamp in milliseconds. If an instance is deemed timed out by  a [LazyReferenzManager ](/2.1/data-store/loading-data/lazy-loading/clearing-lazy-references.md#automatically)its subject gets cleared.

The timestamp is currently not public accessible.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual.docs.microstream.one/2.1/data-store/loading-data/lazy-loading/touched-timestamp-null-safe-variant.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
