public interface SessionProvider
Sessions for use by applications requiring Coherence-based
resources, including NamedCaches, often for specific
ClassLoaders, for deployed modules.Session| Modifier and Type | Interface | Description |
|---|---|---|
static interface |
SessionProvider.Option |
An immutable option for creating and configuring
SessionProviders. |
| Modifier and Type | Method | Description |
|---|---|---|
Session |
createSession(Session.Option... options) |
Create a
Session using the specified SessionProvider.Options. |
static SessionProvider |
get(SessionProvider.Option... options) |
Acquire the
SessionProvider based on the current calling context
and the provided SessionProvider.Options. |
Session createSession(Session.Option... options)
Session using the specified SessionProvider.Options.options - the Session.Options for creating the SessionSessionIllegalArgumentException - when a Session can't be creating using the
specified SessionProvider.Option.static SessionProvider get(SessionProvider.Option... options)
SessionProvider based on the current calling context
and the provided SessionProvider.Options.options - the SessionProvider.Options for acquiring the SessionProviderSessionProviderIllegalArgumentException - when a SessionProvider can't be acquired using the
specified SessionProvider.OptionsIllegalStateException - when a SessionProvider can't be auto-detected