[.NET programming language only]

Creating dynamic maps with .NET APIs

[Version 2.5 and later] You can create dynamic maps with .NET APIs after the data grid has been instantiated. You can dynamically instantiate maps that are based on a predefined set of map templates.

Before you begin

Decide which configuration options you want to use on your dynamic map. For more information, see Dynamic map configuration options.

Procedure

Call the GetGridMapPessimisticTx method.
IGridManager gm = GridManagerFactory.GetGridManager( );
ICatalogDomainInfo cdi = 
	gm.CatalogDomainManager.CreateCatalogDomainInfo( catalogServerHostsList );
IClientConnectionContext ccc = gm.Connect( cdi, "SimpleClient.properties" );
grid = gm.GetGrid( ccc, "Grid" );
IGridMapPessimisticTx<Object, Object> map = 
	grid.GetGridMapPessimisticTx<Object, Object>( "SessionState.LAT.P" );
The SessionState.LAT.P map is a map that uses last access time eviction, pessimistic locking and no near-cache invalidation.