Program guide > Access data with client applications
Interacting with an ObjectGrid using ObjectGridManager
The ObjectGridManagerFactory class and the ObjectGridManager interface provide a mechanism to create, access, and cache ObjectGrid instances. The ObjectGridManagerFactory class is a static helper class to access the ObjectGridManager interface, a singleton. The ObjectGridManager interface includes several convenience methods to create instances of an ObjectGrid object. The ObjectGridManager interface also facilitates creation and caching of ObjectGrid instances that can be accessed by several users.
Program model
Before using eXtreme Scale's functionality as an in-memory data grid, create and interact with ObjectGrid instances with methods such as the following.
- createObjectGrid methods
- getObjectGrid methods
- removeObjectGrid methods
- controlling the life cycle of an ObjectGrid
- createObjectGrid methods
This topic describes the seven createObjectGrid methods in the ObjectGridManager interface. Each of these methods creates a local instance of an ObjectGrid.
- getObjectGrid methods
Use the ObjectGridManager.getObjectGrid methods to retrieve cached instances.
- removeObjectGrid methods
Use two different removeObjectGrid methods to remove ObjectGrid instances from the cache.
- Controlling the life cycle of an ObjectGrid
Use the ObjectGridManager interface to control the life cycle of an ObjectGrid instance using either a startup bean or a servlet.
- Access the ObjectGrid shard
WebSphere eXtreme Scale achieves high processing rates by moving the logic to where the data is and returning only results back to the client.
Parent topic:
Access data with client applications
Related concepts
Data access with indexes (Index API)
Access data in WebSphere eXtreme Scale
Use Sessions to access data in the grid
Cache objects with no relationships involved (ObjectMap API)
Cache objects and their relationships (EntityManager API)
Retrive entities and objects (Query API)
Configure clients with WebSphere eXtreme Scale
Related tasks
Related reference
Connect to a distributed ObjectGrid