mirror of https://github.com/OpenVidu/openvidu.git
Add putSessionPropertiesIfAbsent to SessionStorage
parent
8a440528ac
commit
5be0d7c660
|
@ -63,6 +63,10 @@ public class SessionStorage {
|
|||
|
||||
public SessionProperties getSessionProperties(String sessionId) { return this.sessionProperties.get(sessionId); }
|
||||
|
||||
public SessionProperties putSessionPropertiesIfAbsent(String sessionId, SessionProperties sessionProperties) {
|
||||
return this.sessionProperties.putIfAbsent(sessionId, sessionProperties);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns all the participants inside a session.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue