WebSphere eXtreme Scale Programming Guide > Access data in WebSphere eXtreme Scale



ObjectMap API


ObjectMaps are like Java™ Maps that allow data to be stored as key-value pairs. ObjectMaps provide a simple and intuitive approach for the application to store data. An ObjectMap is ideal for caching objects that have no relationships involved. If object relationships are involved, then you should use the EntityManager API.

For more information about the EntityManager API, see EntityManager API introduction.

Applications typically obtain a WebSphere eXtreme Scale reference and then obtain a Session object from the reference for each thread. Sessions cannot be shared between threads. The getMap method of Session returns a reference to an ObjectMap to use for this thread.



Parent topic

Access data in WebSphere eXtreme Scale


+

Search Tips   |   Advanced Search