public interface DistributedSession extends Session
Session which adds distributed properties.| Modifier and Type | Method and Description | 
|---|---|
| java.util.Map<java.lang.String,java.lang.Object> | getDistributedProperties()Get distributed properties. | 
addMessageHandler, addMessageHandler, addMessageHandler, close, close, getAsyncRemote, getBasicRemote, getContainer, getId, getMaxBinaryMessageBufferSize, getMaxIdleTimeout, getMaxTextMessageBufferSize, getMessageHandlers, getNegotiatedExtensions, getNegotiatedSubprotocol, getOpenSessions, getPathParameters, getProtocolVersion, getQueryString, getRequestParameterMap, getRequestURI, getUserPrincipal, getUserProperties, isOpen, isSecure, removeMessageHandler, setMaxBinaryMessageBufferSize, setMaxIdleTimeout, setMaxTextMessageBufferSizejava.util.Map<java.lang.String,java.lang.Object> getDistributedProperties()
 Values put into this map must be Serializable or serializable by other, implementation-dependent
 alternative.
 
 Content of this map is synchronized among all cluster nodes, so putting an entry on any of the nodes will be
 visible on all other nodes which have reference to current session (in form of TyrusSession or RemoteSession).
 
 Please note that when not running in the distributed environment, this map behaves similarly to Session.getUserProperties(), so no serialization or deserialization is performed when values are read from or stored to
 the returned map.
TyrusSession, 
RemoteSessionCopyright © 2012–2020 Oracle Corporation. All rights reserved.