public class CoherenceSession extends Object implements Session
Session allowing applications to use the new operator to create a Session via the default SessionProvider.Session, SessionProviderSession.Option| Modifier and Type | Field and Description | 
|---|---|
protected Session | 
m_session
The underlying  
Session to which this implementation will delegate requests. | 
| Constructor and Description | 
|---|
CoherenceSession(Session.Option... options)
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()  | 
<K,V> NamedCache<K,V> | 
getCache(String sName, NamedCache.Option... options)
 | 
public CoherenceSession(Session.Option... options)
options - the Options for the CoherenceSessionpublic <K,V> NamedCache<K,V> getCache(String sName, NamedCache.Option... options)
SessiongetCache in interface SessionK - the type of keys for the NamedCacheV - the type of values for the NamedCachesName - the name of the NamedCacheoptions - the NamedCache.OptionsNamedCache
public void close()
           throws Exception
close in interface AutoCloseableException