# 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 ](https://manual.docs.microstream.one/2.2/data-store/loading-data/clearing-lazy-references#automatically)its subject gets cleared.

The timestamp is currently not public accessible.
