ObjectMapRetainStrategy (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.access, interface: ObjectMapRetainStrategy

# Interface ObjectMapRetainStrategy

All Known Implementing Classes:
  `DefaultObjectMapRetainStrategy`

public interface ObjectMapRetainStrategy
A strategy for retaining objects in `ObjectStore`. The strategy can be weak, soft or hard references.

Since:
  3.1

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Map<Object, Persistent>`
  `createObjectMap()`

- ## Method Details

  - ### createObjectMap

    Map<Object, Persistent> createObjectMap()