Static
Readonly
DEFAULT_The default target address to connect to Coherence gRPC server.
Static
Readonly
DEFAULT_The default serialization format: 'json'
Static
Readonly
DEFAULT_The default gRPC
stream ready timeout.
Static
Readonly
DEFAULT_The default request timeout.
Static
Readonly
DEFAULT_The default scope.
Return the number of active caches created by this session.
the number of active caches created by this session
Return a set
of cache names for those caches that are currently active.
a set
of cache names for those caches that are currently active
Returns an array of cache names for those caches that are currently active.
an array of cache names for those caches that are currently active
This is an alias for Session.options.address
.
the IPv4 host address and port in the format of [host]:[port]
Return the underlying gRPC
Channel used by this session.
the underlying gRPC
Channel used by this session
Return the gRPC ChannelCredentials used by this session.
the gRPC ChannelCredentials used by this session
Internal
Return the client options used to configure this session.
the client options used to configure this session
Returns true
if the session is closed.
true
if the session is closed
Return the scope name used to link this Session
with to the corresponding
ConfigurableCacheFactory
on the server.
return the scope name used to link this Session
with to the corresponding
ConfigurableCacheFactory
on the server.
This is a shortcut to invoke the options callOptions function.
the gRPC CallOptions that will be applied to each request made using this session
Close the Session.
Returns a NamedCache for the specified cache name.
the cache name
the serialization format for keys and values stored within the cache
Session represents a logical connection to an endpoint. It also acts as a factory for creating caches.
This class also extends EventEmitter and emits the following events:
: when the Session detects the underlying
gRPC` channel has connected.: when the Session detects the underlying
gRPC` channel has disconnected: when the Session detects the underlying
gRPC` channel has re-connected